From b71993fcc0da84e8f168baa6f0518de2eb1bc3c7 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Thu, 16 Nov 2023 04:47:25 -0500 Subject: 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 --- dmt/script.js | 2 +- dmt/style.css | 4 ++-- 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; } -- cgit v1.2.3