Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

small optical enhancements to ymarks treeview

apfelmaennchen29e97f94f254
diff --git a/htroot/api/ymarks/get_treeview.java b/htroot/api/ymarks/get_treeview.java
index a075d81c1..45baa9065 100644
--- a/htroot/api/ymarks/get_treeview.java
+++ b/htroot/api/ymarks/get_treeview.java
@@ -104,7 +104,14 @@ public class get_treeview {
if (foldername.length == n+1) {
prop.put("folders_"+count+"_foldername", foldername[n]);
prop.put("folders_"+count+"_expanded", "false");
- prop.put("folders_"+count+"_type", "folder");
+ if(foldername[n].equals("IOExceptions"))
+ prop.put("folders_"+count+"_type", "err");
+ else if(foldername[n].equals("unsorted"))
+ prop.put("folders_"+count+"_type", "question");
+ else if(foldername[n].equals("Crawl Start"))
+ prop.put("folders_"+count+"_type", "crawl");
+ else
+ prop.put("folders_"+count+"_type", "folder");
prop.put("folders_"+count+"_hash", folder); //TODO: switch from pathString to folderHash
prop.put("folders_"+count+"_url", ""); //TODO: insert folder url
prop.put("folders_"+count+"_hasChildren", "true"); //TODO: determine if folder has children
diff --git a/htroot/env/yacy-ymarks.css b/htroot/env/yacy-ymarks.css
index d48d365ea..f0cc34c8e 100644
--- a/htroot/env/yacy-ymarks.css
+++ b/htroot/env/yacy-ymarks.css
@@ -210,20 +210,19 @@ img.help {
/* overrides for treeview styles
-------------------------------------*/
-.filetree span.tag {
- background: url(../img/tags/tag_blue.png) 0 0 no-repeat;
+
+.filetree span.err {
+ background: url(/yacy/ui/img-2/stop.png) 0 0 no-repeat;
padding: 1px 0px 0px 18px;
display: block;
}
-.filetree span.topword {
- background: url(../img/flexigrid/magnifier.png) 0 0 no-repeat;
+.filetree span.question {
+ background: url(/yacy/ui/img-2/question_blue.png) 0 0 no-repeat;
padding: 1px 0px 0px 18px;
display: block;
}
-.filetree ul, .filetree li {
- background-color: transparent;
+.filetree span.crawl {
+ background: url(/yacy/ui/img/crawl.png) 0 0 no-repeat;
+ padding: 1px 0px 0px 18px;
+ display: block;
}
-
-.tagSelect {
- width: 220px;
-}
\ No newline at end of file