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,27 +8,28 @@
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>
$if (null removabledrives) <div .col-sm-6 .col-sm-offset-2 .alert .alert-danger .alert-block>
<h4 .alert-heading> $if (null removabledrives)
No removable drives found <h4 .alert-heading>
Please make sure you have a removable drive plugged in and mounted. No removable drives found
$else Please make sure you have a removable drive plugged in and mounted.
<h4 .alert-heading> $else
No usable removable drives found <h4 .alert-heading>
Seems you cannot write to any of the removable drives that are # No usable removable drives found
currently mounted. Try plugging in a removable drive that you can # Seems you cannot write to any of the removable drives that are #
write to, or correcting the write permissions. currently mounted. Try plugging in a removable drive that you can #
<p> write to, or correcting the write permissions.
<a .btn .btn-primary href="@{AddDriveR}"> <p>
Rescan for removable drives <a .btn .btn-primary href="@{AddDriveR}">
Rescan for removable drives
$else $else
<form method="post" enctype=#{enctype} .form-horizontal> <form method="post" enctype=#{enctype} .form-horizontal>
<fieldset> <fieldset>
^{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

@ -1,27 +1,27 @@
<div .col-sm-9> <div .col-sm-9>
<div .jumbotron> <div .jumbotron>
<h2> <h2>
Adding an Amazon S3 repository Adding an Amazon S3 repository
<p> <p>
<a href="http://aws.amazon.com/s3/">Amazon S3</a> is a cloud storage # <a href="http://aws.amazon.com/s3/">Amazon S3</a> is a cloud storage #
provider. If you need a professional level of storage for your data, # provider. If you need a professional level of storage for your data, #
this is a good choice. this is a good choice.
<p> <p>
<span .glyphicon .glyphicon-warning-sign> <span .glyphicon .glyphicon-warning-sign>
\ You will be charged by Amazon for data # \ You will be charged by Amazon for data #
uploaded to S3, as well as data downloaded from S3, and a monthly fee # uploaded to S3, as well as data downloaded from S3, and a monthly fee #
for data storage. # for data storage. #
<a href="http://aws.amazon.com/s3/pricing/"> <a href="http://aws.amazon.com/s3/pricing/">
Pricing details, including one year Free Usage Tier promotion Pricing details, including one year Free Usage Tier promotion
<p> <p>
<form method="post" .form-horizontal enctype=#{enctype}> <form method="post" .form-horizontal enctype=#{enctype}>
<fieldset> <fieldset>
^{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>
<div .modal-dialog> <div .modal-dialog>
<div .modal-content> <div .modal-content>

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,11 +26,11 @@
^{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}">
Stop using this account Stop using this account
<div .modal .fade #workingmodal> <div .modal .fade #workingmodal>
<div .modal-dialog> <div .modal-dialog>
<div .modal-content> <div .modal-content>