From 8b850d64a14d7c8d691c4ec08bb9a3daf9a3dfa2 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 10 Apr 2015 17:52:35 +0200 Subject: Cleanup --- pyload/webui/app/pyloadweb.py | 16 +++--- pyload/webui/themes/Next/tml/base.html | 70 +++++++++++++-------------- pyload/webui/themes/Next/tml/captcha.html | 64 ++++++++++++------------ pyload/webui/themes/Next/tml/filemanager.html | 48 +++++++++--------- pyload/webui/themes/Next/tml/folder.html | 10 ++-- pyload/webui/themes/Next/tml/home.html | 16 +++--- pyload/webui/themes/Next/tml/pathchooser.html | 22 ++++----- 7 files changed, 123 insertions(+), 123 deletions(-) (limited to 'pyload/webui') diff --git a/pyload/webui/app/pyloadweb.py b/pyload/webui/app/pyloadweb.py index d71d0d306..85f3f8ca1 100644 --- a/pyload/webui/app/pyloadweb.py +++ b/pyload/webui/app/pyloadweb.py @@ -517,14 +517,14 @@ def info(): else: extra = tuple() - data = {"python": sys.version, - "os": " ".join((os.name, sys.platform) + extra), - "version": PYLOAD.getServerVersion(), - "folder": abspath(PYLOAD_DIR), "config": abspath(""), - "download": abspath(conf["general"]["download_folder"]["value"]), + data = {"python" : sys.version, + "os" : " ".join((os.name, sys.platform) + extra), + "version" : PYLOAD.getServerVersion(), + "folder" : abspath(PYLOAD_DIR), "config": abspath(""), + "download" : abspath(conf["general"]["download_folder"]["value"]), "freespace": formatSize(PYLOAD.freeSpace()), - "remote": conf["remote"]["port"]["value"], - "webif": conf["webinterface"]["port"]["value"], - "language": conf["general"]["language"]["value"]} + "remote" : conf["remote"]["port"]["value"], + "webif" : conf["webui"]["port"]["value"], + "language" : conf["general"]["language"]["value"]} return render_to_response("info.html", data, [pre_processor]) diff --git a/pyload/webui/themes/Next/tml/base.html b/pyload/webui/themes/Next/tml/base.html index 750c855be..1bc2ea3b3 100644 --- a/pyload/webui/themes/Next/tml/base.html +++ b/pyload/webui/themes/Next/tml/base.html @@ -54,13 +54,13 @@ - + {% else %} {{_("Please Login!")}} {% endif %} {% endblock %} - + -
+
{% if perms.STATUS %} @@ -167,7 +167,7 @@ {% block statusbar %} {% endblock %} {% for message in messages %} -

{{message}}

+

{{message}}

{% endfor %}
@@ -178,7 +178,7 @@ {% block content %} {% endblock content %} -
+