diff options
author | Armin <Armin@Armin-PC.diedering.lan> | 2015-04-19 20:26:12 +0200 |
---|---|---|
committer | Armin <Armin@Armin-PC.diedering.lan> | 2015-04-19 20:26:12 +0200 |
commit | 1138aa6bdef34d2b73e62c21b3bd351f37dad87f (patch) | |
tree | e7642fb1933ef884f9131395f38d3fdfaf9781b2 | |
parent | sorted config in webui ("Activated" is always the top option) (diff) | |
download | pyload-1138aa6bdef34d2b73e62c21b3bd351f37dad87f.tar.xz |
cosmetics
-rw-r--r-- | pyload/webui/app/pyloadweb.py | 2 | ||||
-rw-r--r-- | pyload/webui/themes/Next/css/log.css | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/pyload/webui/app/pyloadweb.py b/pyload/webui/app/pyloadweb.py index b3baed3eb..154409655 100644 --- a/pyload/webui/app/pyloadweb.py +++ b/pyload/webui/app/pyloadweb.py @@ -471,7 +471,7 @@ def logs(item=-1): 'reversed': reversed, 'perpage': perpage, 'perpage_p': sorted(perpage_p), 'iprev': 1 if item - perpage < 1 else item - perpage, 'inext': (item + perpage) if item + perpage < len(log) else item, - 'color_template': color_template}, + 'color_template': color_template.title()}, [pre_processor]) diff --git a/pyload/webui/themes/Next/css/log.css b/pyload/webui/themes/Next/css/log.css index 71ba01edb..4c6640fef 100644 --- a/pyload/webui/themes/Next/css/log.css +++ b/pyload/webui/themes/Next/css/log.css @@ -51,41 +51,41 @@ td.loglevel { text-align:right; } -td.mixedDEBUG, td.lineDEBUG, td.loglevellineDEBUG +td.MixedDEBUG, td.LineDEBUG, td.logleveLlineDEBUG { color: darkcyan; } -td.mixedWARNING, td.lineWARNING, td.loglevellineWARNING +td.MixedWARNING, td.LineWARNING, td.loglevelLineWARNING { color: #660; } -td.mixedERROR, td.lineERROR, td.loglevellineERROR +td.MixedERROR, td.LineERROR, td.loglevelLineERROR { color: red; } -td.mixedCRITICAL, td.lineCRITICAL, td.loglevellineCRITICAL +td.MixedCRITICAL, td.LineCRITICAL, td.loglevelLineCRITICAL { color: purple; } -td.loglevelmixedDEBUG span, td.loglevellabelDEBUG span +td.loglevelMixedDEBUG span, td.loglevelLabelDEBUG span { font-weight: bold; color: white; background-color: darkcyan; } -td.loglevelmixedWARNING span, td.loglevellabelWARNING span +td.loglevelMixedWARNING span, td.loglevelLabelWARNING span { font-weight: bold; color: white; background-color: #660; } -td.loglevelmixedERROR span, td.loglevellabelERROR span +td.loglevelMixedERROR span, td.loglevelLabelERROR span { font-weight: bold; color: white; background-color: red; } -td.loglevelmixedCRITICAL span, td.loglevellabelCRITICAL span +td.loglevelMixedCRITICAL span, td.loglevelLabelCRITICAL span { font-weight: bold; color: white; |