2022-11-08 16:17:45 -05:00
|
|
|
@extends('layouts.simple')
|
|
|
|
|
|
|
|
@section('body')
|
|
|
|
<div class="container small my-xl">
|
|
|
|
|
|
|
|
<section class="card content-wrap">
|
|
|
|
<form action="{{ url('/preferences/shortcuts') }}" method="post">
|
|
|
|
{{ method_field('put') }}
|
|
|
|
{{ csrf_field() }}
|
|
|
|
|
2022-11-10 05:25:28 -05:00
|
|
|
<h1 class="list-heading">{{ trans('preferences.shortcuts_interface') }}</h1>
|
2022-11-08 16:17:45 -05:00
|
|
|
|
|
|
|
<div class="flex-container-row items-center gap-m wrap mb-m">
|
|
|
|
<p class="flex mb-none min-width-m text-small text-muted">
|
2022-11-10 05:25:28 -05:00
|
|
|
{{ trans('preferences.shortcuts_toggle_desc') }}
|
|
|
|
{{ trans('preferences.shortcuts_customize_desc') }}
|
2022-11-08 16:17:45 -05:00
|
|
|
</p>
|
2022-11-09 09:40:44 -05:00
|
|
|
<div class="flex min-width-m text-m-center">
|
2022-11-08 16:17:45 -05:00
|
|
|
@include('form.toggle-switch', [
|
|
|
|
'name' => 'enabled',
|
|
|
|
'value' => $enabled,
|
2022-11-10 05:25:28 -05:00
|
|
|
'label' => trans('preferences.shortcuts_toggle_label'),
|
2022-11-08 16:17:45 -05:00
|
|
|
])
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
2022-11-10 05:25:28 -05:00
|
|
|
<h2 class="list-heading mb-m">{{ trans('preferences.shortcuts_section_navigation') }}</h2>
|
2022-11-08 16:17:45 -05:00
|
|
|
<div class="flex-container-row wrap gap-m mb-xl">
|
|
|
|
<div class="flex min-width-l item-list">
|
2022-11-10 05:25:28 -05:00
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('common.homepage'), 'id' => 'home_view'])
|
2022-11-08 16:17:45 -05:00
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('entities.shelves'), 'id' => 'shelves_view'])
|
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('entities.books'), 'id' => 'books_view'])
|
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('settings.settings'), 'id' => 'settings_view'])
|
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('entities.my_favourites'), 'id' => 'favourites_view'])
|
|
|
|
</div>
|
|
|
|
<div class="flex min-width-l item-list">
|
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('common.view_profile'), 'id' => 'profile_view'])
|
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('auth.logout'), 'id' => 'logout'])
|
2022-11-10 05:25:28 -05:00
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('common.global_search'), 'id' => 'global_search'])
|
2022-11-08 16:17:45 -05:00
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('common.next'), 'id' => 'next'])
|
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('common.previous'), 'id' => 'previous'])
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-11-10 05:25:28 -05:00
|
|
|
<h2 class="list-heading mb-m">{{ trans('preferences.shortcuts_section_actions') }}</h2>
|
2022-11-08 16:17:45 -05:00
|
|
|
<div class="flex-container-row wrap gap-m mb-xl">
|
|
|
|
<div class="flex min-width-l item-list">
|
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('common.new'), 'id' => 'new'])
|
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('common.edit'), 'id' => 'edit'])
|
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('common.copy'), 'id' => 'copy'])
|
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('common.delete'), 'id' => 'delete'])
|
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('common.favourite'), 'id' => 'favourite'])
|
|
|
|
</div>
|
|
|
|
<div class="flex min-width-l item-list">
|
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('entities.export'), 'id' => 'export'])
|
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('common.sort'), 'id' => 'sort'])
|
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('entities.permissions'), 'id' => 'permissions'])
|
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('common.move'), 'id' => 'move'])
|
|
|
|
@include('users.preferences.parts.shortcut-control', ['label' => trans('entities.revisions'), 'id' => 'revisions'])
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-11-10 05:25:28 -05:00
|
|
|
<p class="text-small text-muted">{{ trans('preferences.shortcuts_overlay_desc') }}</p>
|
2022-11-08 16:17:45 -05:00
|
|
|
|
|
|
|
<div class="form-group text-right">
|
2022-11-10 05:25:28 -05:00
|
|
|
<button class="button">{{ trans('preferences.shortcuts_save') }}</button>
|
2022-11-08 16:17:45 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
@stop
|