From 354eac1512af6f663fca565a2770fb16f60965ed Mon Sep 17 00:00:00 2001 From: Virgil Grigoras Date: Sun, 9 Sep 2018 13:51:28 +0200 Subject: [PATCH] fix html errors and formating --- cps/templates/admin.html | 210 +++++++++++++++++++++------------------ 1 file changed, 114 insertions(+), 96 deletions(-) diff --git a/cps/templates/admin.html b/cps/templates/admin.html index 78773cac..2be9028e 100644 --- a/cps/templates/admin.html +++ b/cps/templates/admin.html @@ -1,105 +1,124 @@ {% extends "layout.html" %} {% block body %} -
-

{{_('User list')}}

- - - - - - - - - - - - {% for user in content %} - {% if not user.role_anonymous() or config.config_anonbrowse %} - - - - - - - - - - - {% endif %} - {% endfor %} -
{{_('Nickname')}}{{_('E-mail')}}{{_('Kindle')}}{{_('DLS')}}
{{user.nickname}}{{user.email}}{{user.kindle_mail}}{{user.downloads.count()}}
- -

{{_('SMTP e-mail server settings')}}

- - - - - - - - - - - - - - -
{{_('SMTP hostname')}}{{_('SMTP port')}}{{_('SSL')}}{{_('SMTP login')}}
{{email.mail_server}}{{email.mail_port}}{% if email.mail_use_ssl %}{% else %}{% endif %}{{email.mail_login}}
- -
-

{{_('Configuration')}}

-
-
-
{{_('Calibre DB dir')}}
-
{{config.config_calibre_dir}}
-
-
-
{{_('Log level')}}
-
{{config.get_Log_Level()}}
-
-
-
{{_('Port')}}
-
{{config.config_port}}
+
+
+
+

{{_('User list')}}

+ + + + + + + + + + + + {% for user in content %} + {% if not user.role_anonymous() or config.config_anonbrowse %} + + + + + + + + + + + {% endif %} + {% endfor %} +
{{_('Nickname')}}{{_('E-mail')}}{{_('Kindle')}}{{_('DLS')}}
{{user.nickname}}{{user.email}}{{user.kindle_mail}}{{user.downloads.count()}}
+
-
-
-
{{_('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 %}
+ +
+
+

{{_('SMTP e-mail server settings')}}

+ + + + + + + + + + + + + + + +
{{_('SMTP hostname')}}{{_('SMTP port')}}{{_('SSL')}}{{_('SMTP login')}}
{{email.mail_server}}{{email.mail_port}}{% if email.mail_use_ssl %}{% else %}{% endif %}{{email.mail_login}}
+
-
-
-

- - + +
+
+

{{_('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 %}
+
+
+
-

{{_('Administration')}}

-
{{_('Current commit timestamp')}}: {{commit}}
- - -

-
{{_('Reconnect to Calibre DB')}}
-
{{_('Restart Calibre-Web')}}
-
{{_('Stop Calibre-Web')}}
-
{{_('Check for update')}}
- +
+ +
+
+

{{_('Administration')}}

+
{{_('Current commit timestamp')}}: {{commit}}
+ + +

+
{{_('Reconnect to Calibre DB')}}
+
{{_('Restart Calibre-Web')}}
+
{{_('Stop Calibre-Web')}}
+
{{_('Check for update')}}
+ +
+
-