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} ^{form}
^{webAppFormAuthToken} ^{webAppFormAuthToken}
<div .form-group> <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');"> <button .btn .btn-primary type=submit onclick="$('#workingmodal').modal('show');">
Add repository Add repository
<div .modal .fade #workingmodal> <div .modal .fade #workingmodal>

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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