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