diff options
Diffstat (limited to 'pyload/webui/themes/Next')
-rw-r--r-- | pyload/webui/themes/Next/css/log.css | 40 | ||||
-rw-r--r-- | pyload/webui/themes/Next/tml/logs.html | 2 |
2 files changed, 41 insertions, 1 deletions
diff --git a/pyload/webui/themes/Next/css/log.css b/pyload/webui/themes/Next/css/log.css index af2ea4fe8..71ba01edb 100644 --- a/pyload/webui/themes/Next/css/log.css +++ b/pyload/webui/themes/Next/css/log.css @@ -51,6 +51,46 @@ td.loglevel { text-align:right; } +td.mixedDEBUG, td.lineDEBUG, td.loglevellineDEBUG +{ + color: darkcyan; +} +td.mixedWARNING, td.lineWARNING, td.loglevellineWARNING +{ + color: #660; +} +td.mixedERROR, td.lineERROR, td.loglevellineERROR +{ + color: red; +} +td.mixedCRITICAL, td.lineCRITICAL, td.loglevellineCRITICAL +{ + color: purple; +} +td.loglevelmixedDEBUG span, td.loglevellabelDEBUG span +{ + font-weight: bold; + color: white; + background-color: darkcyan; +} +td.loglevelmixedWARNING span, td.loglevellabelWARNING span +{ + font-weight: bold; + color: white; + background-color: #660; +} +td.loglevelmixedERROR span, td.loglevellabelERROR span +{ + font-weight: bold; + color: white; + background-color: red; +} +td.loglevelmixedCRITICAL span, td.loglevellabelCRITICAL span +{ + font-weight: bold; + color: white; + background-color: purple; +} .logperpage { float: right; diff --git a/pyload/webui/themes/Next/tml/logs.html b/pyload/webui/themes/Next/tml/logs.html index 8e995c465..f0f25a9dd 100644 --- a/pyload/webui/themes/Next/tml/logs.html +++ b/pyload/webui/themes/Next/tml/logs.html @@ -27,7 +27,7 @@ <div class="logdiv"> <table class="logtable" cellpadding="0" cellspacing="0"> {% for line in log %} - <tr><td class="logline">{{line.line}}</td><td>{{line.date}}</td><td class="loglevel">{{line.level}}</td><td>{{line.message}}</td></tr> + <tr><td class="logline">{{line.line}}</td><td class="{{color_template}}{{line.level}}">{{line.date}}</td><td class="loglevel loglevel{{color_template}}{{line.level}}"><span>{{line.level}}</span></td><td class="{{color_template}}{{line.level}}">{{line.message}}</td></tr> {% endfor %} </table> </div> |