git-annex/templates/configurators/ssh/enable.hamlet
Joey Hess 74906ed13f UI for enabling special remotes
Now other repositories can configure special remotes, and when their
configuration has propigated out, they'll appear in the webapp's list of
repositories, with a link to enable them.

Added support for enabling rsync special remotes, and directory special
remotes that are on removable drives. However, encrypted directory special
remotes are not supported yet. The removable drive configuator doesn't
support them yet anyway.
2012-09-13 16:50:02 -04:00

30 lines
905 B
Text

<div .span9 .hero-unit>
<h2>
Enabling #{description}
<p>
Another repository uses this server, but the server is not #
yet enabled for use here. The first step to enable it is to check if it's #
usable here.
<p>
<p>
<form .form-horizontal enctype=#{enctype}>
<fieldset>
<div .form-actions>
<button .btn .btn-primary type=submit onclick="$('#testmodal').modal('show');">
Check this server
$case status
$of UnusableServer msg
<div .alert .alert-error>
<i .icon-warning-sign></i> #{msg}
$of _
^{form}
^{authtoken}
<div .modal .fade #testmodal>
<div .modal-header>
<h3>
Testing server ...
<div .modal-body>
<p>
Checking ssh connection to the server. This could take a minute.
<p>
You may be prompted for your password to log into the server.