2014-11-16 23:17:34 +00:00
|
|
|
@extends('layout.master')
|
|
|
|
|
|
|
|
@section('content')
|
2014-12-31 11:45:54 +00:00
|
|
|
@if($bannerImage = Setting::get('app_banner'))
|
2015-01-06 15:44:27 -06:00
|
|
|
<div class="row app-banner">
|
|
|
|
<div class="col-md-12 text-center">
|
2014-12-31 11:45:54 +00:00
|
|
|
<?php $bannerType = Setting::get('app_banner_type') ?>
|
2015-01-17 19:23:35 +00:00
|
|
|
<img src="data:{{ $bannerType }};base64, {{ $bannerImage}}" class="banner-image img-responsive">
|
2014-12-31 11:45:54 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2015-01-06 15:44:27 -06:00
|
|
|
<div class="alert alert-{{ $systemStatus }}">{{ $systemMessage }}</div>
|
2014-12-23 21:03:02 +00:00
|
|
|
|
2015-01-01 19:44:15 +00:00
|
|
|
@if($aboutApp)
|
2015-01-06 15:44:27 -06:00
|
|
|
<div class="about-app">
|
2015-01-01 15:15:07 -06:00
|
|
|
<h1>{{ trans('cachet.about_this_site') }}</h1>
|
2014-12-31 14:59:46 +00:00
|
|
|
<p>{{ $aboutApp }}</p>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2014-12-01 14:40:25 +00:00
|
|
|
@include('partials.components')
|
2014-11-16 23:34:46 +00:00
|
|
|
|
2015-01-21 02:32:18 -06:00
|
|
|
@if($displayMetrics && Setting::get('display_graphs'))
|
|
|
|
@include('partials.graphs')
|
|
|
|
@endif
|
2014-12-01 08:39:45 +00:00
|
|
|
|
2015-02-28 20:18:30 +00:00
|
|
|
@if(!$scheduledMaintenance->isEmpty())
|
|
|
|
@include('partials.schedule')
|
|
|
|
@endif
|
|
|
|
|
2015-01-05 11:12:34 +00:00
|
|
|
<h1>{{ trans('cachet.incidents.past') }}</h1>
|
2015-01-01 21:58:27 +00:00
|
|
|
@foreach($allIncidents as $incidents)
|
2015-01-21 02:32:18 -06:00
|
|
|
@include('partials.incidents', $incidents)
|
2014-12-27 23:43:31 -06:00
|
|
|
@endforeach
|
2015-01-17 19:23:35 +00:00
|
|
|
<hr>
|
2015-01-03 00:36:27 -06:00
|
|
|
|
|
|
|
<nav>
|
|
|
|
<ul class="pager">
|
|
|
|
<li class="previous">
|
|
|
|
<a href="{{ route('status-page') }}?start_date={{ $previousDate }}">
|
2015-01-05 11:12:34 +00:00
|
|
|
<span aria-hidden="true">←</span> {{ trans('cachet.incidents.previous_week') }}
|
2015-01-03 00:36:27 -06:00
|
|
|
</a>
|
|
|
|
</li>
|
2015-02-06 14:24:53 +00:00
|
|
|
@if($canPageForward)
|
|
|
|
<li class="next">
|
|
|
|
<a href="{{ route('status-page') }}?start_date={{ $nextDate }}">
|
2015-01-05 11:12:34 +00:00
|
|
|
{{ trans('cachet.incidents.next_week') }} <span aria-hidden="true">→</span>
|
2015-01-03 00:36:27 -06:00
|
|
|
</a>
|
|
|
|
</li>
|
2015-02-06 14:24:53 +00:00
|
|
|
@endif
|
2015-01-03 00:36:27 -06:00
|
|
|
</ul>
|
|
|
|
</nav>
|
2014-11-16 23:17:34 +00:00
|
|
|
@stop
|