Skip to content

Commit

Permalink
[FrameworkBundle] Adjust styling and display of logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed May 3, 2011
1 parent e9b085e commit 04f9b23
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,16 @@ build: 56
margin-left:20px;
}

/* fix for Opera not liking empty <li> */
.sf-exceptionreset .traces li:after {
content: '\00A0'
}

.sf-exceptionreset #logs .traces em
.sf-exceptionreset #logs .traces li.error
{
font-style:normal;
color:#AA3333;
font-weight: bold;
background:#f9ecec;
}

/* fix for Opera not liking empty <li> */
.sf-exceptionreset .traces li:after {
content: '\00A0'
}

.sf-exceptionreset .trace
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
<ol class="traces">
{% for log in logs %}
<li>
{% if log.priorityName in ['EMERG', 'ERR', 'CRIT', 'ALERT', 'ERROR', 'CRITICAL'] %}
<em>{{ log.priorityName }}</em>
{% else %}
{{ log.priorityName }}
{% endif %}

<li{% if log.priorityName in ['EMERG', 'ERR', 'CRIT', 'ALERT', 'ERROR', 'CRITICAL'] %} class="error"{% endif %}>
{{ log.message }}
</li>
{% endfor %}
Expand Down

0 comments on commit 04f9b23

Please sign in to comment.