]> BookStack Code Mirror - bookstack/blob - resources/views/users/account/layout.blade.php
My Account: Updated and started adding to tests
[bookstack] / resources / views / users / account / layout.blade.php
1 @extends('layouts.simple')
2
3 @section('body')
4     <div class="container medium">
5
6         <div class="grid gap-xxl right-focus my-xl">
7
8             <div>
9                 <div class="sticky-top-m">
10                     <h5>{{ trans('preferences.my_account') }}</h5>
11                     <nav class="active-link-list in-sidebar">
12                         <a href="{{ url('/my-account/profile') }}" class="{{ $category === 'profile' ? 'active' : '' }}">@icon('user') {{ trans('preferences.profile') }}</a>
13                         <a href="{{ url('/my-account/auth') }}" class="{{ $category === 'auth' ? 'active' : '' }}">@icon('security') {{ trans('preferences.auth') }}</a>
14                         <a href="{{ url('/my-account/shortcuts') }}" class="{{ $category === 'shortcuts' ? 'active' : '' }}">@icon('shortcuts') {{ trans('preferences.shortcuts_interface') }}</a>
15                         @if(userCan('receive-notifications'))
16                             <a href="{{ url('/my-account/notifications') }}" class="{{ $category === 'notifications' ? 'active' : '' }}">@icon('notifications') {{ trans('preferences.notifications') }}</a>
17                         @endif
18                     </nav>
19                 </div>
20             </div>
21
22             <div>
23                 @yield('main')
24             </div>
25
26         </div>
27
28     </div>
29 @stop