[enh] overflow or use full space for journal logs

This commit is contained in:
Laurent Peuch 2016-06-28 06:05:31 +02:00
parent 12670632cf
commit b346a16262
2 changed files with 10 additions and 3 deletions

View file

@ -416,6 +416,13 @@ button[data-paste-content] {
}
}
.full-width {
width: 100%;
}
.overflow-auto {
overflow: auto;
}
/** Breadcrumb **/
@breadcrumb-bg: none;

View file

@ -29,15 +29,15 @@
<div class="panel-heading">
<h2 class="panel-title"><span class="fa-fw fa-file-text"></span> {{t 'logs'}}</h2>
</div>
<div class="panel-body">
<div class="panel-body overflow-auto">
<table>
<tr>
<td> <!-- no indent because pre is sensible to whitespaces -->
<pre>{{#logs}}{{datetime}}
{{/logs}}</pre>
</td>
<td> <!-- no indent because pre is sensible to whitespaces -->
<pre>{{#logs}}{{{line}}}
<td class="full-width"> <!-- no indent because pre is sensible to whitespaces -->
<pre class="full-width">{{#logs}}{{{line}}}
{{/logs}}</pre>
</td>
</tr>