2023-03-16 14:24:29 +01:00
|
|
|
{% extends "base.jinja2" %}
|
2021-02-23 22:54:08 +01:00
|
|
|
|
|
|
|
|
{% block title %}{{ T('easter-date-calc') }} - {{ app_name }}{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
<h1>{{ T('easter-date-calc') }}</h1>
|
|
|
|
|
|
|
|
|
|
<form>
|
|
|
|
|
<div>
|
2021-04-02 23:52:28 +02:00
|
|
|
<label for="y">{{ T('year') }}: </label>
|
2021-02-23 22:54:08 +01:00
|
|
|
<input type="text" name="y" value="{{ y }}">
|
2021-04-02 23:52:28 +02:00
|
|
|
<input type="submit" value="{{ T('calculate') }}" class="submit-quick">
|
2021-02-23 22:54:08 +01:00
|
|
|
</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 %}
|