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 />
#(disabled)#
<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 -->
#(edit)#
@ -175,7 +175,7 @@
</fieldset>
<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">
<div>
<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
for (String it : blklist.keySet()) {
List<String> thevalue = blklist.get(it);
String valstr = "";
// String valstr = "";
for (String valitem : thevalue) {
valstr += "/" + valitem;
list.add(it + "/" + valitem);
}
list.add(it + valstr);
}
// sort them
final String[] sortedlist = new String[list.size()];

Loading…
Cancel
Save