32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
{% from "macros/title.html" import title_tag with context %}
|
|
|
|
{% block title %}{{ title_tag(T('easter-date-calc')) }}{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>{{ T('easter-date-calc') }}</h1>
|
|
|
|
<div class="inner-content">
|
|
<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>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|