This is an automated email from the ASF dual-hosted git repository.
snoopdave pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/roller.git
The following commit(s) were added to refs/heads/master by this push:
new 222dae054 Remove class and role with some Bootstrap side-effect that
was causing part of the Category Remove dialog to disappear after a couple of
seconds.
222dae054 is described below
commit 222dae0542e03d5b782506b33ae188e2206561fc
Author: David M. Johnson <[email protected]>
AuthorDate: Sat Sep 28 16:52:33 2024 -0400
Remove class and role with some Bootstrap side-effect that was causing part
of the Category Remove dialog to disappear after a couple of seconds.
---
app/src/main/webapp/WEB-INF/jsps/editor/Categories.jsp | 2 +-
app/src/main/webapp/roller-ui/styles/roller.css | 7 +++++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/app/src/main/webapp/WEB-INF/jsps/editor/Categories.jsp
b/app/src/main/webapp/WEB-INF/jsps/editor/Categories.jsp
index 4ecfd5ed1..94ade045e 100644
--- a/app/src/main/webapp/WEB-INF/jsps/editor/Categories.jsp
+++ b/app/src/main/webapp/WEB-INF/jsps/editor/Categories.jsp
@@ -254,7 +254,7 @@
<div class="modal-body">
- <div id="category-in-use" class="alert alert-danger"
role="alert" style="display:none">
+ <div id="category-in-use" style="display:none">
<p>
<s:text name="categoryDeleteOK.warningCatInUse"/>
<s:text
name="categoryDeleteOK.youMustMoveEntries"/>
diff --git a/app/src/main/webapp/roller-ui/styles/roller.css
b/app/src/main/webapp/roller-ui/styles/roller.css
index e4cc38cfc..2fb6c6d21 100644
--- a/app/src/main/webapp/roller-ui/styles/roller.css
+++ b/app/src/main/webapp/roller-ui/styles/roller.css
@@ -185,6 +185,13 @@ table.innertable tr .viewbody .bot {
float: left;
}
+#category-in-use {
+ background-color: #ffcccc;
+ border: 1px solid #ff0000;
+ padding: 10px;
+ border-radius: 5px;
+}
+
/* sign-in */
body {