summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-bootstrap
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-02-25 12:36:03 +0100
committerGitHub <noreply@github.com>2022-02-25 12:36:03 +0100
commitb5b66e994dff1c73a826a5dfe54bed413b9e4913 (patch)
tree6d82e8048b192dfcdd44fd22e5f11f14c47df4a9 /themes/luci-theme-bootstrap
parent843d5bdecb2b3ca83de32a896eabb1f590395eb4 (diff)
parentd8ed1e7b7dc3965355a8aaa34e8e2cb9fd7c5d74 (diff)
Merge pull request #5696 from jow-/sortable-status-tables
Introduce sortable status tables
Diffstat (limited to 'themes/luci-theme-bootstrap')
-rw-r--r--themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css
index c1d1c8f51a..09f469784a 100644
--- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css
+++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css
@@ -2051,6 +2051,10 @@ table table td,
background: var(--background-color-medium);
}
+th[data-sortable-row] { cursor: pointer; }
+th[data-sort-direction="asc"]::after { content: "\a0\25b2"; }
+th[data-sort-direction="desc"]::after { content: "\a0\25bc"; }
+
.cbi-value-description {
margin: .25em 0 0 1.25em;
position: relative;