From 10478594240d17f2bd73cda597439ade665a1e5c Mon Sep 17 00:00:00 2001 From: Virgil Grigoras Date: Sun, 9 Sep 2018 14:01:28 +0200 Subject: [PATCH] Place general information (db location, amount of books...) on top --- cps/templates/admin.html | 88 ++++++++++++++++++++-------------------- 1 file changed, 45 insertions(+), 43 deletions(-) diff --git a/cps/templates/admin.html b/cps/templates/admin.html index 2be9028e..3c5f4415 100644 --- a/cps/templates/admin.html +++ b/cps/templates/admin.html @@ -1,6 +1,47 @@ {% extends "layout.html" %} {% block body %} -
+
+
+
+

{{_('Overview')}}

+
+
+
{{_('Calibre DB dir')}}
+
{{config.config_calibre_dir}}
+
+
+
{{_('Log level')}}
+
{{config.get_Log_Level()}}
+
+
+
{{_('Port')}}
+
{{config.config_port}}
+
+
+
+
+
{{_('Books per page')}}
+
{{config.config_books_per_page}}
+
+
+
{{_('Uploading')}}
+
{% if config.config_uploading %}{% else %}{% endif %}
+
+
+
{{_('Anonymous browsing')}}
+
{% if config.config_anonbrowse %}{% else %}{% endif %}
+
+
+
{{_('Public registration')}}
+
{% if config.config_public_reg %}{% else %}{% endif %}
+
+
+
{{_('Remote login')}}
+
{% if config.config_remote_login %}{% else %}{% endif %}
+
+
+
+

{{_('User list')}}

@@ -60,48 +101,8 @@

{{_('Configuration')}}

-
-
-
{{_('Calibre DB dir')}}
-
{{config.config_calibre_dir}}
-
-
-
{{_('Log level')}}
-
{{config.get_Log_Level()}}
-
-
-
{{_('Port')}}
-
{{config.config_port}}
-
-
-
-
-
{{_('Books per page')}}
-
{{config.config_books_per_page}}
-
-
-
{{_('Uploading')}}
-
{% if config.config_uploading %}{% else %}{% endif %}
-
-
-
{{_('Anonymous browsing')}}
-
{% if config.config_anonbrowse %}{% else %}{% endif %}
-
-
-
{{_('Public registration')}}
-
{% if config.config_public_reg %}{% else %}{% endif %}
-
-
-
{{_('Remote login')}}
-
{% if config.config_remote_login %}{% else %}{% endif %}
-
-
- + +
@@ -120,6 +121,7 @@
+