You can now provide an "about this site" descriptive text

This commit is contained in:
James Brooks
2014-12-31 14:59:46 +00:00
parent e76dbf1edb
commit 5d3869a43d
7 changed files with 44 additions and 8 deletions

View File

@@ -49,6 +49,14 @@ body.status-page {
margin-top: 10px; margin-top: 10px;
} }
.about-app {
margin-top: 40px;
margin-bottom: 40px;
p {
font-size: 1.2em;
}
}
.alert { .alert {
border-radius: 0; border-radius: 0;
font-size: 1.2em; font-size: 1.2em;

View File

@@ -26,13 +26,15 @@ return [
'bad' => 'Some systems are experiencing issues.', 'bad' => 'Some systems are experiencing issues.',
], ],
// Other // Other
'powered_by' => ':app Status Page is powered by <a href="https://cachethq.github.io">Cachet</a>.', 'powered_by' => ':app Status Page is powered by <a href="https://cachethq.github.io">Cachet</a>.',
'login_message' => 'Welcome Back!', 'about_this_site' => 'About this site',
'login' => 'Login', 'login_message' => 'Welcome Back!',
'logout' => 'Logout', 'login' => 'Login',
'logged_in' => 'You\'re logged in.', 'logout' => 'Logout',
'setup' => 'Setup Cachet', 'logged_in' => 'You\'re logged in.',
'no_incidents' => 'No incidents reported.', 'setup' => 'Setup Cachet',
'no_incidents' => 'No incidents reported.',
'past_incidents' => 'Past incidents',
// Dashboard // Dashboard
'dashboard' => [ 'dashboard' => [
'dashboard' => 'Dashboard', 'dashboard' => 'Dashboard',

View File

@@ -39,6 +39,14 @@
</div> </div>
</div> </div>
</div> </div>
<div class='row'>
<div class='col-xs-12'>
<div class='form-group'>
<label>About this page</label>
<textarea name='app_about' class='form-control' rows='4'>{{ Setting::get("app_about") }}</textarea>
</div>
</div>
</div>
<div class='row'> <div class='row'>
<div class='col-xs-12'> <div class='col-xs-12'>
<div class='form-group'> <div class='form-group'>

View File

@@ -12,12 +12,20 @@
<div class='alert alert-{{ $systemStatus }}'>{{ $systemMessage }}</div> <div class='alert alert-{{ $systemStatus }}'>{{ $systemMessage }}</div>
@if($aboutApp = Setting::get('app_about'))
<div class='about-app'>
<h1>{{ Lang::get('cachet.about_this_site') }}</h1>
<p>{{ $aboutApp }}</p>
</div>
@endif
@include('partials.components') @include('partials.components')
{{-- @if(Setting::get('display_graphs')) {{-- @if(Setting::get('display_graphs'))
@include('partials.graphs') @include('partials.graphs')
@endif --}} @endif --}}
<h1>{{ Lang::get('cachet.past_incidents') }}</h1>
@foreach(range(0, 7) as $i => $v) @foreach(range(0, 7) as $i => $v)
@include('partials.incident', array('i', $i)) @include('partials.incident', array('i', $i))
@endforeach @endforeach

View File

@@ -4815,6 +4815,11 @@ body.status-page {
margin-top: 20px; } margin-top: 20px; }
body.status-page .page-header { body.status-page .page-header {
margin-top: 10px; } margin-top: 10px; }
body.status-page .about-app {
margin-top: 40px;
margin-bottom: 40px; }
body.status-page .about-app p {
font-size: 1.2em; }
body.status-page .alert { body.status-page .alert {
border-radius: 0; border-radius: 0;
font-size: 1.2em; } font-size: 1.2em; }

View File

@@ -4815,6 +4815,11 @@ body.status-page {
margin-top: 20px; } margin-top: 20px; }
body.status-page .page-header { body.status-page .page-header {
margin-top: 10px; } margin-top: 10px; }
body.status-page .about-app {
margin-top: 40px;
margin-bottom: 40px; }
body.status-page .about-app p {
font-size: 1.2em; }
body.status-page .alert { body.status-page .alert {
border-radius: 0; border-radius: 0;
font-size: 1.2em; } font-size: 1.2em; }

View File

@@ -1,4 +1,4 @@
{ {
"css/all.css": "css/all-16923627.css", "css/all.css": "css/all-e92d01c2.css",
"js/all.js": "js/all-4554a981.js" "js/all.js": "js/all-4554a981.js"
} }