UI for enabling existing webdav remotes

This commit is contained in:
Joey Hess 2012-11-17 15:58:27 -04:00
parent 7addb89dc1
commit 453587d392
6 changed files with 67 additions and 4 deletions

View file

@ -0,0 +1,22 @@
<div .span9 .hero-unit>
<h2>
Enabling #{description}
<p>
This is a WebDAV repository located at #
<a href="#{url}">
#{url}
<p>
<form .form-horizontal enctype=#{enctype}>
<fieldset>
^{form}
^{authtoken}
<div .form-actions>
<button .btn .btn-primary type=submit onclick="$('#workingmodal').modal('show');">
Enable repository
<div .modal .fade #workingmodal>
<div .modal-header>
<h3>
Enabling repository ...
<div .modal-body>
<p>
Enabling this WebDAV repository. This could take a minute.