Improve scheduled maintenance design

This commit is contained in:
James Brooks
2015-06-15 16:55:02 +01:00
parent 939ec3be23
commit 16cb1bd545
4 changed files with 11 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
{
"dist/css/all.css": "dist/css/all-3a785eb2.css",
"dist/css/all.css": "dist/css/all-ef78fb44.css",
"dist/js/all.js": "dist/js/all-c132bc1e.js"
}

View File

@@ -234,7 +234,7 @@ body.status-page {
}
.list-group {
margin-bottom: 20px;
// margin-bottom: 20px;
padding-left: 0;
border-radius: 0;

View File

@@ -1,14 +1,16 @@
<h1>{{ trans('cachet.incidents.scheduled') }}</h1>
<div class="timeline schedule">
@foreach($scheduledMaintenance as $schedule)
<div class="panel panel-info">
<div class="panel-heading">
<strong>{{ $schedule->name }}</strong>, <small class="date"><abbr class="timeago" data-toggle="tooltip" data-placement="right" title="{{ $schedule->scheduled_at_formatted }}" data-timeago="{{ $schedule->scheduled_at_iso }}"></abbr></small>
<strong>{{ trans('cachet.incidents.scheduled') }}</strong>
</div>
<div class="panel-body">
{!! $schedule->formattedMessage !!}
<div class="list-group">
@foreach($scheduledMaintenance as $schedule)
<div class="list-group-item">
<strong>{{ $schedule->name }}</strong> <small class="date"><abbr class="timeago" data-toggle="tooltip" data-placement="right" title="{{ $schedule->scheduled_at_formatted }}" data-timeago="{{ $schedule->scheduled_at_iso }}"></abbr></small>
{!! $schedule->formattedMessage !!}
</div>
@endforeach
</div>
</div>
@endforeach
</div>