salvi/templates/calendar.jinja2

33 lines
770 B
Text
Raw Normal View History

2023-03-16 14:24:29 +01:00
{% extends "base.jinja2" %}
2023-02-10 14:15:21 +01:00
{% block title %}Calendar {{ app_name }}{% endblock %}
{% block content %}
<h1>Calendar</h1>
<form>
<fieldset>
<legend>Calendar view</legend>
<div>
<label><strong>Show as</strong>:</label>
<ul class="inline">
{% set view_choices = ["month"] %}
{% for vch in view_choices %}
<li>
{% if vch == viewas %}
<strong>{{ T(vch) }}</strong>
{% else %}
<a href="/calendar/{{ vch }}">{{ T(vch) }}</a>
{% endif %}
</li>
{% endfor %}
</ul>
</div>
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" >
<div>
<label><strong>Show month</strong></label>
</div>
</fieldset>
</form>
{% endblock %}