Enhance notability of current blacklist by diff color in header

in servlet Blacklist_p.html
bugfix for https://github.com/yacy/yacy_search_server/commit/18dddb74c95513ff347d5553e0f09eea071e0397
This commit is contained in:
reger24 committed 2022-02-06 09:43:59 +01:00
1 parent 18dddb74c9
commit 027e284ef9
2 files changed
+4 -5

No files matched your search

+2 -2
View File
@@ -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()];