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
29
templates/easter.jinja2
Normal file
29
templates/easter.jinja2
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{{ T('easter-date-calc') }} - {{ app_name }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ T('easter-date-calc') }}</h1>
|
||||
|
||||
<form>
|
||||
<div>
|
||||
<label for="y">{{ T('year') }}: </label>
|
||||
<input type="text" name="y" value="{{ y }}">
|
||||
<input type="submit" value="{{ T('calculate') }}" class="submit-quick">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
{% if easter_dates %}
|
||||
<div class="easter-results">
|
||||
<p class="easter-date">{{ T('easter') }}: <strong>{{ easter_dates['easter'].strftime('%B %-d, %Y') }}</strong></p>
|
||||
|
||||
<h2>{{ T('other-dates') }}</h2>
|
||||
<ul>
|
||||
<li>Mercoledì delle Ceneri: <strong>{{ easter_dates['ceneri'].strftime('%B %-d, %Y') }}</strong></li>
|
||||
<li>Ascensione: <strong>{{ easter_dates['ascensione'].strftime('%B %-d, %Y') }}</strong></li>
|
||||
<li>Pentecoste: <strong>{{ easter_dates['pentecoste'].strftime('%B %-d, %Y') }}</strong></li>
|
||||
<li>Prima Domenica d'Avvento: <strong>{{ easter_dates['avvento1'].strftime('%B %-d, %Y') }}</strong></li>
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue