From: Christian Weiske Date: Fri, 13 Apr 2012 18:08:44 +0000 (+0200) Subject: better error styling X-Git-Tag: v0.1.0~40 X-Git-Url: https://git.cweiske.de/phorkie.git/commitdiff_plain/2dfcf63d36081fc0cb4250db0bd804f754c38e65?hp=2b6e8d301068d81636ea4002ec9099d1cfb7074b better error styling --- diff --git a/data/templates/tool.htm b/data/templates/tool.htm index ef8e5e0..27e6d9d 100644 --- a/data/templates/tool.htm +++ b/data/templates/tool.htm @@ -28,6 +28,7 @@ {% include 'display-file.htm' %} +
{% for number,lineinfos in toolres.annotations if number != 'general' %} {% for line in lineinfos %}
@@ -35,6 +36,7 @@
{% endfor %} {% endfor %} +
{% include 'display-foot.htm' %} {% endblock %} diff --git a/www/phorkie.css b/www/phorkie.css index 3e4b061..e478165 100644 --- a/www/phorkie.css +++ b/www/phorkie.css @@ -48,6 +48,12 @@ h1 { .file .code { margin-left: 2em; } + +div.annotations div.alert { + margin-bottom: 1ex; +} + + ul.pager { margin-top: 2ex; }