git-annex/templates/configurators/ssh/enable.hamlet
2014-04-21 19:47:21 +02:00

33 lines
1,018 B
Text

<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>
<form method="post" .form-horizontal enctype=#{enctype}>
<fieldset>
<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>
<span .glyphicon .glyphicon-warning-sign>
\ #{msg}
$of _
^{form}
^{webAppFormAuthToken}
<div .modal .fade #testmodal>
<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.