mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-25 17:57:28 +08:00
cf5d51e7b8
- Set proper semantic tags for main parts of content. - Removed focus-trap from tag manager/autosuggest. - Set better accessibility labelling on tag manager. - Updated collapsible sections to be keyboard navigatable. - Improved input focus styling to better fit theme. - Updated custom styled file picker to be accessible via keyboard. Related to #1320
49 lines
1.3 KiB
PHP
49 lines
1.3 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="{{ config('app.lang') }}" class="@yield('body-class')">
|
|
<head>
|
|
<title>{{ isset($pageTitle) ? $pageTitle . ' | ' : '' }}{{ setting('app-name') }}</title>
|
|
|
|
<!-- Meta -->
|
|
<meta name="viewport" content="width=device-width">
|
|
<meta name="token" content="{{ csrf_token() }}">
|
|
<meta name="base-url" content="{{ url('/') }}">
|
|
<meta charset="utf-8">
|
|
|
|
<!-- Styles and Fonts -->
|
|
<link rel="stylesheet" href="{{ versioned_asset('dist/styles.css') }}">
|
|
<link rel="stylesheet" media="print" href="{{ versioned_asset('dist/print-styles.css') }}">
|
|
|
|
@yield('head')
|
|
|
|
<!-- Custom Styles & Head Content -->
|
|
@include('partials.custom-styles')
|
|
@include('partials.custom-head')
|
|
|
|
@stack('head')
|
|
|
|
<!-- Translations for JS -->
|
|
@stack('translations')
|
|
|
|
</head>
|
|
<body class="@yield('body-class')">
|
|
|
|
@include('partials.notifications')
|
|
@include('common.header')
|
|
|
|
<div id="content" class="block">
|
|
@yield('content')
|
|
</div>
|
|
|
|
<div back-to-top class="primary-background print-hidden">
|
|
<div class="inner">
|
|
@icon('chevron-up') <span>{{ trans('common.back_to_top') }}</span>
|
|
</div>
|
|
</div>
|
|
|
|
@yield('bottom')
|
|
<script src="{{ versioned_asset('dist/app.js') }}"></script>
|
|
@yield('scripts')
|
|
|
|
</body>
|
|
</html>
|