- Fixed alignment of heading 'YaCy -'

- Changed identation of html-file for better readability, added some comments

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4319 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
apfelmaennchen 17 years ago
parent 8bb21e98f4
commit eff372e20c

@ -1,158 +1,209 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!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"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>YaCy '#[clientname]#': Bookmarks</title> <title>YaCy '#[clientname]#': Bookmarks</title>
#%env/templates/metas.template%# #%env/templates/metas.template%#
<script src="/js/ajax.js" type="text/javascript"></script> <script src="/js/ajax.js" type="text/javascript"></script>
<script src="/js/Bookmarks.js" type="text/javascript"></script> <script src="/js/Bookmarks.js" type="text/javascript"></script>
<link rel="alternate" type="application/rss+xml" title="RSS" href="Bookmarks.rss" /> <link rel="alternate" type="application/rss+xml" title="RSS" href="Bookmarks.rss" />
</head> </head>
<body id="Bookmarks"> <body id="Bookmarks">
#%env/templates/header.template%# #%env/templates/header.template%#
#(mode)# #(mode)#
<div class="SubMenu"> <!-- SubMenu (mode=0) -->
<h3>Bookmarks</h3> <div class="SubMenu">
<ul class="SubMenu"> <h3>Bookmarks</h3>
<li><a href="Bookmarks.html?login=true&mode=add" class="MenuItemLink lock">Add Bookmark</a></li> <ul class="SubMenu">
<li><a href="Bookmarks.html?login=true&mode=importxml" class="MenuItemLink lock">Import XML Bookmarks</a></li> <li>
</ul> <a href="Bookmarks.html?login=true&mode=add" class="MenuItemLink lock">Add Bookmark</a>
<p/> </li>
</div> <li>
:: <a href="Bookmarks.html?login=true&mode=importxml" class="MenuItemLink lock">Import XML Bookmarks</a>
<div class="SubMenu"> </li>
<h3>Bookmarks</h3> </ul>
<ul class="SubMenu"> <p/>
<li><a href="Bookmarks.html?mode=add" class="MenuItemLink lock">Add Bookmark</a></li> </div>
<li><a href="Bookmarks.html?mode=importxml" class="MenuItemLink lock">Import XML Bookmarks</a></li> :: <!-- Submenu isAdmin (mode=1) -->
</ul> <div class="SubMenu">
<p/> <h3>Bookmarks</h3>
</div> <ul class="SubMenu">
:: <li>
<form action="Bookmarks.html" method="get"> <a href="Bookmarks.html?mode=add" class="MenuItemLink lock">Add Bookmark</a>
<fieldset> </li>
<legend>#(edit)#Add Bookmark::Edit Bookmark#(/edit)#</legend> <li>
<dl> <a href="Bookmarks.html?mode=importxml" class="MenuItemLink lock">Import XML Bookmarks</a>
<dt><label for="url">URL:</label></dt> </li>
<dd><input type="text" name="url" id="url" value="#[url]#" onblur="loadTitle()" size="80" /></dd> </ul>
<dt><label for="title">Title:</label></dt> <p/>
<dd><input type="text" name="title" id="title" value="#[title]#" size="80" /></dd> </div>
<dt><label for="description">Description:</label></dt> :: <!-- add or edit Bookmark (mode=2) -->
<dd><input type="text" name="description" id="description" value="#[description]#" size="80" /></dd> <form action="Bookmarks.html" method="get">
<dt><label for="tags">Tags (comma separated):</label></dt> <fieldset>
<dd><input type="text" name="tags" id="tags" value="#[tags]#" size="80" /></dd> <legend>#(edit)#Add Bookmark::Edit Bookmark#(/edit)#</legend>
<dt><label for="public">Public:</label></dt> <dl>
<dd> <dt>
<select name="public" id="public"> <label for="url">URL:</label>
<option value="public" #(public)#::selected="selected"#(/public)#>yes</option> </dt>
<option value="private" #(public)#selected="selected"::#(/public)#>no</option> <dd>
</select> <input type="text" name="url" id="url" value="#[url]#" onblur="loadTitle()" size="80" />
</dd> </dd>
<dt><input type="checkbox" value="true" name="feed" id="feed" #(feed)#::checked#(/feed)# /><label for="feed">Bookmark is a newsfeed</label></dt> <dt>
</dl> <label for="title">Title:</label>
#(edit)# </dt>
<input type="submit" name="add" value="create" /> <dd>
:: <input type="text" name="title" id="title" value="#[title]#" size="80" />
<input type="submit" name="add" value="edit" /> </dd>
#(/edit)# <dt>
<img src="/env/grafics/empty.gif" name="ajax" /> <label for="description">Description:</label>
</fieldset> </dt>
</form> <dd>
:: <input type="text" name="description" id="description" value="#[description]#" size="80" />
<!-- import XML Bookmarks --> </dd>
<form action="Bookmarks.html" method="post" enctype="multipart/form-data"> <dt>
<fieldset> <label for="tags">Tags (comma separated):</label>
<legend>Import XML Bookmarks</legend> </dt>
<dl> <dd>
<dt><label for="xmlfile">File:</label></dt> <input type="text" name="tags" id="tags" value="#[tags]#" size="80" />
<dd><input type="file" name="xmlfile" id="xmlfile" /></dd> </dd>
<dt><label for="public">import as Public:</label></dt> <dt>
<dd> <label for="public">Public:</label>
<select name="public" id="public"> </dt>
<option value="public">yes</option> <dd>
<option value="private">no</option> <select name="public" id="public">
</select> <option value="public" #(public)#::selected="selected"#(/public)#>yes</option>
</dd> <option value="private" #(public)#selected="selected"::#(/public)#>no</option>
</dl> </select>
<input type="submit" name="importxml" value="import" /> </dd>
</fieldset> <dt>
</form> <input type="checkbox" value="true" name="feed" id="feed" #(feed)#::checked#(/feed)# />
:: <label for="feed">Bookmark is a newsfeed</label>
<!-- import Netscape Bookmarks --> </dt>
<form action="Bookmarks.html" method="post" enctype="multipart/form-data"> </dl>
<fieldset> #(edit)#
<legend>Import Bookmarks</legend> <input type="submit" name="add" value="create" />
<dl> ::
<dt><label for="bookmarksfile">File:</label></dt> <input type="submit" name="add" value="edit" />
<dd><input type="file" name="bookmarksfile" id="bookmarksfile" /></dd> #(/edit)#
<dt><label for="tags">Default Tags:</label></dt> <img src="/env/grafics/empty.gif" name="ajax" />
<dd><input type="text" name="tags" id="tags" value="imported" /></dd> </fieldset>
<dt><label for="public">import as Public:</label></dt> </form>
<dd> :: <!-- import XML Bookmarks (mode=3) -->
<select name="public" id="public"> <form action="Bookmarks.html" method="post" enctype="multipart/form-data">
<option value="public">yes</option> <fieldset>
<option value="private">no</option> <legend>Import XML Bookmarks</legend>
</select> <dl>
</dd> <dt>
</dl> <label for="xmlfile">File:</label>
<input type="submit" name="importbookmarks" value="import" /> </dt>
</fieldset> <dd>
</form> <input type="file" name="xmlfile" id="xmlfile" />
#(/mode)# </dd>
<div class="TagList"> <dt>
<fieldset> <label for="public">import as Public:</label>
<legend>Tags</legend> </dt>
<p> <dd>
<form action="Bookmarks.html" name="choosetag" method="get" accept-charset="UTF-8"> <select name="public" id="public">
<select size="1" name="tag" width="175" onChange="document.choosetag.submit();"> <option value="public">yes</option>
<option value=""#[selected]#>All (#[num-bookmarks]#)</option> <option value="private">no</option>
#{taglist}# </select>
<option value="#[name]#"#[selected]#>#[name]# (#[num]#)</option> </dd>
</dl>
<input type="submit" name="importxml" value="import" />
</fieldset>
</form>
:: <!-- import Netscape Bookmarks (mode=4) -->
<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)#
<!-- show TagList -->
<div class="TagList">
<fieldset>
<legend>Tags</legend>
<p>
<form action="Bookmarks.html" name="choosetag" method="get" accept-charset="UTF-8">
<select size="1" name="tag" width="175" onChange="document.choosetag.submit();">
<option value=""#[selected]#>All (#[num-bookmarks]#)</option>
#{taglist}#
<option value="#[name]#"#[selected]#>#[name]# (#[num]#)</option>
#{/taglist}# #{/taglist}#
</select> </select>
<input type="submit" value=" ... "> <input type="submit" value=" ... ">
</form> </form>
</p> </p>
<p> <p>
#{taglist}# #{taglist}#
<span style="font-size:#[size]#em"><a href="Bookmarks.html?tag=#[name]#">#[name]#</a></span> <span style="font-size:#[size]#em">
<a href="Bookmarks.html?tag=#[name]#">#[name]#</a>
</span>
#{/taglist}# #{/taglist}#
</p> </p>
</fieldset> </fieldset>
</div> </div>
<div class="bookmarkList"> <!-- show BookmarkList -->
<h3>Bookmark List</h3> <div class="bookmarkList">
#{bookmarks}# <h3>Bookmark List</h3>
<div class="bookmark #(public)#public::private#(/public)#"> #{bookmarks}#
<h4 class="bookmarkTitle"> <div class="bookmark #(public)#public::private#(/public)#">
#(public)# <h4 class="bookmarkTitle">
<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)#
#(/public)# <img class="bookmarkIcon" src="env/grafics/bookmarkpriv.png" alt="private bookmark" title="private bookmark" />
<a href="#[link]#" class="bookmarkTitle">#[title]#</a> ::
</h4> <img class="bookmarkIcon" src="env/grafics/bookmarkpub.png" alt="public bookmark" title="public bookmark" />
<p class="bookmarkDescription">#[description]#</p> #(/public)#
<p class="tags">Tagged with | #{tags}#<a href="Bookmarks.html?tag=#[tag]#" class="bookmarkTags">#[tag]#</a> | #{/tags}#</p> <a href="#[link]#" class="bookmarkTitle">#[title]#</a>
<p class="bookmarkActions"> </h4>
<a href="Bookmarks.html?edit=#[hash]#" class="bookmarkAction">Edit</a> / <p class="bookmarkDescription">#[description]#</p>
<a href="Bookmarks.html?delete=#[hash]#" class="bookmarkAction">Delete</a> <p class="tags">Tagged with | #{tags}#<a href="Bookmarks.html?tag=#[tag]#" class="bookmarkTags">#[tag]#</a> | #{/tags}#</p>
</p> <p class="bookmarkActions">
</div> <a href="Bookmarks.html?edit=#[hash]#" class="bookmarkAction">Edit</a>
#{/bookmarks}# /
<p class="Navigation"> <a href="Bookmarks.html?delete=#[hash]#" class="bookmarkAction">Delete</a>
#(prev-page)# </p>
::<a href="Bookmarks.html?tag=#[tag]#&amp;start=#[start]#&amp;num=#[num]#">previous page</a> </div>
#(/prev-page)# #{/bookmarks}#
#(next-page)# <p class="Navigation">
::<a href="Bookmarks.html?tag=#[tag]#&amp;start=#[start]#&amp;num=#[num]#">next page</a> #(prev-page)#
#(/next-page)# ::<a href="Bookmarks.html?tag=#[tag]#&amp;start=#[start]#&amp;num=#[num]#">previous page</a>
</p> #(/prev-page)#
<p class="bookmarkNavigation"> #(next-page)#
Show ::<a href="Bookmarks.html?tag=#[tag]#&amp;start=#[start]#&amp;num=#[num]#">next page</a>
<a href="Bookmarks.html?tag=#[tag]#&amp;start=#[start]#&amp;num=10">10</a> #(/next-page)#
<a href="Bookmarks.html?tag=#[tag]#&amp;start=#[start]#&amp;num=50">50</a> </p>
<a href="Bookmarks.html?tag=#[tag]#&amp;start=#[start]#&amp;num=100">100</a> <p class="bookmarkNavigation">
Bookmarks per page. Show
</p> <a href="Bookmarks.html?tag=#[tag]#&amp;start=#[start]#&amp;num=10">10</a>
</div> <a href="Bookmarks.html?tag=#[tag]#&amp;start=#[start]#&amp;num=50">50</a>
#%env/templates/footer.template%# <a href="Bookmarks.html?tag=#[tag]#&amp;start=#[start]#&amp;num=100">100</a>
</body> Bookmarks per page.
</html> </p>
</div>
#%env/templates/footer.template%#
</body>
</html>

Loading…
Cancel
Save