yacy_search_server/htroot/Bookmarks.html
michitux 31393312d0 New XHTML-template for a large part of the frontend, for details see http://yacy-websuche.de/wiki/index.php/Dev:XHTML
If you don't use the default skin, the style will be broken or at least not complete.
YaCy now has two css-files: base.css in htroot/env and the skin. In base.css the layout and black/white text-formating-rules are defined. Colors are only defined in the skin.
The skin is now very easy to read and to change. If you want to make more changes than the colors you see in the default-skin, feel free to use the full power of css, but you are warned: The code is still not ready and may change, but we try to avoid changes which affect anything in the default-style.
Translation will be broken too because the language-files contain HTML-Code which has changed.


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2547 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-09-11 18:18:12 +00:00

134 lines
5.8 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>YaCy '#[clientname]#': Bookmarks</title>
#%env/templates/metas.template%#
<script src="/js/ajax.js" type="text/javascript"></script>
<script src="/js/Bookmarks.js" type="text/javascript"></script>
</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> -->
</div>
::
<form action="Bookmarks.html" method="get">
<fieldset>
<legend>#(edit)#Add Bookmark::Edit Bookmark#(/edit)#</legend>
<dl>
<dt><label for="url">URL:</label></dt>
<dd><input type="text" name="url" id="url" value="#[url]#" onblur="loadTitle()" size="80" /></dd>
<dt><label for="title">Title:</label></dt>
<dd><input type="text" name="title" id="title" value="#[title]#" size="80" /></dd>
<dt><label for="description">Description:</label></dt>
<dd><input type="text" name="description" id="description" value="#[description]#" size="80" /></dd>
<dt><label for="tags">Tags (comma separated):</label></dt>
<dd><input type="text" name="tags" id="tags" value="#[tags]#" size="80" /></dd>
<dt><label for="public">Public:</label></dt>
<dd>
<select name="public" id="public">
<option value="public" #(public)#::selected="selected"#(/public)#>yes</option>
<option value="private" #(public)#selected="selected"::#(/public)#>no</option>
</select>
</dd>
</dl>
#(edit)#
<input type="submit" name="add" value="create" />
::
<input type="submit" name="add" value="edit" />
#(/edit)#
</fieldset>
</form>
::
<!-- import XML Bookmarks -->
<form action="Bookmarks.html" method="post" enctype="multipart/form-data">
<fieldset>
<legend>Import XML Bookmarks</legend>
<dl>
<dt><label for="xmlfile">File:</label></dt>
<dd><input type="file" name="xmlfile" id="xmlfile" /></dd>
<dt><label for="public">import as Public:</label></dt>
<dd>
<select name="public" id="public">
<option value="public">yes</option>
<option value="private">no</option>
</select>
</dd>
</dl>
<input type="submit" name="importxml" value="import" />
</fieldset>
</form>
::
<!-- import Netscape Bookmarks -->
<form action="Bookmarks.html" method="post" enctype="multipart/form-data">
<fieldset>
<legend>Import Bookmarks</legend>
<dl>
<dt><label for="bookmarksfile">File:</label></dt>
<dd><input type="file" name="bookmarksfile" id="bookmarksfile" /></dd>
<dt><label for="tags">Default Tags:</label></dt>
<dd><input type="text" name="tags" id="tags" value="imported" /></dd>
<dt><label for="public">import as Public:</label></dt>
<dd>
<select name="public" id="public">
<option value="public">yes</option>
<option value="private">no</option>
</select>
</dd>
</dl>
<input type="submit" name="importbookmarks" value="import" />
</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="bookmarkList">
<h3>Bookmark List</h3>
#{bookmarks}#
<div class="bookmark #(public)#public::private#(/public)#">
<h4 class="bookmarkTitle">
#(public)#
<img class="bookmarkIcon" src="env/grafics/bookmarkpriv.png" alt="private bookmark" title="private bookmark" />::<img class="bookmarkIcon" src="env/grafics/bookmarkpub.png" alt="public bookmark" title="public bookmark" />
#(/public)#
<a href="#[link]#" class="bookmarkTitle">#[title]#</a>
</h4>
<p class="bookmarkDescription">#[description]#</p>
<p class="tags">Tagged with |&nbsp;#{tags}#<a href="Bookmarks.html?tag=#[tag]#" class="bookmarkTags">#[tag]#</a> | #{/tags}#</p>
<p class="bookmarkActions">
<a href="Bookmarks.html?edit=#[hash]#" class="bookmarkAction">Edit</a> /
<a href="Bookmarks.html?delete=#[hash]#" class="bookmarkAction">Delete</a>
</p>
</div>
#{/bookmarks}#
<p class="Navigation">
#(prev-page)#
::<a href="Bookmarks.html?tag=#[tag]#&amp;start=#[start]#&amp;num=#[num]#">previous page</a>
#(/prev-page)#
#(next-page)#
::<a href="Bookmarks.html?tag=#[tag]#&amp;start=#[start]#&amp;num=#[num]#">next page</a>
#(/next-page)#
</p>
<p class="bookmarkNavigation">
Show
<a href="Bookmarks.html?tag=#[tag]#&amp;start=#[start]#&amp;num=10">10</a>
<a href="Bookmarks.html?tag=#[tag]#&amp;start=#[start]#&amp;num=50">50</a>
<a href="Bookmarks.html?tag=#[tag]#&amp;start=#[start]#&amp;num=100">100</a>
Bookmarks per page.
</p>
</div>
#%env/templates/footer.template%#
</body>
</html>