rename .html templates to .jinja2 for more consistency
This commit is contained in:
parent
7f050afb8b
commit
2887d94a8c
36 changed files with 34 additions and 33 deletions
33
templates/calendar.jinja2
Normal file
33
templates/calendar.jinja2
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% 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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue