Cachet/app/views/index.blade.php
2014-11-19 16:26:42 +00:00

22 lines
658 B
PHP

@extends('layout.master')
@section('content')
<div class='alert alert-{{ $systemStatus }}'>{{ $systemMessage }}</div>
<div class='page-header'>
<ul class='list-group components'>
@foreach(Component::get() as $component)
<li class='list-group-item component '>
<!-- <span class='badge badge-{{ $component->color }}'><i class='glyphicon glyphicon-stop'></i></span> -->
<h4>{{ $component->name }} <small class='{{ $component->color }}'>{{ $component->humanStatus }}</small></h4>
<p>{{ $component->description }}</p>
</li>
@endforeach
</ul>
</div>
@for($i=0; $i <= 7; $i++)
@include('incident', array('i', $i))
@endfor
@stop