2020-03-11 04:04:22 +09:00
|
|
|
<!DOCTYPE html>
|
2021-09-08 04:07:46 +09:00
|
|
|
<html lang="en">
|
2021-04-30 10:51:03 +09:00
|
|
|
<head>
|
|
|
|
{% block meta %}
|
2021-11-17 08:47:25 +09:00
|
|
|
{# This is far from perfect. The response headers should already come with this. #}
|
2021-12-02 05:13:24 +09:00
|
|
|
{% if app.request.server.get('APP_ENV') not in ['test', 'dev'] %}
|
|
|
|
<meta http-equiv="Content-Security-Policy" content="default-src https:">{% endif %}
|
2021-09-08 04:07:46 +09:00
|
|
|
<meta charset="utf-8">
|
2021-04-30 10:51:03 +09:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2021-09-08 04:07:46 +09:00
|
|
|
<link rel="home" href="/">
|
2021-04-30 10:51:03 +09:00
|
|
|
{% endblock %}
|
2021-07-20 21:18:57 +09:00
|
|
|
|
2021-04-30 10:51:03 +09:00
|
|
|
<title>
|
|
|
|
{% block title %}{% endblock %}
|
|
|
|
</title>
|
2021-07-20 21:18:57 +09:00
|
|
|
|
2021-04-30 10:51:03 +09:00
|
|
|
{% block stylesheets %}
|
2022-01-17 11:29:40 +09:00
|
|
|
<link rel='preload' type='text/css' as='style'
|
|
|
|
href="{{ asset('assets/default_theme/fonts/opensans/opensans.css') }}">
|
2022-01-13 01:29:02 +09:00
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/default_theme/fonts/opensans/opensans.css') }}">
|
|
|
|
|
2022-01-17 11:29:40 +09:00
|
|
|
<link rel='preload' type='text/css' as='style'
|
|
|
|
href="{{ asset('assets/default_theme/fonts/poppins/poppins.css') }}">
|
2022-01-13 01:29:02 +09:00
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/default_theme/fonts/poppins/poppins.css') }}">
|
|
|
|
|
2021-11-28 04:54:14 +09:00
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/default_theme/css/root.css') }}">
|
2022-01-13 01:29:02 +09:00
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/default_theme/css/reset.css') }}">
|
2021-11-28 04:54:14 +09:00
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/default_theme/css/base.css') }}">
|
2022-01-13 01:29:02 +09:00
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/default_theme/css/widgets/buttons.css') }}">
|
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/default_theme/css/widgets/sections.css') }}">
|
2021-09-01 02:33:58 +09:00
|
|
|
|
2021-10-06 08:34:27 +09:00
|
|
|
{% for stylesheet in show_stylesheets(app.request.get('_route')) %}
|
2021-11-28 04:54:14 +09:00
|
|
|
<link rel='preload' type='text/css' as='style' href="{{ preload(asset(stylesheet), { as: 'style' }) }}">
|
|
|
|
<link rel='stylesheet' type='text/css' as='style' href="{{ asset(stylesheet) }}">
|
2021-04-30 10:51:03 +09:00
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|
2021-07-20 21:18:57 +09:00
|
|
|
|
2021-04-30 10:51:03 +09:00
|
|
|
{% for arr in handle_event('ShowHeadElements', app.request) %}
|
|
|
|
{# Only one element, but has dynamic value, can't access it directly #}
|
|
|
|
{% for type, element in arr %}
|
|
|
|
<{{ type }} rel="{{ element['rel'] }}" type="{{ element['type'] }}" href="{{ element['href'] }}" title="{{ element['title'] }}">
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
2022-01-08 02:53:55 +09:00
|
|
|
|
|
|
|
{% for block in handle_event('AppendToHead', app.request) %}
|
|
|
|
{{ block | raw }}
|
|
|
|
{% endfor %}
|
2021-04-30 10:51:03 +09:00
|
|
|
</head>
|
2021-08-09 21:25:08 +09:00
|
|
|
|
2021-12-03 06:46:02 +09:00
|
|
|
<body>
|
2021-09-08 04:07:46 +09:00
|
|
|
|
2021-11-26 22:04:45 +09:00
|
|
|
<aside class="accessibility-menu">
|
2022-01-17 11:29:40 +09:00
|
|
|
<strong class="accessibility-menu-title" tabindex="0">{{ 'Accessibility menu' | trans }}</strong>
|
2021-09-17 07:53:38 +09:00
|
|
|
<br>
|
2022-01-17 11:29:40 +09:00
|
|
|
<section tabindex="0">
|
|
|
|
<p>{{ 'Here you can find fast shortcuts to various page regions!' | trans }}</p>
|
|
|
|
<br>
|
|
|
|
<p>
|
|
|
|
{{ 'Be mindful that a ' | trans }}<em><kbd>Tab</kbd></em>{{ ' followed by a ' | trans }}<em><kbd>Space</kbd></em>
|
|
|
|
{{ ' is needed in order to focus each panel. Other anchors do only require a ' | trans }} <em><kbd>Tab</kbd></em>
|
|
|
|
{{ ' however. ' | trans }}
|
|
|
|
</p>
|
|
|
|
</section>
|
2021-08-31 01:56:59 +09:00
|
|
|
|
2022-01-17 11:29:40 +09:00
|
|
|
<section tabindex="0">
|
|
|
|
<p>{% trans %}The accesskey default shortcut keybinding is as follows: {% endtrans %}</p>
|
|
|
|
<p>
|
|
|
|
{% if is_firefox() == true %}
|
|
|
|
<em><kbd>Alt</kbd> + <kbd>Shift</kbd></em>
|
|
|
|
{% else %}
|
|
|
|
<em><kbd>Alt</kbd></em>
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
</section>
|
2021-09-08 04:07:46 +09:00
|
|
|
|
2022-01-17 11:29:40 +09:00
|
|
|
<section tabindex="0">
|
|
|
|
<a id="anchor-accessibility-menu" accesskey="z" href="#anchor-accessibility-menu">
|
|
|
|
<strong tabindex="0">{% trans %}Combined with the previous keybinding, the keyboard key
|
|
|
|
<kbd>Z</kbd> returns focus to this menu.{% endtrans %}</strong>
|
|
|
|
<strong tabindex="0">{% trans %}Further access keys are provided via:{% endtrans %}</strong>
|
|
|
|
</a>
|
|
|
|
<nav>
|
|
|
|
<ul>
|
|
|
|
<li><a href="#anchor-left-panel" accesskey="s">{% trans %}Left panel is accessed with
|
|
|
|
<kbd>S</kbd>{% endtrans %}</a></li>
|
|
|
|
<li><a href="#anchor-main-content" accesskey="n">{% trans %}Main content is accessed with
|
|
|
|
<kbd>N</kbd>{% endtrans %}</a></li>
|
|
|
|
<li><a href="#anchor-main-page" accesskey="y">{% trans %}Main instance page is accessed with
|
|
|
|
<kbd>Y</kbd>{% endtrans %}</a></li>
|
|
|
|
<li><a href="#anchor-right-panel" accesskey="j">{% trans %}Finally, the right panel is accessed with
|
|
|
|
<kbd>J</kbd>{% endtrans %}</a></li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</section>
|
2021-08-31 01:56:59 +09:00
|
|
|
</aside>
|
|
|
|
|
|
|
|
{% block header %}
|
2021-10-04 20:17:14 +09:00
|
|
|
{% set extra_header_forms = handle_event('AddExtraHeaderForms', request) %}
|
|
|
|
|
2021-10-20 04:33:01 +09:00
|
|
|
<header class="page-header">
|
2021-08-31 01:56:59 +09:00
|
|
|
{{ block("leftpanel", "stdgrid.html.twig") }}
|
|
|
|
|
2021-12-02 05:13:24 +09:00
|
|
|
<a id="anchor-main-page" class="anchor-hidden"
|
|
|
|
title="{{ 'Press tab to access instance\'s main page.' | trans }}"></a>
|
2021-12-23 22:27:31 +09:00
|
|
|
<a class="accessibility-target header-instance" href="{{ path('feed_public') }}" tabindex="0"
|
2021-12-02 05:13:24 +09:00
|
|
|
title="{{ 'This instance\'s name. Access public feed.' | trans }}">
|
2021-10-26 22:47:28 +09:00
|
|
|
<h1>{{ icon('logo', 'icon icon-logo') | raw }}{{ config('site', 'name') }}</h1>
|
2021-08-31 01:56:59 +09:00
|
|
|
</a>
|
|
|
|
|
2021-10-20 04:33:01 +09:00
|
|
|
<details class="header-extra-actions">
|
2021-10-04 20:17:14 +09:00
|
|
|
<summary>
|
2021-12-02 05:13:24 +09:00
|
|
|
{{ icon('kebab', 'icon icon-details-open') | raw }}
|
2021-10-04 20:17:14 +09:00
|
|
|
</summary>
|
2021-10-20 04:33:01 +09:00
|
|
|
<div class="header-extra-actions-open">
|
2021-10-06 00:03:17 +09:00
|
|
|
{% for extra_form in extra_header_forms %}
|
|
|
|
{{ form(extra_form) }}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2021-10-04 20:17:14 +09:00
|
|
|
</details>
|
2021-09-27 18:39:58 +09:00
|
|
|
|
2021-12-02 06:15:31 +09:00
|
|
|
{{ block("rightpanel", "stdgrid.html.twig") }}
|
2021-08-31 01:56:59 +09:00
|
|
|
</header>
|
|
|
|
{% endblock header %}
|
|
|
|
|
2021-10-20 04:33:01 +09:00
|
|
|
<div class="page-content-wrapper">
|
2021-12-02 05:13:24 +09:00
|
|
|
<a role="navigation" rel="help" id="anchor-main-content" class="anchor-hidden"
|
|
|
|
title="{{ 'Press tab to access main content.' | trans }}"></a>
|
2021-10-20 04:33:01 +09:00
|
|
|
<div class='page-content accessibility-target'>
|
2021-08-31 01:56:59 +09:00
|
|
|
{% block nav %}{% endblock %}
|
|
|
|
{% block body %}{% endblock %}
|
|
|
|
{% block javascripts %}{% endblock javascripts %}
|
2021-07-20 21:18:57 +09:00
|
|
|
</div>
|
2021-08-31 01:56:59 +09:00
|
|
|
</div>
|
2021-04-30 10:51:03 +09:00
|
|
|
</body>
|
2020-03-11 04:04:22 +09:00
|
|
|
</html>
|
2021-04-29 06:25:35 +09:00
|
|
|
|