diff options
-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; |