From 2f23a77244d02468a4d59c1581c5a7b4fb526a3a Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 27 Oct 2014 16:15:02 +0100 Subject: No reason to put a container into a container everywhere --- index.php | 2 - templates/backup/_page.html | 29 +++++ templates/backup/restore.html | 27 +++++ templates/baseconfig/_page.html | 70 ++++++------ templates/dialog-generic.html | 24 ++--- templates/eventlog/_page.html | 50 +++++---- templates/footer.html | 2 +- templates/main-menu.html | 3 +- templates/page-adduser.html | 54 +++++----- templates/page-login.html | 24 ++--- templates/page-minilinux.html | 2 +- templates/page-news.html | 106 +++++++++--------- templates/page-remote-tgz-list.html | 16 --- templates/page-syslog.html | 80 +++++++------- templates/page-vmstore.html | 114 ++++++++++---------- templates/pagenav.html | 1 + templates/serversetup/ipaddress.html | 64 ++++++----- templates/serversetup/ipxe.html | 66 ++++++------ templates/sysconfig/_page.html | 161 ++++++++++++++-------------- templates/sysconfig/ad-checkconnection.html | 2 + templates/sysconfig/ad-start.html | 19 ++-- templates/sysconfig/cfg-start.html | 2 +- templates/sysconfig/config-module-list.html | 17 +++ templates/systemstatus/_page.html | 113 ++++++++++--------- templates/translation/_page.html | 26 +++-- templates/translation/template-list.html | 49 +++++---- templates/vmstore/mount.html | 43 ++++---- 27 files changed, 602 insertions(+), 564 deletions(-) create mode 100644 templates/backup/_page.html create mode 100644 templates/backup/restore.html delete mode 100644 templates/page-remote-tgz-list.html create mode 100644 templates/sysconfig/config-module-list.html diff --git a/index.php b/index.php index 82879041..f9d9e9fc 100644 --- a/index.php +++ b/index.php @@ -129,9 +129,7 @@ Message::renderList(); Page::render(); if (defined('CONFIG_DEBUG') && CONFIG_DEBUG) { - Render::openTag('div', array('class' => 'container')); Message::addWarning('debug-mode'); - Render::closeTag('div'); } if (defined('CONFIG_FOOTER')) { diff --git a/templates/backup/_page.html b/templates/backup/_page.html new file mode 100644 index 00000000..252ce18f --- /dev/null +++ b/templates/backup/_page.html @@ -0,0 +1,29 @@ +

{{lang_backupRestore}}

+ +
+ + +
+
{{lang_backup}}
+
+

{{lang_backupDescription}}

+ +
+
+
+ +
+ + +
+
{{lang_restore}}
+
+

{{lang_restoreDescription}}

+
+ {{lang_file}} + +
+ +
+
+
\ No newline at end of file diff --git a/templates/backup/restore.html b/templates/backup/restore.html new file mode 100644 index 00000000..da5a9bce --- /dev/null +++ b/templates/backup/restore.html @@ -0,0 +1,27 @@ +
+
{{lang_backup}}
+
+
+
{{lang_stopping}} syncdaemon
+
{{lang_stopping}} dmsd
+
{{lang_stopping}} ldadp
+
{{lang_stopping}} vmstore
+
{{lang_restoreConfig}}
+
{{lang_reboot}}
+
+ +
+
+ + diff --git a/templates/baseconfig/_page.html b/templates/baseconfig/_page.html index 4829d124..f72a25f4 100644 --- a/templates/baseconfig/_page.html +++ b/templates/baseconfig/_page.html @@ -1,41 +1,39 @@ -
-

{{lang_basicConfiguration}}

-
- {{#categories}} -
-
{{category_name}}
-
- {{#settings}} -
-
-
- {{setting}} -
{{defaultvalue}}
-
-
- {{{item}}} -
- +

{{lang_basicConfiguration}}

+ + {{#categories}} +
+
{{category_name}}
+
+ {{#settings}} +
+
+
+ {{setting}} +
{{defaultvalue}}
+
+
+ {{{item}}} +
+
- + {{/settings}}
- {{/categories}} - - - - Download - -
+
+ {{/categories}} + + + + Download + diff --git a/templates/dialog-generic.html b/templates/dialog-generic.html index e2325ee9..5face8ce 100644 --- a/templates/dialog-generic.html +++ b/templates/dialog-generic.html @@ -1,15 +1,13 @@ -
-