mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-24 11:43:33 +01:00
83 lines
3.8 KiB
PHP
83 lines
3.8 KiB
PHP
@if(Auth::check())
|
|
<div class="sidebar">
|
|
<div class='sidebar-inner'>
|
|
<div class="profile">
|
|
<div class='row'>
|
|
<div class='col-xs-3'>
|
|
<div class="avatar">
|
|
<a href="{{ URL::to('dashboard/user') }}">
|
|
<img src="{{ Auth::user()->gravatar }}" alt="">
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class='col-xs-9'>
|
|
<div class="profile pull-left">
|
|
<div class="username">{{ Auth::user()->username }}</div>
|
|
</div>
|
|
</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 {{ set_active('dashboard') }}>
|
|
<a href="{{ URL::route('dashboard') }}">
|
|
<i class="icon ion-speedometer"></i> {{ Lang::get('cachet.dashboard.dashboard') }}
|
|
</a>
|
|
</li>
|
|
<li {{ set_active('dashboard/incidents*') }}>
|
|
<a href="{{ URL::route('dashboard.incidents') }}">
|
|
<i class="icon ion-android-alert"></i> {{ Lang::get('cachet.dashboard.incidents') }}
|
|
</a>
|
|
</li>
|
|
{{-- <li {{ set_active('dashboard/incidents/templates') }}>
|
|
<a href="{{ URL::route('dashboard.incidents.template') }}">
|
|
<i class="fa fa-plus"></i> {{ Lang::get('cachet.dashboard.incident-create-template') }}
|
|
</a>
|
|
</li> --}}
|
|
<li {{ set_active('dashboard/components*') }}>
|
|
<a href="{{ URL::route('dashboard.components') }}">
|
|
<i class="icons ion-ios-keypad"></i> {{ Lang::get('cachet.dashboard.components') }}
|
|
</a>
|
|
</li>
|
|
{{-- <li {{ set_active('dashboard/metrics') }}>
|
|
<a href="{{ URL::route('dashboard.metrics') }}">
|
|
<i class="ion ion-stats-bats"></i> {{ Lang::get('cachet.dashboard.metrics') }}
|
|
</a>
|
|
</li>
|
|
<li {{ set_active('dashboard/notifications') }}>
|
|
<a href="{{ URL::route('dashboard.notifications') }}">
|
|
<i class="ion ion-email"></i> {{ Lang::get('cachet.dashboard.notifications') }}
|
|
</a>
|
|
</li> --}}
|
|
<li {{ set_active('dashboard/settings*') }}>
|
|
<a href="{{ URL::route('dashboard.settings.setup') }}">
|
|
<i class="icon ion-gear-a"></i> {{ Lang::get('cachet.dashboard.settings') }}
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
<div class="bottom-menu-sidebar">
|
|
<div class="text-center">
|
|
<img width="165" src="{{ url('img/cachet-logo.svg') }}" alt="Cachet"/>
|
|
</div>
|
|
<br/>
|
|
<ul>
|
|
<li data-toggle="tooltip" data-placement="top" title="{{ Lang::get('cachet.dashboard.help') }}">
|
|
<a href="https://cachethq.github.io" target="_blank"><i class="icon ion-help"></i></a>
|
|
</li>
|
|
<li data-toggle="tooltip" data-placement="top" title="{{ Lang::get('cachet.dashboard.status_page') }}">
|
|
<a href="{{ URL::route('status-page') }}"><i class="icon ion-monitor"></i></a>
|
|
</li>
|
|
<li data-toggle="tooltip" data-placement="top" title="{{ Lang::get('cachet.logout') }}">
|
|
<a href="{{ URL::route('logout') }}"><i class="icon ion-log-out"></i></a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endif
|