mirror of
https://github.com/friendica/friendica
synced 2025-02-13 05:34:01 +00:00
Merge pull request #14728 from MarekBenjamin/bugfix/log-table-appeareance
Bugfix/log table: Log level not readable in dark and black frio appeareance
This commit is contained in:
commit
0d188d39d5
1 changed files with 11 additions and 11 deletions
|
@ -70,17 +70,17 @@
|
||||||
aria-label="{{$l10n.View_details}}" aria-haspopup="true" aria-expanded="false"
|
aria-label="{{$l10n.View_details}}" aria-haspopup="true" aria-expanded="false"
|
||||||
data-data="{{$row->data}}" data-source="{{$row->source}}">
|
data-data="{{$row->data}}" data-source="{{$row->source}}">
|
||||||
<td>{{$row->date}}</td>
|
<td>{{$row->date}}</td>
|
||||||
<td class="
|
{{assign var="class" value="text-info"}}
|
||||||
{{if $row->level == "EMERGENCY"}}bg-danger
|
{{if $row->level == "EMERGENCY" || $row->level == "ALERT" || $row->level == "CRITICAL" || $row->level == "ERROR"}}
|
||||||
{{elseif $row->level == "ALERT"}}bg-danger
|
{{assign var="class" value="text-danger"}}
|
||||||
{{elseif $row->level == "CRITICAL"}}bg-danger
|
{{elseif $row->level == "WARNING"}}
|
||||||
{{elseif $row->level == "ERROR"}}bg-danger
|
{{assign var="class" value="text-warning"}}
|
||||||
{{elseif $row->level == "WARNING"}}bg-warning
|
{{elseif $row->level == "NOTICE" || $row->level == "INFO"}}
|
||||||
{{elseif $row->level == "NOTICE"}}bg-info
|
{{assign var="class" value="text-info"}}
|
||||||
{{elseif $row->level == "INFO"}}bg-info
|
{{else}}
|
||||||
{{else}}text-muted
|
{{ assign var="class" value="text-muted"}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
">{{$row->level}}</td>
|
<td class="{{$class}}">{{$row->level}}</td>
|
||||||
<td>{{$row->context}}</td>
|
<td>{{$row->context}}</td>
|
||||||
<td class="log-message">{{$row->message}}</td>
|
<td class="log-message">{{$row->message}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Add table
Reference in a new issue