summaryrefslogtreecommitdiffstats
path: root/modules-available/backup
diff options
context:
space:
mode:
authorSimon Rettberg2017-12-01 14:40:16 +0100
committerSimon Rettberg2017-12-01 14:40:16 +0100
commit3c34a6aa438725f7e804118a9595ba562d2ca376 (patch)
treecc0da57968be2793bfcf9ef3fed670a327e55965 /modules-available/backup
parent[style] Fix checkbox/radio in input-group-addon, add missing label<->input refs (diff)
downloadslx-admin-3c34a6aa438725f7e804118a9595ba562d2ca376.tar.gz
slx-admin-3c34a6aa438725f7e804118a9595ba562d2ca376.tar.xz
slx-admin-3c34a6aa438725f7e804118a9595ba562d2ca376.zip
[backup] Add label refs, fix layout of last download time hint
Diffstat (limited to 'modules-available/backup')
-rw-r--r--modules-available/backup/templates/_page.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules-available/backup/templates/_page.html b/modules-available/backup/templates/_page.html
index 7276bf5c..88815897 100644
--- a/modules-available/backup/templates/_page.html
+++ b/modules-available/backup/templates/_page.html
@@ -7,12 +7,12 @@
<div class="panel-heading">{{lang_backup}}</div>
<div class="panel-body">
<p>{{lang_backupDescription}}</p>
- <button class="btn btn-primary pull-right" type="submit"><span class="glyphicon glyphicon-save"></span> {{lang_download}}</button>
- <div class="text-right">
+ <p class="text-right">
{{lang_lastBackup}}:
{{^last_backup}}{{lang_unknown}}{{/last_backup}}
{{last_backup}}
- </div>
+ </p>
+ <button class="btn btn-primary pull-right" type="submit"><span class="glyphicon glyphicon-save"></span> {{lang_download}}</button>
</div>
</div>
</form>
@@ -34,15 +34,15 @@
</div>
<div>
<div class="checkbox">
- <input type="checkbox" name="restore_openslx" checked="checked">
- <label><b>{{lang_restoreSystemConfig}}</b></label>
+ <input type="checkbox" name="restore_openslx" checked="checked" id="id-sysonfig">
+ <label for="id-sysonfig"><b>{{lang_restoreSystemConfig}}</b></label>
</div>
<p><i>{{lang_systemExplanation}}</i></p>
</div>
<div>
<div class="checkbox">
- <input type="checkbox" name="restore_dozmod" checked="checked">
- <label><b>{{lang_restoreDozmodConfig}}</b></label>
+ <input type="checkbox" name="restore_dozmod" checked="checked" id="id-dozmod">
+ <label for="id-dozmod"><b>{{lang_restoreDozmodConfig}}</b></label>
</div>
<p><i>{{lang_dozmodExplanation}}</i></p>
</div>