added changes made by apfelmaennchen

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4307 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
daburna 17 years ago
parent 1f199d688b
commit 214e37b6e3

@ -9,14 +9,23 @@
</head> </head>
<body id="Bookmarks"> <body id="Bookmarks">
#%env/templates/header.template%# #%env/templates/header.template%#
<h2>Bookmarks</h2>
#(mode)# #(mode)#
<div class="Navigation"><a href="Bookmarks.html?login=true">Login</a></div> <div class="SubMenu">
<h3>Bookmarks</h3>
<ul class="SubMenu">
<li><a href="Bookmarks.html?login=true&mode=add" class="MenuItemLink lock">Add Bookmark</a></li>
<li><a href="Bookmarks.html?login=true&mode=importxml" class="MenuItemLink lock">Import XML Bookmarks</a></li>
</ul>
<p/>
</div>
:: ::
<div class="Navigation"> <div class="SubMenu">
<a href="Bookmarks.html?mode=add">Add Bookmark</a> <h3>Bookmarks</h3>
<a href="Bookmarks.html?mode=importxml">Import XML Bookmarks</a> <ul class="SubMenu">
<!-- <a href="Bookmarks.html?mode=importbookmarks">Import Bookmarks.html</a> --> <li><a href="Bookmarks.html?mode=add" class="MenuItemLink lock">Add Bookmark</a></li>
<li><a href="Bookmarks.html?mode=importxml" class="MenuItemLink lock">Import XML Bookmarks</a></li>
</ul>
<p/>
</div> </div>
:: ::
<form action="Bookmarks.html" method="get"> <form action="Bookmarks.html" method="get">
@ -89,14 +98,26 @@
</fieldset> </fieldset>
</form> </form>
#(/mode)# #(/mode)#
<div class="Tags"> <div class="TagList">
<h3>Tags</h3> <fieldset>
<ul class="tagList"> <legend>Tags</legend>
<li><a href="Bookmarks.html" class="bookmarkTags">All</a> (#[num-bookmarks]#)</li> <p>
<form action="Bookmarks.html" method="get" accept-charset="UTF-8">
<select size="1" name="tag" width="175">
<option value="" selected="selected">[All]</option>
#{taglist}# #{taglist}#
<li><a href="Bookmarks.html?tag=#[tag]#" class="bookmarkTags">#[name]#</a> (#[num]#)</li> <option value="#[tag]#">#[name]# (#[num]#)</option>
#{/taglist}# #{/taglist}#
</ul> </select>
<input type="submit" value=" ... ">
</form>
</p>
<p>
#{taglist}#
<span style="font-size:#[size]#em"><a href="Bookmarks.html?tag=#[tag]#">#[name]#</a></span>
#{/taglist}#
</p>
</fieldset>
</div> </div>
<div class="bookmarkList"> <div class="bookmarkList">
<h3>Bookmark List</h3> <h3>Bookmark List</h3>

@ -52,6 +52,8 @@ import java.util.HashMap;
import java.util.Iterator; import java.util.Iterator;
import java.util.Set; import java.util.Set;
import java.lang.Math;
import de.anomic.data.bookmarksDB; import de.anomic.data.bookmarksDB;
import de.anomic.data.listManager; import de.anomic.data.listManager;
import de.anomic.data.userDB; import de.anomic.data.userDB;
@ -247,6 +249,7 @@ public class Bookmarks {
prop.putHTML("taglist_"+count+"_name", tag.getFriendlyName()); prop.putHTML("taglist_"+count+"_name", tag.getFriendlyName());
prop.putHTML("taglist_"+count+"_tag", tag.getTagName()); prop.putHTML("taglist_"+count+"_tag", tag.getTagName());
prop.put("taglist_"+count+"_num", tag.size()); prop.put("taglist_"+count+"_num", tag.size());
prop.put("taglist_"+count+"_size", 1.1+(Math.log(tag.size())/4));
count++; count++;
} }
prop.put("taglist", count); prop.put("taglist", count);

@ -222,10 +222,10 @@ tt, *.tt {
<div> <div>
*/ */
div.Tags { div.TagList {
float:right; float:right;
width:12em; width:25em;
text-align:right; text-align:left;
padding-left: 5px; padding-left: 5px;
} }
@ -271,8 +271,8 @@ div.ProgressBarFill {
top: 0px; top: 0px;
} }
div.bookmarkList, div.Tags { div.bookmarkList {
margin-top:1em; margin-top:3em;
} }
div.bookmark { div.bookmark {

Loading…
Cancel
Save