summaryrefslogtreecommitdiffstats
path: root/dmt
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-11-16 04:47:25 -0500
committerMalfurious <m@lfurio.us>2023-11-18 00:45:27 -0500
commitb71993fcc0da84e8f168baa6f0518de2eb1bc3c7 (patch)
treedbd93c91f53741ec35c0b23e78cecfefd2c3863f /dmt
parent8448d52fa33ad03e2d46ead0b6c384318d6594a0 (diff)
downloadcychedelic-b71993fcc0da84e8f168baa6f0518de2eb1bc3c7.tar.gz
cychedelic-b71993fcc0da84e8f168baa6f0518de2eb1bc3c7.zip
dmt: css: Rename remove class to standout
The css class originally used to represent service removal jobs is renamed to "standout". I wish to reuse it in other exceptional contexts which should draw the user's attention - which of course also covers the case of service removal. "Standout" is a more generic term for this. Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'dmt')
-rw-r--r--dmt/script.js2
-rw-r--r--dmt/style.css4
2 files changed, 3 insertions, 3 deletions
diff --git a/dmt/script.js b/dmt/script.js
index 66e2d31..e6b7b52 100644
--- a/dmt/script.js
+++ b/dmt/script.js
@@ -84,7 +84,7 @@ function touch_job(list, job) {
let result = document.getElementById(`${job.job}_result`);
let log = document.getElementById(`${job.job}_log`);
- let cn = (job.reason == "remove" ? "remove" : job.result);
+ let cn = (job.reason == "remove" ? "standout" : job.result);
box.className = `box ${cn}`;
switch (job.result) {
diff --git a/dmt/style.css b/dmt/style.css
index 5d783b6..915a6cd 100644
--- a/dmt/style.css
+++ b/dmt/style.css
@@ -94,10 +94,10 @@ a:hover {
background-color: #c80000;
}
-.remove {
+.standout {
border-color: #4c0080;
}
-.remove .box-title {
+.standout .box-title {
background-color: #4c0080;
}