2020-03-10 19:04:22 +00:00
|
|
|
<!DOCTYPE html>
|
2021-09-07 20:07:46 +01:00
|
|
|
<html lang="en">
|
2021-04-30 02:51:03 +01:00
|
|
|
<head>
|
|
|
|
{% block meta %}
|
2021-09-07 20:07:46 +01:00
|
|
|
<meta charset="utf-8">
|
2021-04-30 02:51:03 +01:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2021-09-07 20:07:46 +01:00
|
|
|
<link rel="home" href="/">
|
2021-04-30 02:51:03 +01:00
|
|
|
{% endblock %}
|
2021-07-20 13:18:57 +01:00
|
|
|
|
2021-04-30 02:51:03 +01:00
|
|
|
<title>
|
|
|
|
{% block title %}{% endblock %}
|
|
|
|
</title>
|
2021-07-20 13:18:57 +01:00
|
|
|
|
2021-04-30 02:51:03 +01:00
|
|
|
{% block stylesheets %}
|
2021-08-31 18:33:58 +01:00
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/reset.css') }}">
|
2021-07-20 13:18:57 +01:00
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/base.css') }}">
|
2021-08-31 18:33:58 +01:00
|
|
|
|
2021-04-30 02:51:03 +01:00
|
|
|
{% for stylesheet in show_stylesheets() %}
|
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/' ~ stylesheet) }}">
|
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|
2021-07-20 13:18:57 +01:00
|
|
|
|
2021-04-30 02:51:03 +01: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 %}
|
|
|
|
</head>
|
2021-08-09 13:25:08 +01:00
|
|
|
|
2021-09-07 15:23:41 +01:00
|
|
|
<body class="bg">
|
2021-09-07 20:07:46 +01:00
|
|
|
|
2021-09-08 20:09:38 +01:00
|
|
|
<aside id="accessibility-menu">
|
2021-09-07 20:07:46 +01:00
|
|
|
<h2 id="accessibility-menu-title" tabindex="0">{{ 'Accessibility menu.' | trans }}</h2>
|
2021-09-08 20:09:38 +01:00
|
|
|
<h3 tabindex="0">{{ 'Here you can find fast shortcuts to various page regions!' | trans }}</h3>
|
2021-09-07 20:07:46 +01:00
|
|
|
|
2021-08-30 17:56:59 +01:00
|
|
|
<br>
|
2021-09-07 20:07:46 +01:00
|
|
|
|
2021-09-08 20:09:38 +01:00
|
|
|
<p tabindex="0">{{ 'Provided the following keyboard shortcut, the link is targeted.' | trans }}</p>
|
2021-09-11 21:31:56 +01:00
|
|
|
<p tabindex="0">{{ 'Be mindful that another ' | trans }}<kbd>Tab</kbd>{{ ' is needed in order to focus.' | trans }}
|
|
|
|
</p>
|
2021-09-07 20:07:46 +01:00
|
|
|
|
2021-09-08 20:09:38 +01:00
|
|
|
<p tabindex="0">
|
2021-09-07 15:20:28 +01:00
|
|
|
{% if is_firefox() == true %}
|
|
|
|
<em><kbd>Alt</kbd> + <kbd>Shift</kbd> + "access key"</em>
|
|
|
|
{% else %}
|
|
|
|
<em><kbd>Alt</kbd> + "access key"</em>
|
|
|
|
{% endif %}
|
2021-08-31 18:33:58 +01:00
|
|
|
</p>
|
2021-08-30 17:56:59 +01:00
|
|
|
|
2021-09-08 20:09:38 +01:00
|
|
|
<a accesskey="z" href="#anchor-accessibility-menu" class="anchor-hidden"></a>
|
|
|
|
<a id="anchor-accessibility-menu" class="anchor-hidden"></a>
|
|
|
|
|
|
|
|
<p tabindex="0">
|
2021-09-11 21:31:56 +01:00
|
|
|
<strong>{{ 'The keyboard key ' | trans }}<kbd>Z</kbd>{{ ' accesses this menu.' | trans }}</strong>
|
2021-09-07 20:07:46 +01:00
|
|
|
<strong>{{ 'The other access keys are:' | trans }}</strong>
|
|
|
|
</p>
|
|
|
|
|
2021-09-07 15:23:41 +01:00
|
|
|
<nav>
|
|
|
|
<ul>
|
2021-09-11 21:31:56 +01:00
|
|
|
<li><a href="#anchor-left-panel" accesskey="h"><kbd>H</kbd>{{ ' for the Left panel.' | trans }}</a></li>
|
2021-09-07 20:07:46 +01:00
|
|
|
<li><a href="#anchor-main-content" accesskey="k"><kbd>K</kbd>{{ ' for the main content.' | trans }}</a></li>
|
|
|
|
<li><a href="#anchor-main-page" accesskey="j"><kbd>J</kbd>{{ ' for the main page.' | trans }}</a></li>
|
|
|
|
<li><a href="#anchor-right-panel" accesskey="l"><kbd>L</kbd>{{ ' for the right panel.' | trans }}</a></li>
|
2021-09-07 15:23:41 +01:00
|
|
|
</ul>
|
|
|
|
</nav>
|
2021-08-30 17:56:59 +01:00
|
|
|
</aside>
|
|
|
|
|
|
|
|
{% block header %}
|
|
|
|
<header id='header' role="banner">
|
|
|
|
{{ block("leftpanel", "stdgrid.html.twig") }}
|
|
|
|
|
2021-09-11 21:31:56 +01:00
|
|
|
<a role="navigation" id="anchor-main-page" class="anchor-hidden"
|
|
|
|
title="{{ 'Press tab to access selected region!' | trans }}"></a>
|
|
|
|
<a class="accessibility-target" id='instance' href="{{ path('main_public') }}" tabindex="0"
|
|
|
|
title="{{ 'This instance\'s name. Access public timeline.' | trans }}">
|
2021-09-07 15:23:41 +01:00
|
|
|
<h1>{{ icon('logo', 'icon icon-logo') | raw }}{{ config('site', 'name') }} </h1>
|
2021-08-30 17:56:59 +01:00
|
|
|
</a>
|
|
|
|
|
|
|
|
{% if app.user %}
|
|
|
|
{{ block("rightpanel", "stdgrid.html.twig") }}
|
|
|
|
{% endif %}
|
|
|
|
</header>
|
|
|
|
{% endblock header %}
|
|
|
|
|
|
|
|
<div class="container">
|
2021-09-11 21:31:56 +01:00
|
|
|
<a role="navigation" rel="help" id="anchor-main-content" class="anchor-hidden"
|
|
|
|
title="{{ 'Press tab to access selected region!' | trans }}"></a>
|
2021-09-08 17:27:28 +01:00
|
|
|
<div class='content accessibility-target'>
|
2021-08-30 17:56:59 +01:00
|
|
|
{% block nav %}{% endblock %}
|
|
|
|
{% block body %}{% endblock %}
|
|
|
|
{% block javascripts %}{% endblock javascripts %}
|
2021-07-20 13:18:57 +01:00
|
|
|
</div>
|
2021-08-30 17:56:59 +01:00
|
|
|
</div>
|
2021-04-30 02:51:03 +01:00
|
|
|
</body>
|
2020-03-10 19:04:22 +00:00
|
|
|
</html>
|
2021-04-28 22:25:35 +01:00
|
|
|
|