From 723855a9d53eff9ab3940ed997b98717171bbba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Mon, 30 May 2022 18:29:33 +0200 Subject: [PATCH] Web: move styling of 'clickable' table rows to separate class Instead of doing this styling per table, just add a class that indicates it has clickable rows. --- web/app/src/assets/base.css | 2 +- web/app/src/components/JobsTable.vue | 2 +- web/app/src/components/TasksTable.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/app/src/assets/base.css b/web/app/src/assets/base.css index 18332a4f..efa401d6 100644 --- a/web/app/src/assets/base.css +++ b/web/app/src/assets/base.css @@ -368,7 +368,7 @@ ul.status-filter-bar .status-filter-indicator .indicator { background-color: transparent; } -.job-list .tabulator-row, .task-list .tabulator-row { +.with-clickable-row .tabulator-row { cursor: pointer; } diff --git a/web/app/src/components/JobsTable.vue b/web/app/src/components/JobsTable.vue index 23343d01..92824afc 100644 --- a/web/app/src/components/JobsTable.vue +++ b/web/app/src/components/JobsTable.vue @@ -7,7 +7,7 @@ :activeStatuses="shownStatuses" @click="toggleStatusFilter" /> -
+
diff --git a/web/app/src/components/TasksTable.vue b/web/app/src/components/TasksTable.vue index ac5e75c5..1fec1dec 100644 --- a/web/app/src/components/TasksTable.vue +++ b/web/app/src/components/TasksTable.vue @@ -6,7 +6,7 @@ @click="toggleStatusFilter" />
-
+