From 0e8d793ff7b10bdcbb9495cd01d01386d53a9a23 Mon Sep 17 00:00:00 2001
From: markfijneman <48481393+markfijneman@users.noreply.github.com>
Date: Thu, 11 Apr 2024 23:06:52 +0200
Subject: [PATCH 1/5] Made full table rows clickable on past CTFs page
---
front/src/components/CTF/Past.vue | 27 ++++++++++++++++++++++++---
1 file changed, 24 insertions(+), 3 deletions(-)
diff --git a/front/src/components/CTF/Past.vue b/front/src/components/CTF/Past.vue
index 68e5da017..11fadac35 100644
--- a/front/src/components/CTF/Past.vue
+++ b/front/src/components/CTF/Past.vue
@@ -15,11 +15,19 @@
-
-
-
+
+ {{ props.row.title }}
+
{{ formatTime(props.row) }}
@@ -100,3 +108,16 @@ export default defineComponent({
},
});
+
+
From 9d5f49a20c6cd7ddeaf27a4401b2ba71c3f26ab9 Mon Sep 17 00:00:00 2001
From: markfijneman <48481393+markfijneman@users.noreply.github.com>
Date: Thu, 11 Apr 2024 23:12:30 +0200
Subject: [PATCH 2/5] Removed padding from past CTFs card
---
front/src/components/CTF/Past.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/front/src/components/CTF/Past.vue b/front/src/components/CTF/Past.vue
index 11fadac35..89e4cdd7f 100644
--- a/front/src/components/CTF/Past.vue
+++ b/front/src/components/CTF/Past.vue
@@ -1,6 +1,6 @@
-
+
Date: Thu, 11 Apr 2024 23:18:00 +0200
Subject: [PATCH 3/5] Made past CTFs table dense
---
front/src/components/CTF/Past.vue | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/front/src/components/CTF/Past.vue b/front/src/components/CTF/Past.vue
index 89e4cdd7f..68cbd57ec 100644
--- a/front/src/components/CTF/Past.vue
+++ b/front/src/components/CTF/Past.vue
@@ -5,6 +5,7 @@
v-model:pagination="pagination"
no-data-label="No CTF available."
flat
+ dense
:rows="ctfs"
:loading="loading"
:columns="columns"
@@ -12,7 +13,7 @@
@request="onRequest"
>
-
+
Date: Thu, 11 Apr 2024 23:33:27 +0200
Subject: [PATCH 4/5] Increased rows per page options for past CTFs table
---
front/src/components/CTF/Past.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/front/src/components/CTF/Past.vue b/front/src/components/CTF/Past.vue
index 68cbd57ec..53a1be233 100644
--- a/front/src/components/CTF/Past.vue
+++ b/front/src/components/CTF/Past.vue
@@ -80,7 +80,7 @@ export default defineComponent({
ctfs: computed(() => pastCtfs.value.ctfs),
loading,
pagination,
- rowsPerPageOptions: [5, 10, 15, 20, 30, 40, 50],
+ rowsPerPageOptions: [25, 50, 75, 100, 150, 200, 250],
columns: [
{
name: 'title',
From a322cbf719dcdceb2c73e8f60be24ff2d7afe283 Mon Sep 17 00:00:00 2001
From: markfijneman <48481393+markfijneman@users.noreply.github.com>
Date: Thu, 11 Apr 2024 23:37:12 +0200
Subject: [PATCH 5/5] Made rows per page setting for past CTFs table persistent
---
front/src/components/CTF/Past.vue | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/front/src/components/CTF/Past.vue b/front/src/components/CTF/Past.vue
index 53a1be233..20185338e 100644
--- a/front/src/components/CTF/Past.vue
+++ b/front/src/components/CTF/Past.vue
@@ -40,6 +40,7 @@