diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2012-04-13 20:08:44 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2012-04-13 20:08:44 +0200 |
| commit | 2dfcf63d36081fc0cb4250db0bd804f754c38e65 (patch) | |
| tree | 41d50325c8d644b991ca5a56315ce5fe83c91237 | |
| parent | 2b6e8d301068d81636ea4002ec9099d1cfb7074b (diff) | |
| download | phorkie-2dfcf63d36081fc0cb4250db0bd804f754c38e65.tar.gz phorkie-2dfcf63d36081fc0cb4250db0bd804f754c38e65.zip | |
better error styling
| -rw-r--r-- | data/templates/tool.htm | 2 | ||||
| -rw-r--r-- | www/phorkie.css | 6 |
2 files changed, 8 insertions, 0 deletions
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' %} + <div class="annotations"> {% for number,lineinfos in toolres.annotations if number != 'general' %} {% for line in lineinfos %} <div class="alert {{line.getAlertLevel}}"> @@ -35,6 +36,7 @@ </div> {% endfor %} {% endfor %} + </div> {% 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; } |
