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>
<body id="Bookmarks">
#%env/templates/header.template%#
<h2>Bookmarks</h2>
#(mode)#
<div class="Navigation"><a href="Bookmarks.html?login=true">Login</a></div>
::
<div class="Navigation">
<a href="Bookmarks.html?mode=add">Add Bookmark</a>
<a href="Bookmarks.html?mode=importxml">Import XML Bookmarks</a>
<!-- <a href="Bookmarks.html?mode=importbookmarks">Import Bookmarks.html</a> -->
#(mode)#
<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="SubMenu">
<h3>Bookmarks</h3>
<ul class="SubMenu">
<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>
::
<form action="Bookmarks.html" method="get">
@ -89,15 +98,27 @@
</fieldset>
</form>
#(/mode)#
<div class="Tags">
<h3>Tags</h3>
<ul class="tagList">
<li><a href="Bookmarks.html" class="bookmarkTags">All</a> (#[num-bookmarks]#)</li>
#{taglist}#
<li><a href="Bookmarks.html?tag=#[tag]#" class="bookmarkTags">#[name]#</a> (#[num]#)</li>
#{/taglist}#
</ul>
</div>
<div class="TagList">
<fieldset>
<legend>Tags</legend>
<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}#
<option value="#[tag]#">#[name]# (#[num]#)</option>
#{/taglist}#
</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 class="bookmarkList">
<h3>Bookmark List</h3>
#{bookmarks}#

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

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

Loading…
Cancel
Save