Tracking PR for registration rewrite #5

Merged
Muirrum merged 32 commits from rewrite into master 2022-12-15 18:32:08 -05:00
4 changed files with 39 additions and 4 deletions
Showing only changes of commit 39ac9fd15a - Show all commits

View file

@ -167,3 +167,19 @@ form select {
background: #974355; background: #974355;
max-width: 11rem; max-width: 11rem;
} }
.flashes {
list-style-type: none;
display: flex;
justify-content: center;
}
.message {
width: 80%;
justify-content: center;
border: 1px solid #eee;
background-color: #26a69a;
padding: 0.2rem;
font-size: large;
color: #eee;
}

View file

@ -164,3 +164,21 @@ form {
max-width: 11rem; max-width: 11rem;
} }
} }
// Flashed messages
.flashes {
list-style-type: none;
display: flex;
justify-content: center;
}
.message {
width: 80%;
justify-content: center;
border: 1px solid $color-fg;
background-color: $color-accent;
padding: 0.2rem;
font-size: large;
color: $color-fg;
}

View file

@ -5,7 +5,7 @@
{% if messages %} {% if messages %}
<ul class="flashed-content"> <ul class="flashed-content">
{% for m in messages %} {% for m in messages %}
<li class="message">{{ message }}</li> <li class="message">{{ m }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}

View file

@ -1,4 +1,6 @@
{% include 'header.html' %} {% extends 'base.html' %}
{% block content %}
<script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"></script>
<script> <script>
function drop(id) { function drop(id) {
@ -94,5 +96,4 @@
}) })
</script> </script>
{% endblock %}
{% include 'footer.html' %}