fix a few webapp layout issues

This commit is contained in:
Sören Brunk 2014-04-27 17:58:05 +02:00
parent 84eaf8b447
commit 265a95bc05
16 changed files with 54 additions and 53 deletions

View file

@ -14,7 +14,7 @@
^{form}
^{webAppFormAuthToken}
<div .form-group>
<div .col-sm-offset-2>
<div .col-sm-10 .col-sm-offset-2>
<button .btn .btn-primary type=submit onclick="$('#workingmodal').modal('show');">
Add repository
<div .modal .fade #workingmodal>

View file

@ -8,7 +8,8 @@
content will be synced with the content of this repository.
<p>
$if (null writabledrives)
<div .col-sm-6 .alert .alert-danger .alert-block>
<div .row>
<div .col-sm-6 .col-sm-offset-2 .alert .alert-danger .alert-block>
$if (null removabledrives)
<h4 .alert-heading>
No removable drives found
@ -28,7 +29,7 @@
^{form}
^{webAppFormAuthToken}
<div .form-group>
<div .col-sm-offset-2>
<div .col-sm-10 .col-sm-offset-2>
<button .btn .btn-primary type=submit>Use this drive</button> #
<a .btn .btn-default href="@{AddDriveR}">
Rescan for removable drives

View file

@ -24,7 +24,7 @@
^{form}
^{webAppFormAuthToken}
<div .form-group>
<div .col-sm-offset-2>
<div .col-sm-10 .col-sm-offset-2>
<button .btn .btn-primary type=submit onclick="$('#workingmodal').modal('show');">
Add Glacier repository
<div .modal .fade #workingmodal>

View file

@ -22,7 +22,7 @@
^{form}
^{webAppFormAuthToken}
<div .form-group>
<div .col-sm-offset-2>
<div .col-sm-10 .col-sm-offset-2>
<button .btn .btn-primary type=submit onclick="$('#workingmodal').modal('show');">
Add Internet Archive item
<div .modal .fade #workingmodal>

View file

@ -19,7 +19,7 @@
^{form}
^{webAppFormAuthToken}
<div .form-group>
<div .col-sm-offset-2>
<div .col-sm-10 .col-sm-offset-2>
<button .btn .btn-primary type=submit onclick="$('#workingmodal').modal('show');">
Add S3 repository
<div .modal .fade #workingmodal>

View file

@ -22,7 +22,7 @@
^{form}
^{webAppFormAuthToken}
<div .form-group>
<div .col-sm-offset-2>
<div .col-sm-10 .col-sm-offset-2>
<button .btn .btn-primary type=submit>
Save Changes #
<a .btn .btn-default href="@{DashboardR}">

View file

@ -20,7 +20,7 @@
^{form}
^{webAppFormAuthToken}
<div .form-group>
<div .col-sm-offset-2>
<div .col-sm-10 .col-sm-offset-2>
<button .btn .btn-primary type=submit onclick="$('#workingmodal').modal('show');">
Enable Amazon repository
<div .modal .fade #workingmodal>

View file

@ -12,7 +12,7 @@
^{form}
^{webAppFormAuthToken}
<div .form-group>
<div .col-sm-offset-2>
<div .col-sm-10 .col-sm-offset-2>
<button .btn .btn-primary type=submit onclick="$('#workingmodal').modal('show');">
Enable Internet Archive repository
<div .modal .fade #workingmodal>

View file

@ -12,7 +12,7 @@
^{form}
^{webAppFormAuthToken}
<div .form-group>
<div .col-sm-offset-2>
<div .col-sm-10 .col-sm-offset-2>
<button .btn .btn-primary type=submit onclick="$('#workingmodal').modal('show');">
Enable repository
<div .modal .fade #workingmodal>

View file

@ -2,6 +2,6 @@
<form method="post" .form-horizontal action=@{ConfigFsckPreferencesR} enctype=#{enctype}>
^{form}
<div .form-group>
<div .col-sm-offset-2>
<div .col-sm-10 .col-sm-offset-2>
<button .btn .btn-primary type=submit>
Save

View file

@ -33,7 +33,7 @@
^{form}
^{webAppFormAuthToken}
<div .form-group>
<div .col-sm-offset-2>
<div .col-sm-10 .col-sm-offset-2>
<button .btn .btn-primary type=submit>
$if start
Start pairing

View file

@ -8,7 +8,7 @@
^{form}
^{webAppFormAuthToken}
<div .form-group>
<div .col-sm-offset-2>
<div .col-sm-10 .col-sm-offset-2>
<button .btn .btn-primary type=submit>
Save Preferences
<a .btn .btn-default href="@{ConfigurationR}">

View file

@ -29,7 +29,7 @@
^{form}
^{webAppFormAuthToken}
<div .form-group>
<div .col-sm-offset-2>
<div .col-sm-10 .col-sm-offset-2>
<button .btn .btn-primary type=submit onclick="$('#setupmodal').modal('show');">
Use this rsync.net repository
<div .modal .fade #setupmodal>

View file

@ -20,7 +20,7 @@
^{form}
^{webAppFormAuthToken}
<div .form-group>
<div .col-sm-offset-2>
<div .col-sm-10 .col-sm-offset-2>
<button .btn .btn-primary type=submit onclick="$('#testmodal').modal('show');">
Check this server
^{sshTestModal}

View file

@ -10,7 +10,7 @@
<form method="post" .form-horizontal enctype=#{enctype}>
<fieldset>
<div .form-group>
<div .col-sm-offset-2>
<div .col-sm-10 .col-sm-offset-2>
<button .btn .btn-primary type=submit onclick="$('#testmodal').modal('show');">
Check this server
$case status

View file

@ -26,7 +26,7 @@
^{form}
^{webAppFormAuthToken}
<div .form-group>
<div .col-sm-offset-2>
<div .col-sm-10 .col-sm-offset-2>
<button .btn .btn-primary type=submit onclick="$('#workingmodal').modal('show');">
Use this account
<a .btn .btn-default href="@{DisconnectXMPPR}">