From 27cac4b20467f1b32b5f8c98196aa9cd013d6cd4 Mon Sep 17 00:00:00 2001 From: LuizaMaluf Date: Thu, 7 Dec 2023 07:47:00 -0300 Subject: [PATCH 1/5] feat(submission_table_colors): colors of the table --- templates/submissions/list.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/templates/submissions/list.html b/templates/submissions/list.html index 751316a..719e272 100644 --- a/templates/submissions/list.html +++ b/templates/submissions/list.html @@ -24,6 +24,21 @@ th { background-color: #f2f2f2; } + .success { + background-color: #dff0d8; + } + .wating { + background-color: #2f00ff; + } + .wrong { + background-color: #ff0000; + } + .time { + background-color: #ff0000; + } + .memory{ + background-color: #ff0000; + } {% endblock head %} @@ -41,7 +56,7 @@

Submissions

{% for submission in page_obj %} - + {{ submission.id }} From f71a75d7a9c35b386ad5d1aab31f806448a31fd9 Mon Sep 17 00:00:00 2001 From: LuizaMaluf Date: Thu, 7 Dec 2023 08:09:35 -0300 Subject: [PATCH 2/5] feat(submission_table_colors): correcting colors of the table --- templates/submissions/list.html | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/templates/submissions/list.html b/templates/submissions/list.html index 719e272..278bae3 100644 --- a/templates/submissions/list.html +++ b/templates/submissions/list.html @@ -25,19 +25,13 @@ background-color: #f2f2f2; } .success { - background-color: #dff0d8; + background-color: #47fc00b7; } .wating { - background-color: #2f00ff; + background-color: #ff88008c; } .wrong { - background-color: #ff0000; - } - .time { - background-color: #ff0000; - } - .memory{ - background-color: #ff0000; + background-color: #ff00006b; } {% endblock head %} @@ -56,7 +50,7 @@

Submissions

{% for submission in page_obj %} - + {{ submission.id }}
From be0852af174b3a47a876ae171e3c25c87d71f6fc Mon Sep 17 00:00:00 2001 From: LuizaMaluf Date: Sat, 9 Dec 2023 10:39:30 -0300 Subject: [PATCH 3/5] feat(submission_table_colors): correcting size of the line --- templates/submissions/list.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/submissions/list.html b/templates/submissions/list.html index 278bae3..9194abe 100644 --- a/templates/submissions/list.html +++ b/templates/submissions/list.html @@ -50,8 +50,10 @@

Submissions

{% for submission in page_obj %} - - {{ submission.id }} + + {{ submission.id }}
{{ submission.author.username }} From be4312ac0758c2a41ec529143b96314210accc0c Mon Sep 17 00:00:00 2001 From: LuizaMaluf Date: Sat, 9 Dec 2023 10:49:30 -0300 Subject: [PATCH 4/5] feat(submission_table_colors): correcting size of the line and the function working --- templates/submissions/list.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/templates/submissions/list.html b/templates/submissions/list.html index 9194abe..6b7d102 100644 --- a/templates/submissions/list.html +++ b/templates/submissions/list.html @@ -27,7 +27,7 @@ .success { background-color: #47fc00b7; } - .wating { + .waiting { background-color: #ff88008c; } .wrong { @@ -50,9 +50,10 @@

Submissions

{% for submission in page_obj %} - + {{ submission.id }}
From bdb28ac0985d1f48844692d4bab9021eb9db3b8c Mon Sep 17 00:00:00 2001 From: kyomi Date: Sat, 9 Dec 2023 22:58:00 -0300 Subject: [PATCH 5/5] style: make the code look cleaner --- templates/submissions/list.html | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/templates/submissions/list.html b/templates/submissions/list.html index 6b7d102..a800a49 100644 --- a/templates/submissions/list.html +++ b/templates/submissions/list.html @@ -6,30 +6,36 @@ {% block head %}