2014-11-16 23:17:34 +00:00
|
|
|
@extends('layout.master')
|
|
|
|
|
|
|
|
@section('content')
|
2015-06-10 21:29:35 +01:00
|
|
|
@if($subscribersEnabled)
|
2015-05-24 16:33:03 -05:00
|
|
|
<div class="pull-right">
|
|
|
|
<p><a class="btn btn-success btn-outline" href="{{ route('subscribe') }}">{{ trans('cachet.subscriber.button') }}</a></p>
|
|
|
|
</div>
|
2015-06-10 21:29:35 +01:00
|
|
|
@endif
|
2015-05-24 16:33:03 -05:00
|
|
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
|
|
|
@include('partials.dashboard.errors')
|
|
|
|
|
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-03-12 23:56:08 +00:00
|
|
|
@if($appUrl = Setting::get('app_domain'))
|
|
|
|
<a href="{{ $appUrl }}"><img src="data:{{ $bannerType }};base64, {{ $bannerImage}}" class="banner-image img-responsive"></a>
|
|
|
|
@else
|
2015-01-17 19:23:35 +00:00
|
|
|
<img src="data:{{ $bannerType }};base64, {{ $bannerImage}}" class="banner-image img-responsive">
|
2015-03-12 23:56:08 +00:00
|
|
|
@endif
|
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>
|
2015-05-18 09:46:19 +01:00
|
|
|
<p>{!! $aboutApp !!}</p>
|
2014-12-31 14:59:46 +00:00
|
|
|
</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'))
|
2015-03-17 11:47:34 +00:00
|
|
|
@include('partials.metrics')
|
2015-01-21 02:32:18 -06:00
|
|
|
@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-04-23 08:12:42 +01:00
|
|
|
@foreach($allIncidents as $date => $incidents)
|
|
|
|
@include('partials.incidents', [compact($date), compact($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">
|
2015-05-08 11:06:02 +01:00
|
|
|
@if($canPageBackward)
|
2015-01-03 00:36:27 -06:00
|
|
|
<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-05-08 11:06:02 +01:00
|
|
|
@endif
|
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
|