Break up incidents on the same day
This commit is contained in:
@@ -10,10 +10,13 @@
|
|||||||
<p>No incidents reported.</p>
|
<p>No incidents reported.</p>
|
||||||
@endunless
|
@endunless
|
||||||
|
|
||||||
@foreach($incidents as $incident)
|
@foreach($incidents as $incidentID => $incident)
|
||||||
<span class='badge badge-{{ $incident->color }}'><i class='glyphicon {{ $incident->icon }}'></i></span>
|
<span class='badge badge-{{ $incident->color }}'><i class='glyphicon {{ $incident->icon }}'></i></span>
|
||||||
<h4>{{ $incident->name }}</h4>
|
<h4>{{ $incident->name }}</h4>
|
||||||
<time>{{ $incident->created_at->format('H:i:s A') }} {{ Config::get('app.timezone') }}</time>
|
<time>{{ $incident->created_at->format('H:i:s A') }} {{ Config::get('app.timezone') }}</time>
|
||||||
<p>{{ $incident->message }}</p>
|
<p>{{ $incident->message }}</p>
|
||||||
|
@if($incidentID < ($incident->count() - 1))
|
||||||
|
<hr />
|
||||||
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -3,6 +3,11 @@ body {
|
|||||||
font-size: 1.4em;
|
font-size: 1.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.alert {
|
.alert {
|
||||||
&.alert-success {
|
&.alert-success {
|
||||||
background-color: #8DCD8D;
|
background-color: #8DCD8D;
|
||||||
|
|||||||
@@ -2,6 +2,10 @@ body {
|
|||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 1.4em; }
|
font-size: 1.4em; }
|
||||||
|
|
||||||
|
hr {
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px; }
|
||||||
|
|
||||||
.alert.alert-success {
|
.alert.alert-success {
|
||||||
background-color: #8DCD8D;
|
background-color: #8DCD8D;
|
||||||
border-color: #4cae4c;
|
border-color: #4cae4c;
|
||||||
@@ -2,6 +2,10 @@ body {
|
|||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 1.4em; }
|
font-size: 1.4em; }
|
||||||
|
|
||||||
|
hr {
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px; }
|
||||||
|
|
||||||
.alert.alert-success {
|
.alert.alert-success {
|
||||||
background-color: #8DCD8D;
|
background-color: #8DCD8D;
|
||||||
border-color: #4cae4c;
|
border-color: #4cae4c;
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"css/application.css": "css/application-bb5fc830.css"
|
"css/application.css": "css/application-c3c6ec34.css"
|
||||||
}
|
}
|
||||||
@@ -2,6 +2,10 @@ body {
|
|||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 1.4em; }
|
font-size: 1.4em; }
|
||||||
|
|
||||||
|
hr {
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px; }
|
||||||
|
|
||||||
.alert.alert-success {
|
.alert.alert-success {
|
||||||
background-color: #8DCD8D;
|
background-color: #8DCD8D;
|
||||||
border-color: #4cae4c;
|
border-color: #4cae4c;
|
||||||
|
|||||||
Reference in New Issue
Block a user