Mise à jour des templates

This commit is contained in:
n07070 2022-03-15 14:48:15 +01:00
parent 81a99b6a80
commit 5a0cc6011b
5 changed files with 3 additions and 2 deletions

View File

View File

View File

@ -12,11 +12,12 @@
<div class="col-md-6 offset-md-3"> <div class="col-md-6 offset-md-3">
<img class="rounded" width="100px" src="{{ url_for('static', filename='images/little-printer.png') }}" alt="LittlePrynter icon"><h1 class="card-title font-weight-bold">Little Prynter</h1> <img class="rounded" width="100px" src="{{ url_for('static', filename='images/little-printer.png') }}" alt="LittlePrynter icon"><h1 class="card-title font-weight-bold">Little Prynter</h1>
<hr> <hr>
<div class="alert alert-dark" role="alert">LittlePrynter is under heavy developpement, you may encounter bugs ! If so, try again. Thanks !</div>
<br> <br>
{% with messages = get_flashed_messages(category_filter=('error')) %} {% with messages = get_flashed_messages(category_filter=('error')) %}
{% if messages %} {% if messages %}
{% for message in messages %} {% for message in messages %}
<div class="alert alert-warning" role="alert">{{ message }}</div> <div class="alert alert-danger" role="alert">{{ message }}</div>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% endwith %} {% endwith %}
@ -54,7 +55,7 @@
<br> <br>
<br> <br>
<hr> <hr>
<footer>Little Prynter is built for fun by <a href="https://n07070.xyz/about-me/">n07070</a> for fun :) </footer> <footer>Little Prynter is built by <a href="https://n07070.xyz/about-me/">n07070</a> for fun :) </footer>
</div> </div>
</body> </body>
</html> </html>

0
src/templates/login.html Normal file
View File

0
src/templates/print.html Normal file
View File