]> BookStack Code Mirror - bookstack/blob - resources/views/users/account/layout.blade.php
Users: Built out auth page for my-account section
[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                         <a href="{{ url('/my-account/notifications') }}" class="{{ $category === 'notifications' ? 'active' : '' }}">@icon('notifications') {{ trans('preferences.notifications') }}</a>
16                     </nav>
17                 </div>
18             </div>
19
20             <div>
21                 @yield('main')
22             </div>
23
24         </div>
25
26     </div>
27 @stop