Make some visual changes to the status page.
This commit is contained in:
@@ -1,17 +1,20 @@
|
||||
@extends('layout.master')
|
||||
|
||||
@section('content')
|
||||
<div class='alert alert-{{ $systemStatus }}'>{{ $systemMessage }}</div>
|
||||
|
||||
@if(Auth::check())
|
||||
<div class='page-header text-right'>
|
||||
<div class='btn-group'>
|
||||
<ul class='nav nav-pills'>
|
||||
<li>
|
||||
<a class="btn btn-default" href="{{ URL::route('dashboard') }}">{{ Lang::get('cachet.dashboard.dashboard') }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="btn btn-danger" href="{{ URL::route('logout') }}">{{ Lang::get('cachet.logout') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<hr />
|
||||
@endif
|
||||
|
||||
<div class='alert alert-{{ $systemStatus }}'>{{ $systemMessage }}</div>
|
||||
|
||||
@include('partials.components')
|
||||
|
||||
@if(Setting::get('display_graphs'))
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
@if($components->count() > 0)
|
||||
<div class='page-header'>
|
||||
<ul class='list-group components'>
|
||||
@foreach($components as $component)
|
||||
<li class='list-group-item component '>
|
||||
<h4>{{ $component->name }} <small class='text-component-{{ $component->status }}'>{{ $component->humanStatus }}</small></h4>
|
||||
<p>{{ $component->description }}</p>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
<ul class='list-group components'>
|
||||
@foreach($components as $component)
|
||||
<li class='list-group-item component '>
|
||||
<h4>{{ $component->name }} <small class='text-component-{{ $component->status }}'>{{ $component->humanStatus }}</small></h4>
|
||||
<p>{{ $component->description }}</p>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
</li>
|
||||
|
||||
@unless($incidents->count() > 0)
|
||||
<li class='list-group-item'>No incidents reported.</li>
|
||||
<li class='list-group-item'>{{ Lang::get('cachet.no_incidents') }}</li>
|
||||
@endunless
|
||||
|
||||
@foreach($incidents as $incidentID => $incident)
|
||||
|
||||
Reference in New Issue
Block a user