sonnetteweb/templates/homepage.html
Basile Clement e3d1dff9ad Add some basic styling to the sonnette
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.
2018-04-07 13:53:55 +02:00

24 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 %}