1 @extends('users.account.layout')
4 <section class="card content-wrap">
5 <form action="{{ url('/my-account/shortcuts') }}" method="post">
6 {{ method_field('put') }}
9 <h1 class="list-heading">{{ trans('preferences.shortcuts_interface') }}</h1>
11 <div class="flex-container-row items-center gap-m wrap mb-m">
12 <p class="flex mb-none min-width-m text-small text-muted">
13 {{ trans('preferences.shortcuts_toggle_desc') }}
14 {{ trans('preferences.shortcuts_customize_desc') }}
16 <div class="flex min-width-m text-m-center">
17 @include('form.toggle-switch', [
20 'label' => trans('preferences.shortcuts_toggle_label'),
27 <h2 class="list-heading mb-m">{{ trans('preferences.shortcuts_section_navigation') }}</h2>
28 <div class="flex-container-row wrap gap-m mb-xl">
29 <div class="flex min-width-l item-list">
30 @include('users.account.parts.shortcut-control', ['label' => trans('common.homepage'), 'id' => 'home_view'])
31 @include('users.account.parts.shortcut-control', ['label' => trans('entities.shelves'), 'id' => 'shelves_view'])
32 @include('users.account.parts.shortcut-control', ['label' => trans('entities.books'), 'id' => 'books_view'])
33 @include('users.account.parts.shortcut-control', ['label' => trans('settings.settings'), 'id' => 'settings_view'])
34 @include('users.account.parts.shortcut-control', ['label' => trans('entities.my_favourites'), 'id' => 'favourites_view'])
36 <div class="flex min-width-l item-list">
37 @include('users.account.parts.shortcut-control', ['label' => trans('common.view_profile'), 'id' => 'profile_view'])
38 @include('users.account.parts.shortcut-control', ['label' => trans('auth.logout'), 'id' => 'logout'])
39 @include('users.account.parts.shortcut-control', ['label' => trans('common.global_search'), 'id' => 'global_search'])
40 @include('users.account.parts.shortcut-control', ['label' => trans('common.next'), 'id' => 'next'])
41 @include('users.account.parts.shortcut-control', ['label' => trans('common.previous'), 'id' => 'previous'])
45 <h2 class="list-heading mb-m">{{ trans('preferences.shortcuts_section_actions') }}</h2>
46 <div class="flex-container-row wrap gap-m mb-xl">
47 <div class="flex min-width-l item-list">
48 @include('users.account.parts.shortcut-control', ['label' => trans('common.new'), 'id' => 'new'])
49 @include('users.account.parts.shortcut-control', ['label' => trans('common.edit'), 'id' => 'edit'])
50 @include('users.account.parts.shortcut-control', ['label' => trans('common.copy'), 'id' => 'copy'])
51 @include('users.account.parts.shortcut-control', ['label' => trans('common.delete'), 'id' => 'delete'])
52 @include('users.account.parts.shortcut-control', ['label' => trans('common.favourite'), 'id' => 'favourite'])
54 <div class="flex min-width-l item-list">
55 @include('users.account.parts.shortcut-control', ['label' => trans('entities.export'), 'id' => 'export'])
56 @include('users.account.parts.shortcut-control', ['label' => trans('common.sort'), 'id' => 'sort'])
57 @include('users.account.parts.shortcut-control', ['label' => trans('entities.permissions'), 'id' => 'permissions'])
58 @include('users.account.parts.shortcut-control', ['label' => trans('common.move'), 'id' => 'move'])
59 @include('users.account.parts.shortcut-control', ['label' => trans('entities.revisions'), 'id' => 'revisions'])
63 <p class="text-small text-muted">{{ trans('preferences.shortcuts_overlay_desc') }}</p>
65 <div class="form-group text-right">
66 <button class="button">{{ trans('preferences.shortcuts_save') }}</button>