diff --git a/events/templates/events/registrations.html b/events/templates/events/registrations.html index a6a2e95..6d4e807 100644 --- a/events/templates/events/registrations.html +++ b/events/templates/events/registrations.html @@ -12,10 +12,12 @@ {% if not user.is_authenticated %}

Je moet inloggen voor je je kan inschrijven.

{% elif not user.has_ugent_info %} -

Je moet je studentennummer en echte naam invullen in je profiel voor je je kan inschrijven.

+

Je moet je studentennummer en echte naam invullen in je profiel voor je je kan inschrijven.

{% elif not my_registration %} -

+ {% else %} -

Mijn status: {{ my_registration.state_str }}

+

Mijn status: {{ my_registration.state_str }}

+ + {% endif %} diff --git a/static/main.css b/static/main.css index 35994e9..0eec155 100644 --- a/static/main.css +++ b/static/main.css @@ -5,7 +5,7 @@ body { font-family: monospace; } -input, textarea { +input, textarea, button { font-family: inherit; font-size: inherit; } @@ -78,6 +78,19 @@ h1 a:hover, h1 a:focus, h1 a:active { background-color: rgba(255, 255, 255, 0.1); } +.text--important { + color: #e74c3c; +} + +button.cancel { + background-color: #e74c3c; + color: white; +} + +button:focus.cancel { + background-color: #c0392b; +} + /*change the layout of the navigation bar for all the screens that have a width less or equal than 500px*/ @@ -175,20 +188,26 @@ textarea { select:focus, input:focus, textarea:focus, -button:focus { +button:active { background: hsl(0, 0%, 20%); } select:focus, input:focus, -textarea:focus { +textarea:focus +button:active { transform: scale(1.02); } +/* Hover styling */ +button:hover:not([disabled]) { + cursor: pointer; +} + footer { color: #777777; padding: 10px; } footer a { color: #888888; -} +} \ No newline at end of file diff --git a/users/templates/users/profile.html b/users/templates/users/profile.html index ce108ce..fced0b7 100644 --- a/users/templates/users/profile.html +++ b/users/templates/users/profile.html @@ -10,7 +10,7 @@
{% csrf_token %} {{ form }} - +
{% else %}

Niet ingelogd