Enhance notability of current blacklist by diff color in header

in servlet Blacklist_p.html
bugfix for 18dddb74c9
pull/461/head
reger24 3 years ago
parent 18dddb74c9
commit 027e284ef9

@ -66,7 +66,7 @@
<br /><br /> <br /><br />
#(disabled)# #(disabled)#
<fieldset class="editList"> <fieldset class="editList">
<legend>Edit list <b><em>#[currentBlacklist]#</em></b></legend> <legend>Edit list <b style="color: black"><em>#[currentBlacklist]#</em></b></legend>
<!-- Blacklist configuration --> <!-- Blacklist configuration -->
#(edit)# #(edit)#
@ -175,7 +175,7 @@
</fieldset> </fieldset>
<fieldset class="listSettings"> <fieldset class="listSettings">
<legend>Settings for this list <b><em>#[currentBlacklist]#</em></b></legend> <legend>Settings for this list <b style="color: black"><em>#[currentBlacklist]#</em></b></legend>
<form action="Blacklist_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8"> <form action="Blacklist_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
<div> <div>
<input type="hidden" name="selectedListName" value="#[currentBlacklist]#" /> <input type="hidden" name="selectedListName" value="#[currentBlacklist]#" />

@ -162,11 +162,10 @@ public final class BlacklistHelper {
// convert the loaded Map to the list used in this servlet // convert the loaded Map to the list used in this servlet
for (String it : blklist.keySet()) { for (String it : blklist.keySet()) {
List<String> thevalue = blklist.get(it); List<String> thevalue = blklist.get(it);
String valstr = ""; // String valstr = "";
for (String valitem : thevalue) { for (String valitem : thevalue) {
valstr += "/" + valitem; list.add(it + "/" + valitem);
} }
list.add(it + valstr);
} }
// sort them // sort them
final String[] sortedlist = new String[list.size()]; final String[] sortedlist = new String[list.size()];

Loading…
Cancel
Save