From a39f74fc46ba59409cd91a772647777bef542e7b Mon Sep 17 00:00:00 2001 From: mariusbaumann Date: Sat, 3 Jan 2015 18:42:30 +0100 Subject: Details changed on info, admin sites Only a few text format changes + Buttons for restart and shutdown styled + Passwort dialog restyled --- module/web/templates/default/admin.html | 78 +++++++++++++++++---------------- module/web/templates/default/home.html | 15 +++---- module/web/templates/default/info.html | 20 ++++----- 3 files changed, 56 insertions(+), 57 deletions(-) diff --git a/module/web/templates/default/admin.html b/module/web/templates/default/admin.html index b049411fd..be624f555 100644 --- a/module/web/templates/default/admin.html +++ b/module/web/templates/default/admin.html @@ -9,18 +9,20 @@ {% block subtitle %}{{ _("Administrate") }}{% endblock %} {% block content %} - - {{_("Quit pyLoad")}} | - {{_("Restart pyLoad")}} +
+ {{_("Quit pyLoad")}} + {{_("Restart pyLoad")}} +


{{ _("To add user or change passwords use:") }} python pyLoadCore.py -u
{{ _("Important: Admin user have always all permissions!") }} - -
- - +
+
+ +
+ @@ -38,9 +40,8 @@ {% for name, data in users.iteritems() %} - - + +
{{ _("Name") }}
{{ name }}{{ _("change") }} {{ _("change") }}
- +
{% endblock %} {% block hidden %} -
-
-

{{ _("Change Password") }}

- +
+ +

{{ _("Change Password") }}

{{ _("Enter your current and desired Password.") }}

- - - - - - - - - - - - - - +
+ + +

{{ _("Your username.") }}

+
+
+ + +

{{ _("The password for this account.") }}

+
+
+ + +

{{ _("The new password.") }}

+
+
+ + +

{{ _("Please repeat the new password.") }}

+
+ + + + +
-
diff --git a/module/web/templates/default/home.html b/module/web/templates/default/home.html index 89074dd26..0cbbca280 100644 --- a/module/web/templates/default/home.html +++ b/module/web/templates/default/home.html @@ -138,15 +138,12 @@ var LinkEntry = new Class({ percent: new Element('span', { 'html': item.percent+ '% / '+ humanFileSize(item.size-item.bleft) }), - remove: new Element('img',{ - 'src': 'media/default/img/control_cancel.png', - 'styles':{ - 'vertical-align': 'middle', - 'margin-right': '-20px', - 'margin-left': '5px', - 'margin-top': '-2px', - 'cursor': 'pointer' - } + remove: new Element('span',{ + 'html': '', + 'class': 'glyphicon glyphicon-remove', + 'styles':{ + 'margin-left': '3px', + } }), pgbTr: new Element('tr', { 'html':'', diff --git a/module/web/templates/default/info.html b/module/web/templates/default/info.html index 77ae57376..792490329 100644 --- a/module/web/templates/default/info.html +++ b/module/web/templates/default/info.html @@ -37,43 +37,43 @@

{{ _("System") }}

- + - + - + - + - + - + - + - + - + - +
{{ _("Python:") }}{{ _("Python:") }} {{ python }}
{{ _("OS:") }}{{ _("OS:") }} {{ os }}
{{ _("pyLoad version:") }}{{ _("pyLoad version:") }} {{ version }}
{{ _("Installation Folder:") }}{{ _("Installation Folder:") }} {{ folder }}
{{ _("Config Folder:") }}{{ _("Config Folder:") }} {{ config }}
{{ _("Download Folder:") }}{{ _("Download Folder:") }} {{ download }}
{{ _("Free Space:") }}{{ _("Free Space:") }} {{ freespace }}
{{ _("Language:") }}{{ _("Language:") }} {{ language }}
{{ _("Webinterface Port:") }}{{ _("Webinterface Port:") }} {{ webif }}
{{ _("Remote Interface Port:") }}{{ _("Remote Interface Port:") }} {{ remote }}
-- cgit v1.2.3