diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-05 20:07:44 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-05 20:07:44 +0200 |
commit | faf6fbc956f8c23871c0bcb91a84986ffd689201 (patch) | |
tree | 19afd74d1ba7438816c02689ae3b093c57eea2cc /module/web | |
parent | closed #116 (diff) | |
download | pyload-faf6fbc956f8c23871c0bcb91a84986ffd689201.tar.xz |
changed dl function for test purpose
Diffstat (limited to 'module/web')
-rw-r--r-- | module/web/pyload/views.py | 2 | ||||
-rw-r--r-- | module/web/templates/default/settings.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/module/web/pyload/views.py b/module/web/pyload/views.py index 523fe60ea..a69e7da86 100644 --- a/module/web/pyload/views.py +++ b/module/web/pyload/views.py @@ -357,7 +357,7 @@ def config(request): data["validuntil"] = _("not available") else: t = localtime(data["validuntil"]) - data["validuntil"] = strftime("%d-%m-%Y",t) + data["validuntil"] = strftime("%d.%m.%Y",t) if data["options"].has_key("time"): data["time"] = data["options"]["time"][0] diff --git a/module/web/templates/default/settings.html b/module/web/templates/default/settings.html index 09fe2e8b1..6c9c2982a 100644 --- a/module/web/templates/default/settings.html +++ b/module/web/templates/default/settings.html @@ -138,10 +138,10 @@ <td> {% trans "Status:" %} {% if account.valid %} - <span style="font-weight: bold; color:#90ee90;"> + <span style="font-weight: bold; color: #006400;"> {% trans "valid" %} {% else %} - <span style="font-weight: bold; color: #f08080;"> + <span style="font-weight: bold; color: #8b0000;"> {% trans "not valid" %} {% endif %} </span> |