Files
stundenfuchs/app/templates/ui/month_header_bar.html
T
maddin 9794362f39
CI / checks (push) Has been cancelled
chore: initialize public repository
2026-03-22 12:55:55 +00:00

24 lines
884 B
HTML

{% macro month_header_bar(prev_url, next_url, title) -%}
<section class="period-header"
data-component="swipe-nav"
data-prev-url="{{ prev_url }}"
data-next-url="{{ next_url }}">
<div class="period-header__nav" data-component="period-nav">
<a class="icon-button"
href="{{ prev_url }}"
title="Vorheriger Monat"
aria-label="Vorheriger Monat">
<img class="dash-icon dash-icon-rotate-180" src="/static/icons/arrow.svg" alt="" />
</a>
<p class="period-header__title">{{ title }}</p>
<a class="icon-button"
href="{{ next_url }}"
title="Nächster Monat"
aria-label="Nächster Monat">
<img class="dash-icon" src="/static/icons/arrow.svg" alt="" />
</a>
</div>
<div class="period-header__actions">{{ caller() }}</div>
</section>
{%- endmacro %}