e3d1dff9ad
The style is inline in the HTML because it avoids another HTTP request before displaying the page, and that makes it more performant. This is an important feature when it rains, and people don't want to wait outside for too long.
23 lines
441 B
HTML
23 lines
441 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
|
|
<form method="post">
|
|
<button type="submit" name="ding" value="dong">
|
|
Sonner <span>à l'Arcoloc</span>
|
|
</button>
|
|
<div class="notification">
|
|
{% if has_rung %}
|
|
<p class="hasrung">
|
|
Dring :)
|
|
</p>
|
|
{% endif %}
|
|
{% if too_much_dring %}
|
|
<p class="toomuch">
|
|
Non mais on est pas sourd·e·s, hein. Nonmaisoh.
|
|
</p>
|
|
{% endif %}
|
|
</div>
|
|
</form>
|
|
|
|
{% endblock content %}
|