git-annex/templates/configurators/ssh/enable.hamlet

33 lines
1,009 B
Text
Raw Normal View History

<div .col-sm-9 .jumbotron>
<h2>
Enabling #{description}
<p>
To enable this repository, you first need to check that its ssh server #
is usable from here.
<p>
<p>
2013-03-16 22:48:23 +00:00
<form method="post" .form-horizontal enctype=#{enctype}>
<fieldset>
2014-04-18 00:07:09 +00:00
<div .form-group>
<div .col-sm-offset-2>
<button .btn .btn-primary type=submit onclick="$('#testmodal').modal('show');">
Check this server
$case status
$of UnusableServer msg
<div .alert .alert-danger>
2014-04-17 23:58:27 +00:00
<span .glyphicon .glyphicon-warning-sign></span> #{msg}
$of _
^{form}
2012-11-25 04:38:11 +00:00
^{webAppFormAuthToken}
<div .modal .fade #testmodal>
2014-04-20 22:44:28 +00:00
<div .modal-dialog>
<div .modal-content>
<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.