Compile some CSS to start working on the design

This commit is contained in:
James Brooks
2014-11-19 12:46:29 +00:00
parent 3571cb79a5
commit 6c2a022ef2
5 changed files with 115 additions and 91 deletions
+1 -1
View File
@@ -10,6 +10,6 @@
@foreach($incidents as $incident)
<h3><span class='label {{ $incident->labelColor }}'>{{ $incident->humanStatus }}</span> {{ $incident->name }}</h3>
<p>{{ $incident->message }}</p>
<h4><time>{{ $incident->created_at->format('H:i:s A') }} {{ Config::get('app.timezone') }}</time></h4>
<h4><small><time>{{ $incident->created_at->format('H:i:s A') }} {{ Config::get('app.timezone') }}</time></small></h4>
@endforeach
@endif
+22 -30
View File
@@ -1,38 +1,30 @@
@extends('layout.master')
@section('content')
<div class='row'>
<div class='masthead-container'>
<div class='masthead'>
<div class='text-container'>
<span class='page-name font-largest'><a href='#'>{{ Setting::get('site_name') }}</a></span>
</div>
</div>
</div>
</div>
<div class='row'>
<div class='page-header'>
<div class='alert alert-{{ $systemStatus }}'>{{ $systemMessage }}</div>
</div>
<div class='row'>
<ul class='list-group'>
@foreach(Component::get() as $component)
<li class='list-group-item'>
{{ $component->name }}
@if($component->description)
<small>{{ $component->description }}</small>
@endif
<ul class='list-group'>
@foreach(Component::get() as $component)
<li class='list-group-item'>
<div class='row'>
<div class='col-md-8'>
<h4>{{ $component->name }}</h4>
@if($component->description)
<p>{{ $component->description }}</p>
@endif
</div>
<div class='col-md-4'>
<p class='text-right'>{{ $component->humanStatus }}</p>
</div>
</div>
</li>
@endforeach
</ul>
<span class='pull-right'>{{ $component->humanStatus }}</span>
</li>
@endforeach
</ul>
</div>
<div class='row'>
<h1>Past Incidents</h1>
@for($i=0; $i <= 7; $i++)
@include('incident', array('i', $i))
@endfor
</div>
<h1>Past Incidents</h1>
@for($i=0; $i <= 7; $i++)
@include('incident', array('i', $i))
@endfor
@stop