- 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

@ -10,44 +10,74 @@
<body id="Bookmarks">
#%env/templates/header.template%#
#(mode)#
<!-- SubMenu (mode=0) -->
<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>
<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>
::
:: <!-- Submenu isAdmin (mode=1) -->
<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>
<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>
::
:: <!-- add or edit Bookmark (mode=2) -->
<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>
<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>
<dt><input type="checkbox" value="true" name="feed" id="feed" #(feed)#::checked#(/feed)# /><label for="feed">Bookmark is a newsfeed</label></dt>
<dt>
<input type="checkbox" value="true" name="feed" id="feed" #(feed)#::checked#(/feed)# />
<label for="feed">Bookmark is a newsfeed</label>
</dt>
</dl>
#(edit)#
<input type="submit" name="add" value="create" />
@ -57,15 +87,20 @@
<img src="/env/grafics/empty.gif" name="ajax" />
</fieldset>
</form>
::
<!-- import XML Bookmarks -->
:: <!-- import XML Bookmarks (mode=3) -->
<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>
<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>
@ -76,17 +111,26 @@
<input type="submit" name="importxml" value="import" />
</fieldset>
</form>
::
<!-- import Netscape Bookmarks -->
:: <!-- 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>
<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>
@ -98,6 +142,7 @@
</fieldset>
</form>
#(/mode)#
<!-- show TagList -->
<div class="TagList">
<fieldset>
<legend>Tags</legend>
@ -114,25 +159,31 @@
</p>
<p>
#{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}#
</p>
</fieldset>
</div>
<!-- show BookmarkList -->
<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" />
<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 | #{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?edit=#[hash]#" class="bookmarkAction">Edit</a>
/
<a href="Bookmarks.html?delete=#[hash]#" class="bookmarkAction">Delete</a>
</p>
</div>

Loading…
Cancel
Save