don't close tags that are closed by hamlet

This commit is contained in:
Sören Brunk 2014-04-21 13:05:52 +02:00
parent ce0ecbeefc
commit ccc8afb59d
36 changed files with 144 additions and 82 deletions

View file

@ -10,7 +10,8 @@
$case status
$of UnusableServer msg
<div .alert .alert-danger>
<span .glyphicon .glyphicon-warning-sign></span> #{msg}
<span .glyphicon .glyphicon-warning-sign>
\ #{msg}
$of _
<p>
<form method="post" .form-horizontal enctype=#{enctype}>

View file

@ -8,12 +8,14 @@
Do you want to merge this repository's contents into your repository?
<p>
<a .btn .btn-default onclick="$('#setupmodal').modal('show');" href="@{CombineSshR sshdata}">
<span .glyphicon .glyphicon-resize-small></span> Combine the repositories #
<span .glyphicon .glyphicon-resize-small>
\ Combine the repositories #
The combined repositories will sync and share their files.
<p>
<p>
<a .btn .btn-default href="@{AddSshR}">
<span .glyphicon .glyphicon-resize-full></span> Go back #
<span .glyphicon .glyphicon-resize-full>
\ Go back #
Use a different directory than <tt>#{sshDirectory sshdata}</tt> to #
avoid combining the repositories.
^{sshSetupModal sshdata}

View file

@ -5,8 +5,8 @@
<div .col-sm-9>
$if not (hasCapability sshdata GitAnnexShellCapable)
<p>
<span .glyphicon .glyphicon-warning-sign></span> #
The server #{sshHostName sshdata} can be used as is, but #
<span .glyphicon .glyphicon-warning-sign>
\ The server #{sshHostName sshdata} can be used as is, but #
installing #
$if not (hasCapability sshdata GitCapable)
git and git-annex #
@ -42,7 +42,8 @@
it good for sharing. And it's easy to set up and use.
<p>
<a .btn .btn-default href="@{MakeSshRsyncR sshdata}" onclick="$('#setupmodal').modal('show');">
<span .glyphicon .glyphicon-lock></span> Use shared encryption
<span .glyphicon .glyphicon-lock>
\ Use shared encryption
$if hasCapability sshdata GitCapable
<p style="text-align: center">
-or-
@ -58,11 +59,13 @@
$forall (keyid, name) <- secretkeys
<p>
<a .btn .btn-default href="@{MakeSshGCryptR sshdata (RepoKey keyid)}" onclick="$('#setupmodal').modal('show');" >
<span .glyphicon .glyphicon-lock></span> Encrypt repository #
<span .glyphicon .glyphicon-lock>
\ Encrypt repository #
to ^{gpgKeyDisplay keyid (Just name)}
<p>
<a .btn href="@{MakeSshGCryptR sshdata NoRepoKey}" onclick="$('#genkeymodal').modal('show');">
<span .glyphicon .glyphicon-plus-sign></span> Encrypt repository #
<span .glyphicon .glyphicon-plus-sign>
\ Encrypt repository #
with a new encryption key
^{sshTestModal}
^{sshSetupModal sshdata}

View file

@ -15,7 +15,8 @@
$case status
$of UnusableServer msg
<div .alert .alert-danger>
<span .glyphicon .glyphicon-warning-sign></span> #{msg}
<span .glyphicon .glyphicon-warning-sign>
\ #{msg}
$of _
^{form}
^{webAppFormAuthToken}

View file

@ -1,6 +1,7 @@
<div .col-sm-9 .jumbotron>
<h2>
<span .glyphicon .glyphicon-warning-sign></span> Failed to make repository
<span .glyphicon .glyphicon-warning-sign>
\ Failed to make repository
<p>
Something went wrong setting up the repository on the remote server.
<p>