From 0a42af4a9b5b98263d3d8c27d6b52f48f54bc3a8 Mon Sep 17 00:00:00 2001 From: ix <0x00fi@protonmail.com> Date: Fri, 22 Oct 2021 13:58:23 +0200 Subject: [PATCH] Update fix --- src/TODO | 23 ++++++++++++++++++++ src/events/templates/events/event_info.html | 2 +- src/events/templates/events/events_list.html | 2 +- src/static/css/style.css | 3 --- src/statics/css/style.css | 3 --- 5 files changed, 25 insertions(+), 8 deletions(-) create mode 100644 src/TODO 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;