2021-09-25 19:17:56 +09:00
|
|
|
{% block rightpanel %}
|
2021-10-20 04:33:01 +09:00
|
|
|
<label class="panel-right-icon" for="panel-right-toggle" aria-hidden="true" tabindex="-1">{{ icon('notes', 'icon icon-right') | raw }}</label>
|
|
|
|
<input type="checkbox" id="panel-right-toggle" aria-hidden="true" tabindex="-1">
|
2021-08-29 05:23:25 +09:00
|
|
|
|
2021-10-20 04:33:01 +09:00
|
|
|
<div class="header-panel section-panel-right">
|
2021-09-07 23:59:19 +09:00
|
|
|
<a id="anchor-right-panel" class="anchor-hidden" title="{{ 'Press tab to access selected region!' | trans }}"></a>
|
2021-09-09 01:27:28 +09:00
|
|
|
<aside class="panel-content accessibility-target">
|
2021-08-31 01:56:59 +09:00
|
|
|
|
2021-11-16 02:05:36 +09:00
|
|
|
{% set blocks = handle_event('AppendRightPostingBlock', request) %}
|
|
|
|
{% if blocks['post_form'] is defined %}
|
2021-09-20 20:34:28 +09:00
|
|
|
<section class="section-widget" title={{ 'Create a new note.' | trans }}>
|
|
|
|
<details class="section-title-details" title={{ 'Expand if you want to access more options.' | trans }}>
|
|
|
|
<summary class="section-title-summary">
|
|
|
|
{{ "Create a note" | trans }}{{ icon('arrow-down', 'icon icon-details-open') | raw }}
|
|
|
|
</summary>
|
|
|
|
</details>
|
2021-08-29 05:23:25 +09:00
|
|
|
|
2021-09-20 20:34:28 +09:00
|
|
|
<div class="section-form">
|
|
|
|
<fieldset>
|
2021-11-16 02:05:36 +09:00
|
|
|
{{ form(blocks['post_form']) }}
|
2021-09-20 20:34:28 +09:00
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
{% endif %}
|
2021-08-29 05:23:25 +09:00
|
|
|
|
|
|
|
{% set current_path = app.request.get('_route') %}
|
2021-11-24 07:54:49 +09:00
|
|
|
{% for block in handle_event('AppendRightPanelBlock', {'path': current_path, 'vars': right_panel_vars | default }) %}
|
|
|
|
{{ block | raw }}
|
|
|
|
{% endfor %}
|
2021-09-20 20:34:28 +09:00
|
|
|
|
2021-08-29 05:23:25 +09:00
|
|
|
</aside>
|
|
|
|
</div>
|
2021-09-25 19:17:56 +09:00
|
|
|
{% endblock rightpanel %}
|