[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 **/
@breadcrumb-bg: none; @breadcrumb-bg: none;

View file

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