Update fix

This commit is contained in:
ix 2021-10-22 13:58:23 +02:00
parent a379f4934d
commit 0a42af4a9b
5 changed files with 25 additions and 8 deletions

23
src/TODO Normal file
View File

@ -0,0 +1,23 @@
[X] make relation between user and events
[X] make scoreboard for events
[X] make access mod for events :
[X] Sub button for public events
[X] Access by password
[X] Begin date for display challenges
[X] Ending date for stop flag submission
[X] Admin rights
[X] Admin can access to events pages without password
[X] Admin can subscribe to event without password
[X] process flag submission
[X] increment user score in Scores model
[X] add filters for admin dashboard
[X] add search in fields in admin dashboard
[X] display more information in admin dashboard
Front End :
[X] Smooth display of events listing
[X] Nice page with background, logo etc for event detail

View File

@ -11,7 +11,7 @@
<span class="message error-msg">{% trans "You're already registered to this event." %}</span>
{% endif %}
<div class="event-block">
<div class="event-head">
<div class="event-head" style="background-image:linear-gradient(180deg, rgba(102,102,102,0.48501407398897056) 100%, rgba(29,29,29,1) 100%),url('{{ event.img }}');">
<h3>{{ event.name }}</h3>
{% if ended == True %}
<small>{% trans "This event is over." %}</small>

View File

@ -16,7 +16,7 @@
<img
src="{{ev.img}}"
class="card-img-top"
alt="..."
alt="{{ ev.name }}"
/>
<div class="card-body">
<h5 class="card-title">

View File

@ -69,9 +69,6 @@ input[type=submit]:hover {background-color:#000}
}
.is-over {opacity: 50%;}
.event-head{
background-image:
linear-gradient(180deg, rgba(102,102,102,0.48501407398897056) 0%, rgba(29,29,29,1) 100%),
url('https://media.lesechos.com/api/v1/images/view/616957f83e45460bec299207/1280x720-webp/0611458970965-web-tete.webp');
height: 20vh;
background-size: cover;
color: white;

View File

@ -69,9 +69,6 @@ input[type=submit]:hover {background-color:#000}
}
.is-over {opacity: 50%;}
.event-head{
background-image:
linear-gradient(180deg, rgba(102,102,102,0.48501407398897056) 0%, rgba(29,29,29,1) 100%),
url('https://media.lesechos.com/api/v1/images/view/616957f83e45460bec299207/1280x720-webp/0611458970965-web-tete.webp');
height: 20vh;
background-size: cover;
color: white;