diff --git a/src/TODO b/src/TODO new file mode 100644 index 0000000..ed435dc --- /dev/null +++ b/src/TODO @@ -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 + \ No newline at end of file diff --git a/src/events/templates/events/event_info.html b/src/events/templates/events/event_info.html index 08ef96e..a0babdc 100644 --- a/src/events/templates/events/event_info.html +++ b/src/events/templates/events/event_info.html @@ -11,7 +11,7 @@ {% trans "You're already registered to this event." %} {% endif %}
-
+

{{ event.name }}

{% if ended == True %} {% trans "This event is over." %} diff --git a/src/events/templates/events/events_list.html b/src/events/templates/events/events_list.html index 8f69c2d..bc8e2b4 100755 --- a/src/events/templates/events/events_list.html +++ b/src/events/templates/events/events_list.html @@ -16,7 +16,7 @@ ...
diff --git a/src/static/css/style.css b/src/static/css/style.css index b1a6087..4e6ae5e 100644 --- a/src/static/css/style.css +++ b/src/static/css/style.css @@ -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; diff --git a/src/statics/css/style.css b/src/statics/css/style.css index b1a6087..4e6ae5e 100644 --- a/src/statics/css/style.css +++ b/src/statics/css/style.css @@ -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;