Add basic setup page. NoSetupFilter now prevents access too.

This commit is contained in:
James Brooks
2014-11-24 09:58:32 +00:00
parent 5ef5f53e3b
commit ef5beddb07
6 changed files with 92 additions and 16 deletions
+7 -1
View File
@@ -7,7 +7,6 @@
<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>
@@ -18,4 +17,11 @@
@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