time output in log
This commit is contained in:
parent
c1230087e6
commit
60f6d33eda
@ -163,6 +163,7 @@ if (COCKPIT_ADMIN && !COCKPIT_API_REQUEST) {
|
||||
if (preg_match('/^\\+/', $l->out)) {
|
||||
$logstr .= '<h3>'.htmlspecialchars($l->out).'</h3>';
|
||||
} else {
|
||||
$logstr .= '<div class="timetext">'.$l->time.'s</div>';
|
||||
$logstr .= preg_replace(array_keys($colors), $colors, htmlspecialchars($l->out));
|
||||
}
|
||||
}
|
||||
|
@ -45,10 +45,9 @@ pre h2.failure {
|
||||
background-color: #ff3333;
|
||||
}
|
||||
|
||||
.stagename {
|
||||
.stagename, .timetext {
|
||||
float: right;
|
||||
font-size: 0.8em;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
</style>
|
||||
@ -108,10 +107,10 @@ pre h2.failure {
|
||||
<th class="uk-text-small uk-link-muted uk-noselect" width="70">
|
||||
@lang('State')
|
||||
</th>
|
||||
@if($app->module('cockpit')->hasaccess('drone', 'manage.extended_view'))
|
||||
<th class="uk-text-small uk-link-muted uk-noselect" width="50">
|
||||
@lang('Build') #
|
||||
</th>
|
||||
@if($app->module('cockpit')->hasaccess('drone', 'manage.extended_view'))
|
||||
<th class="uk-text-small uk-link-muted uk-noselect" width="50">
|
||||
@lang('Event')
|
||||
</th>
|
||||
@ -145,8 +144,8 @@ pre h2.failure {
|
||||
<span class="uk-badge uk-text-small uk-badge-warning" if="{deploy.building}"><i class="uk-icon-spinner uk-icon-spin"></i>{ App.i18n.get(deploy.status) }</span>
|
||||
</a>
|
||||
</td>
|
||||
@if($app->module('cockpit')->hasaccess('drone', 'manage.extended_view'))
|
||||
<td>{ deploy.number }</td>
|
||||
@if($app->module('cockpit')->hasaccess('drone', 'manage.extended_view'))
|
||||
<td>{ deploy.event }</td>
|
||||
<td>{ deploy.message }</td>
|
||||
@endif
|
||||
|
Loading…
Reference in New Issue
Block a user