Skip to content
Snippets Groups Projects
Commit 260fec8b authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Show current log in different colour

parent 630be687
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
<div class="row">
<div class="col-md-12">
{% for filename, filesize in files.items() %}
<a href="/logs/{{ filename }}" class="btn btn-warning" role="button">{{ filename }} ({{'%0.1f' | format(filesize/1024/1024) }}MB)</a></button>
<a href="/logs/{{ filename }}" class="btn btn-{{ 'primary' if filename == 'MSG.log' else 'warning' }}" role="button">{{ filename }} ({{'%0.1f' | format(filesize/1024/1024) }}MB)</a></button>
{% endfor %}
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment