feat: navigate with left and right arrow
This commit is contained in:
parent
1b7a44b8cd
commit
f5c09e3515
@ -8,7 +8,8 @@
|
|||||||
<div class="level is-hidden-mobile">
|
<div class="level is-hidden-mobile">
|
||||||
<div class="level-left">
|
<div class="level-left">
|
||||||
<a hx-boost="true" class="button is-link level-item"
|
<a hx-boost="true" class="button is-link level-item"
|
||||||
href="/calendar?date={{ date.pred() }}{{ selected_area|show_area_query(false) }}">
|
href="/calendar?date={{ date.pred() }}{{ selected_area|show_area_query(false) }}"
|
||||||
|
_="on keyup[key is 'ArrowLeft'] from elsewhere assign(my.href) to the location of the window">
|
||||||
<svg class="icon">
|
<svg class="icon">
|
||||||
<use href="/static/feather-sprite.svg#arrow-left" />
|
<use href="/static/feather-sprite.svg#arrow-left" />
|
||||||
</svg>
|
</svg>
|
||||||
@ -37,7 +38,8 @@
|
|||||||
|
|
||||||
<div class="level-right">
|
<div class="level-right">
|
||||||
<a hx-boost="true" class="button is-link level-item"
|
<a hx-boost="true" class="button is-link level-item"
|
||||||
href="/calendar?date={{ date.succ() }}{{ selected_area|show_area_query(false) }}">
|
href="/calendar?date={{ date.succ() }}{{ selected_area|show_area_query(false) }}"
|
||||||
|
_="on keyup[key is 'ArrowRight'] from elsewhere assign(my.href) to the location of the window">
|
||||||
<svg class="icon">
|
<svg class="icon">
|
||||||
<use href="/static/feather-sprite.svg#arrow-right" />
|
<use href="/static/feather-sprite.svg#arrow-right" />
|
||||||
</svg>
|
</svg>
|
||||||
@ -165,7 +167,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="cell">
|
<div class="cell">
|
||||||
<p><b>Führungsassistent benötigt:</b> {% if event.voluntary_fuehrungsassistent %}ja{% else %}nein{% endif %}</p>
|
<p><b>Führungsassistent benötigt:</b> {% if event.voluntary_fuehrungsassistent %}ja{% else %}nein{% endif
|
||||||
|
%}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="cell is-col-span-2">
|
<div class="cell is-col-span-2">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user