New layout

This commit is contained in:
Joseph Cohen
2014-12-29 10:15:25 -06:00
parent 9fb5931fe6
commit b164d07ac1
28 changed files with 499 additions and 870 deletions
+43 -39
View File
@@ -1,45 +1,49 @@
@extends('layout.dashboard')
@section('content')
<div class="header">
<i class="fa fa-list-ul"></i> {{ Lang::get('cachet.dashboard.components') }}
</div>
<div class="row">
<div class="col-sm-12">
<h3>Create a component</h3>
@if($component = Session::get('component'))
<div class='alert alert-{{ $component->isValid() ? "success" : "danger" }}'>
@if($component->isValid())
<strong>Awesome.</strong> Component added.
@else
<strong>Whoops.</strong> Something went wrong with the component. {{ $component->getErrors() }}
@endif
</div>
@endif
<div class="header">
<span class="uppercase">
<i class="icons ion-ios-keypad"></i> {{ Lang::get('cachet.dashboard.components') }}
</span>
> <small>Create a component</small>
</div>
<div class="content-wrapper">
<div class="row">
<div class="col-sm-12">
@if($component = Session::get('component'))
<div class='alert alert-{{ $component->isValid() ? "success" : "danger" }}'>
@if($component->isValid())
<strong>Awesome.</strong> Component added.
@else
<strong>Whoops.</strong> Something went wrong with the component. {{ $component->getErrors() }}
@endif
</div>
@endif
<form name='CreateComponentForm' class='form-vertical' role='form' action='/dashboard/components/add' method='POST'>
<fieldset>
<div class='form-group'>
<label for='incident-name'>Name</label>
<input type='text' class='form-control' name='component[name]' id='component-name' required />
</div>
<div class='form-group'>
<label for='component-status'>Status</label>
<select name='component[status]' class='form-control'>
@foreach(Lang::get('cachet.component.status') as $statusID => $status)
<option value='{{ $statusID }}'>{{ $status }}</option>
@endforeach
</select>
</div>
<div class='form-group'>
<label>Description</label>
<textarea name='component[description]' class='form-control' rows='5'></textarea>
</div>
</fieldset>
<form name='CreateComponentForm' class='form-vertical' role='form' action='/dashboard/components/add' method='POST'>
<fieldset>
<div class='form-group'>
<label for='incident-name'>Name</label>
<input type='text' class='form-control' name='component[name]' id='component-name' required />
</div>
<div class='form-group'>
<label for='component-status'>Status</label>
<select name='component[status]' class='form-control'>
@foreach(Lang::get('cachet.component.status') as $statusID => $status)
<option value='{{ $statusID }}'>{{ $status }}</option>
@endforeach
</select>
</div>
<div class='form-group'>
<label>Description</label>
<textarea name='component[description]' class='form-control' rows='5'></textarea>
</div>
</fieldset>
<button type="submit" class="btn btn-primary">Submit</button>
<input type='hidden' name='component[user_id]' value='{{ Auth::user()->id }}' />
</form>
</div>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
<input type='hidden' name='component[user_id]' value='{{ Auth::user()->id }}' />
</form>
</div>
</div>
</div>
@stop
+1 -2
View File
@@ -2,11 +2,10 @@
@section('content')
<div class="header">
<i class="fa fa-list-ul"></i> {{ Lang::get('cachet.dashboard.components') }}
<i class="fa fa-list-ul"></i> {{ Lang::get('cachet.dashboard.components') }} > <small>Edit component</small>
</div>
<div class="row">
<div class="col-sm-12">
<h3>Edit component</h3>
@if($savedComponent = Session::get('savedComponent'))
<div class='alert alert-{{ $savedComponent->isValid() ? "success" : "danger" }}'>
@if($savedComponent->isValid())
+36 -29
View File
@@ -1,34 +1,41 @@
@extends('layout.dashboard')
@section('content')
<div class="header">
<i class="fa fa-list-ul"></i> {{ Lang::get('cachet.dashboard.components') }}
</div>
<div class="row">
<div class="col-sm-12">
<h3>Components</h3>
<ul class='list-group'>
@forelse($components as $component)
<li class='list-group-item'>
<div class='row'>
<div class='col-md-6'>
<strong>{{ $component->name }}</strong>
@if($component->description)
<p><small>{{ $component->description }}</small></p>
@endif
</div>
<div class='col-md-6'>
<ul class='nav nav-pills pull-right'>
<li role='presentation'><a href='/dashboard/components/{{ $component->id }}/edit' class='btn btn-info'>Edit</a></li>
<li role='presentation'><a href='/dashboard/components/{{ $component->id }}/delete' class='btn btn-danger'>Delete</a></li>
</ul>
</div>
</div>
</li>
@empty
<li class='list-group-item text-danger'>You should add a component.</li>
@endforelse
</ul>
</div>
<div class="header fixed">
<span class="uppercase">
<i class="icons ion-ios-keypad"></i> {{ Lang::get('cachet.dashboard.components') }}
</span>
<a class="btn btn-sm btn-success pull-right" href="{{ URL::route('dashboard.components.add') }}">
{{ Lang::get('cachet.dashboard.component-add') }}
</a>
<div class="clearfix"></div>
</div>
<div class="content-wrapper">
<div class="row">
<div class="col-sm-12">
<ul class='list-group'>
@forelse($components as $component)
<li class='list-group-item'>
<div class='row'>
<div class='col-md-6'>
<strong>{{ $component->name }}</strong>
@if($component->description)
<p><small>{{ $component->description }}</small></p>
@endif
</div>
<div class='col-md-6'>
<ul class='nav nav-pills pull-right'>
<li role='presentation'><a href='/dashboard/components/{{ $component->id }}/edit' class='btn btn-info'>Edit</a></li>
<li role='presentation'><a href='/dashboard/components/{{ $component->id }}/delete' class='btn btn-danger'>Delete</a></li>
</ul>
</div>
</div>
</li>
@empty
<li class='list-group-item text-danger'>You should add a component.</li>
@endforelse
</ul>
</div>
</div>
</div>
@stop
+56 -45
View File
@@ -2,52 +2,63 @@
@section('content')
<div class="header">
<i class="fa fa-dashboard"></i> {{ Lang::get('cachet.dashboard.incident-add') }}
<span class="uppercase">
<i class="icon icon ion-android-alert"></i> {{ Lang::get('cachet.dashboard.incident-add') }}
</span>
> <small>Create an Incident</small>
</div>
<div class="row">
<div class="col-md-12">
<h3>Create an Incident</h3>
<div class="content-wrapper">
<div class="row">
<div class="col-md-12">
@if($incident = Session::get('incident'))
<div class='alert alert-{{ $incident->isValid() ? "success" : "danger" }}'>
@if($incident->isValid())
<strong>Awesome.</strong> Incident added.
@else
<strong>Whoops.</strong> Something went wrong with the incident.
@endif
</div>
@endif
@if($incident = Session::get('incident'))
<div class='alert alert-{{ $incident->isValid() ? "success" : "danger" }}'>
@if($incident->isValid())
<strong>Awesome.</strong> Incident added.
@else
<strong>Whoops.</strong> Something went wrong with the incident.
@endif
</div>
@endif
{{ Form::open(['name' => 'IncidentForm', 'class' => 'form-vertical', 'role' => 'form']) }}
<fieldset>
<div class='form-group'>
<label for='incident-name'>Incident Name</label>
<input type='text' class='form-control' name='incident[name]' id='incident-name' required />
</div>
<div class='form-group'>
<label for='incident-name'>Incident Status</label><br />
<label class='radio-inline'>
<input type='radio' name='incident[status]' value='1' />
<i class="icon ion-flag"></i>
{{ Lang::get('cachet.incident.status')[1] }}
</label>
<label class='radio-inline'>
<input type='radio' name='incident[status]' value='2' />
<i class="icon ion-alert-circled"></i>
{{ Lang::get('cachet.incident.status')[2] }}
</label>
<label class='radio-inline'>
<input type='radio' name='incident[status]' value='3' />
<i class="icon ion-eye"></i>
{{ Lang::get('cachet.incident.status')[3] }}
</label>
<label class='radio-inline'>
<input type='radio' name='incident[status]' value='4' />
<i class="icon ion-checkmark"></i>
{{ Lang::get('cachet.incident.status')[4] }}
</label>
</div>
<div class='form-group'>
<label>Message</label>
<textarea name='incident[message]' class='form-control' rows='5'></textarea>
</div>
</fieldset>
{{ Form::open(['name' => 'IncidentForm', 'class' => 'form-vertical', 'role' => 'form']) }}
<fieldset>
<div class='form-group'>
<label for='incident-name'>Incident Name</label>
<input type='text' class='form-control' name='incident[name]' id='incident-name' required />
</div>
<div class='form-group'>
<label for='incident-name'>Incident Status</label><br />
<label class='radio-inline'>
<input type='radio' name='incident[status]' value='1' /> {{ Lang::get('cachet.incident.status')[1] }}
</label>
<label class='radio-inline'>
<input type='radio' name='incident[status]' value='2' /> {{ Lang::get('cachet.incident.status')[2] }}
</label>
<label class='radio-inline'>
<input type='radio' name='incident[status]' value='3' /> {{ Lang::get('cachet.incident.status')[3] }}
</label>
<label class='radio-inline'>
<input type='radio' name='incident[status]' value='4' /> {{ Lang::get('cachet.incident.status')[4] }}
</label>
</div>
<div class='form-group'>
<label>Message</label>
<textarea name='incident[message]' class='form-control' rows='5'></textarea>
</div>
</fieldset>
<input type='hidden' name='incident[user_id]' value='{{ Auth::user()->id }}' />
<button type="submit" class="btn btn-primary">Submit</button>
{{ Form::close() }}
</div>
</div>
<input type='hidden' name='incident[user_id]' value='{{ Auth::user()->id }}' />
<button type="submit" class="btn btn-success">Create</button>
{{ Form::close() }}
</div>
</div>
</div>
@stop
+32 -29
View File
@@ -2,36 +2,39 @@
@section('content')
<div class="header">
<i class="fa fa-dashboard"></i> {{ Lang::get('cachet.dashboard.incident-add') }}
<span class="uppercase">
<i class="fa fa-dashboard"></i> {{ Lang::get('cachet.dashboard.incident-add') }}
</span>
> <small>Create an Incident Template</small>
</div>
<div class="row">
<div class="col-md-12">
<h3>Create an Incident Template</h3>
<div class="content-wrapper">
<div class="row">
<div class="col-md-12">
@if($template = Session::get('template'))
<div class='alert alert-{{ $template->isValid() ? "success" : "danger" }}'>
@if($template->isValid())
<strong>Awesome.</strong> Template added.
@else
<strong>Whoops.</strong> Something went wrong with the template.
@endif
</div>
@endif
@if($template = Session::get('template'))
<div class='alert alert-{{ $template->isValid() ? "success" : "danger" }}'>
@if($template->isValid())
<strong>Awesome.</strong> Template added.
@else
<strong>Whoops.</strong> Something went wrong with the template.
@endif
</div>
@endif
{{ Form::open(['name' => 'IncidentTemplateForm', 'class' => 'form-vertical', 'role' => 'form']) }}
<fieldset>
<div class='form-group'>
<label for='template-name'>Template Name</label>
<input type='text' class='form-control' name='template[name]' id='template-name' required />
</div>
<div class='form-group'>
<label>Template</label>
<textarea name='template[template]' class='form-control' rows='5' required></textarea>
</div>
</fieldset>
{{ Form::open(['name' => 'IncidentTemplateForm', 'class' => 'form-vertical', 'role' => 'form']) }}
<fieldset>
<div class='form-group'>
<label for='template-name'>Template Name</label>
<input type='text' class='form-control' name='template[name]' id='template-name' required />
</div>
<div class='form-group'>
<label>Template</label>
<textarea name='template[template]' class='form-control' rows='5' required></textarea>
</div>
</fieldset>
<button type="submit" class="btn btn-primary">Create</button>
{{ Form::close() }}
</div>
</div>
<button type="submit" class="btn btn-success">Create</button>
{{ Form::close() }}
</div>
</div>
</div>
@stop
+38 -32
View File
@@ -1,38 +1,44 @@
@extends('layout.dashboard')
@section('content')
<div class="header">
<i class="fa fa-exclamation-triangle"></i> {{ Lang::get('cachet.dashboard.incidents') }}
<div class="header fixed">
<span class="uppercase">
<i class="icon icon ion-android-alert"></i> {{ Lang::get('cachet.dashboard.incidents') }}
</span>
<a class="btn btn-sm btn-success pull-right" href="{{ URL::route('dashboard.incidents.add') }}">
{{ Lang::get('cachet.dashboard.incident-add') }}
</a>
<div class="clearfix"></div>
</div>
<div class="row">
<div class="col-sm-12">
<h3>Incidents</h3>
<div class="content-wrapper">
<div class="row">
<div class="col-sm-12">
@if ($incidents->count() === 0)
<p>Woah! No incidents, your doing well!</p>
@else
<p>You have <strong>{{ $incidents->count() }}</strong> incidents.</p>
@endif
@if ($incidents->count() === 0)
<p class='lead'>Woah! No incidents, your doing well!</p>
@else
<p class='lead'>You have <strong>{{ $incidents->count() }}</strong> incidents.</p>
@endif
<ul class='list-group'>
@foreach($incidents as $incident)
<li class='list-group-item'>
<div class='row'>
<div class='col-md-6'>
<strong>{{ $incident->name }}</strong>
@if($incident->message)
<p><small>{{ Str::words($incident->message, 5) }}</small></p>
@endif
</div>
<div class='col-md-6'>
<ul class='nav nav-pills pull-right'>
<li role='presentation'><a href='/dashboard/incidents/{{ $incident->id }}/delete' class='btn btn-danger'>Delete</a></li>
</ul>
</div>
</div>
</li>
@endforeach
</ul>
</div>
</div>
<ul class='list-group'>
@foreach($incidents as $incident)
<li class='list-group-item'>
<div class='row'>
<div class='col-md-6'>
<strong>{{ $incident->name }}</strong>
@if($incident->message)
<p><small>{{ Str::words($incident->message, 5) }}</small></p>
@endif
</div>
<div class='col-md-6'>
<ul class='nav nav-pills pull-right'>
<li role='presentation'><a href='/dashboard/incidents/{{ $incident->id }}/delete' class='btn btn-danger'>Delete</a></li>
</ul>
</div>
</div>
</li>
@endforeach
</ul>
</div>
</div>
</div>
@stop
+10 -8
View File
@@ -2,13 +2,15 @@
@section('content')
<div class="header">
<i class="fa fa-dashboard"></i> {{ Lang::get('cachet.dashboard.dashboard') }}
</div>
<div class="row">
<div class="col-md-12">
<h3>Dashboard</h3>
<p class='lead'>Let's put cool things here.</p>
</div>
<span class="uppercase">
<i class="icon ion-speedometer"></i> {{ Lang::get('cachet.dashboard.dashboard') }}
</span>
</div>
<div class="content-wrapper">
<div class="row">
<div class="col-md-12">
<p class='lead'>Let's put cool things here.</p>
</div>
</div>
</div>
@stop
+84 -80
View File
@@ -2,93 +2,97 @@
@section('content')
<div class="header">
<i class="fa fa-cogs"></i> {{ Lang::get('cachet.dashboard.settings') }}
<span class="uppercase">
<i class="icon ion-gear-a"></i> {{ Lang::get('cachet.dashboard.settings') }}
</span>
</div>
<div class="row">
<div class="col-sm-12">
<form name='SettingsForm' class='form-vertical' role='form' action='/dashboard/settings' method='POST'>
<h3>Cachet Settings</h3>
<fieldset>
<div class='form-group'>
<label>Site Name</label>
<input type='text' class='form-control' name='app_name' value='{{ Setting::get("app_name") }}' required />
</div>
<div class='form-group'>
<label>Site URL</label>
<input type='text' class='form-control' name='app_domain' value='{{ Setting::get("app_domain") }}' required />
</div>
</fieldset>
<div class="content-wrapper">
<div class="row">
<div class="col-sm-12">
<form name='SettingsForm' class='form-vertical' role='form' action='/dashboard/settings' method='POST'>
<h4 class="sub-header">Cachet Settings</h4>
<fieldset>
<div class='form-group'>
<label>Site Name</label>
<input type='text' class='form-control' name='app_name' value='{{ Setting::get("app_name") }}' required />
</div>
<div class='form-group'>
<label>Site URL</label>
<input type='text' class='form-control' name='app_domain' value='{{ Setting::get("app_domain") }}' required />
</div>
</fieldset>
<h3>Server</h3>
<fieldset>
<h4 class="sub-header">Server</h4>
<fieldset>
</fieldset>
</fieldset>
<h3>Security</h3>
<fieldset>
<div class='form-group'>
<label>Allowed Domains <em>Comma Seperated</em></label>
<textarea class='form-control' name='allowed_domains' rows='5' placeholder='http://cachet.io, http://cachet.herokuapp.com'>{{ Setting::get('allowed_domains') }}</textarea>
<div class='help-block'>
The domain set above is automatically allowed by default.
</div>
</div>
</fieldset>
<h4 class="sub-header">Security</h4>
<fieldset>
<div class='form-group'>
<label>Allowed Domains <em>Comma Seperated</em></label>
<textarea class='form-control' name='allowed_domains' rows='5' placeholder='http://cachet.io, http://cachet.herokuapp.com'>{{ Setting::get('allowed_domains') }}</textarea>
<div class='help-block'>
The domain set above is automatically allowed by default.
</div>
</div>
</fieldset>
<h3>Mail</h3>
<fieldset>
<h4>Mail</h4>
<fieldset>
</fieldset>
</fieldset>
<h3>Theme</h3>
<fieldset>
<div class='form-group'>
<label>Background Color</label>
<div class='input-group'>
<div class='input-group-addon'>#</div>
<input type='text' pattern="^+([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$" class='form-control' maxlength="6" name='style.background_color' value='{{ Setting::get("style_background_color") }}' />
</div>
</div>
<div class='form-group'>
<label>Text Color</label>
<div class='input-group'>
<div class='input-group-addon'>#</div>
<input type='text' pattern="^+([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$" class='form-control' maxlength="6" name='style.text_color' value='{{ Setting::get("style_text_color") }}' />
</div>
</div>
<div class='form-group'>
<label>Success Warning Color</label>
<div class='input-group'>
<div class='input-group-addon'>#</div>
<input type='text' pattern="^+([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$" class='form-control' maxlength="6" name='style.success_warning_color' value='{{ Setting::get("style_success_warning_color") }}' />
</div>
</div>
<div class='form-group'>
<label>Error Warning Color</label>
<div class='input-group'>
<div class='input-group-addon'>#</div>
<input type='text' pattern="^+([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$" class='form-control' maxlength="6" name='style.error_warning_color' value='{{ Setting::get("style_error_warning_color") }}' />
</div>
</div>
<div class='form-group'>
<label>Info Warning Color</label>
<div class='input-group'>
<div class='input-group-addon'>#</div>
<input type='text' class='form-control' name='style.info_warning_color' value='{{ Setting::get("style_info_warning_color") }}' />
</div>
</div>
</fieldset>
<h4 class="sub-header">Theme</h4>
<fieldset>
<div class='form-group'>
<label>Background Color</label>
<div class='input-group'>
<div class='input-group-addon'>#</div>
<input type='text' pattern="^+([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$" class='form-control' maxlength="6" name='style.background_color' value='{{ Setting::get("style_background_color") }}' />
</div>
</div>
<div class='form-group'>
<label>Text Color</label>
<div class='input-group'>
<div class='input-group-addon'>#</div>
<input type='text' pattern="^+([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$" class='form-control' maxlength="6" name='style.text_color' value='{{ Setting::get("style_text_color") }}' />
</div>
</div>
<div class='form-group'>
<label>Success Warning Color</label>
<div class='input-group'>
<div class='input-group-addon'>#</div>
<input type='text' pattern="^+([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$" class='form-control' maxlength="6" name='style.success_warning_color' value='{{ Setting::get("style_success_warning_color") }}' />
</div>
</div>
<div class='form-group'>
<label>Error Warning Color</label>
<div class='input-group'>
<div class='input-group-addon'>#</div>
<input type='text' pattern="^+([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$" class='form-control' maxlength="6" name='style.error_warning_color' value='{{ Setting::get("style_error_warning_color") }}' />
</div>
</div>
<div class='form-group'>
<label>Info Warning Color</label>
<div class='input-group'>
<div class='input-group-addon'>#</div>
<input type='text' class='form-control' name='style.info_warning_color' value='{{ Setting::get("style_info_warning_color") }}' />
</div>
</div>
</fieldset>
<h3>Stylesheet</h3>
<fieldset>
<div class='form-group'>
<label>Custom Stylesheet</label>
<textarea class='form-control' name='stylesheet' rows='10'>{{ Setting::get('stylesheet') }}</textarea>
</div>
</fieldset>
<h4 class="sub-header">Stylesheet</h4>
<fieldset>
<div class='form-group'>
<label>Custom Stylesheet</label>
<textarea class='form-control' name='stylesheet' rows='10'>{{ Setting::get('stylesheet') }}</textarea>
</div>
</fieldset>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>
</div>
<button type="submit" class="btn btn-success">Save</button>
</form>
</div>
</div>
</div>
@stop
+1 -1
View File
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html>
@include('layout._head')
@include('partials.dashboard.head')
<body class="dashboard">
<div class="wrapper">
+1 -2
View File
@@ -1,9 +1,8 @@
<!DOCTYPE html>
<html>
@include('layout._head')
@include('partials.dashboard.head')
<body class="dashboard">
@include('partials.dashboard.nav')
<div class="wrapper">
@include('partials.dashboard.sidebar')
<div class="content">
+12 -16
View File
@@ -11,35 +11,31 @@
<div class="username">{{ Auth::user()->username }}</div>
</div>
</div>
<div class="clearfix"></div>
<div class="quick-add-incident">
<a class="btn btn-block btn-default uppercase" href="{{ URL::route('dashboard.incidents.add') }}">
{{ Lang::get('cachet.dashboard.incident-add') }}
</a>
</div>
<ul>
<li class="{{ Request::is('dashboard') ? 'active' : '' }}">
<a href="{{ URL::route('dashboard') }}">
<i class="fa fa-dashboard"></i> {{ Lang::get('cachet.dashboard.dashboard') }}
<i class="icon ion-speedometer"></i> {{ Lang::get('cachet.dashboard.dashboard') }}
</a>
</li>
<li class="{{ Request::is('dashboard/incidents') ? 'active' : '' }}">
<a href="{{ URL::route('dashboard.incidents') }}">
<i class="fa fa-exclamation-triangle"></i> {{ Lang::get('cachet.dashboard.incidents') }}
<i class="icon ion-android-alert"></i> {{ Lang::get('cachet.dashboard.incidents') }}
</a>
</li>
<li class="{{ Request::is('dashboard/incidents/add') ? 'active' : '' }} sub-nav-item">
<a href="{{ URL::route('dashboard.incidents.add') }}">
<i class="fa fa-plus"></i> {{ Lang::get('cachet.dashboard.incident-add') }}
</a>
</li>
<li class="{{ Request::is('dashboard/incidents/template') ? 'active' : '' }} sub-nav-item">
{{-- <li class="{{ Request::is('dashboard/incidents/template') ? 'active' : '' }} sub-nav-item">
<a href="{{ URL::route('dashboard.incidents.template') }}">
<i class="fa fa-plus"></i> {{ Lang::get('cachet.dashboard.incident-create-template') }}
</a>
</li>
</li> --}}
<li class="{{ Request::is('dashboard/components') ? 'active' : '' }}">
<a href="{{ URL::route('dashboard.components') }}">
<i class="fa fa-list-ul"></i> {{ Lang::get('cachet.dashboard.components') }}
</a>
</li>
<li class="{{ Request::is('dashboard/components/add') ? 'active' : '' }} sub-nav-item">
<a href="{{ URL::route('dashboard.components.add') }}">
<i class="fa fa-plus"></i> {{ Lang::get('cachet.dashboard.component-add') }}
<i class="icons ion-ios-keypad"></i> {{ Lang::get('cachet.dashboard.components') }}
</a>
</li>
{{-- <li class="{{ Request::is('dashboard/metrics') ? 'active' : '' }}">
@@ -59,7 +55,7 @@
</li> --}}
<li class="{{ Request::is('dashboard/settings') ? 'active' : '' }}">
<a href="{{ URL::route('dashboard.settings') }}">
<i class="fa fa-cogs"></i> {{ Lang::get('cachet.dashboard.settings') }}
<i class="icon ion-gear-a"></i> {{ Lang::get('cachet.dashboard.settings') }}
</a>
</li>
</ul>