Files
stundenfuchs/app/templates/ui/week_header_bar.html
T
maddin 6fbd1bb3c2
CI / checks (push) Has been cancelled
chore: initialize public repository
2026-03-22 12:57:09 +00:00

24 lines
879 B
HTML

{% macro week_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="Vorherige Woche"
aria-label="Vorherige Woche">
<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ächste Woche"
aria-label="Nächste Woche">
<img class="dash-icon" src="/static/icons/arrow.svg" alt="" />
</a>
</div>
<div class="period-header__actions">{{ caller() }}</div>
</section>
{%- endmacro %}