Cachet/app/views/index.blade.php
2014-11-24 15:54:56 +00:00

32 lines
846 B
PHP

@extends('layout.master')
@section('content')
<div class='alert alert-{{ $systemStatus }}'>{{ $systemMessage }}</div>
@if(Auth::check())
<p>You're logged in. This will be a link to the Dashboard.</p>
@endif
<div class='page-header'>
<ul class='list-group components'>
@foreach(Component::get() as $component)
<li class='list-group-item component '>
<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
@if(Setting::get('show_support'))
<hr />
<div class='footer'>
<p>{{ Setting::get('app_name') }} Status Page is powered by <a href='https://github.com/jbrooksuk/Cachet'>Cachet</a>.</p>
</div>
@endif
@stop