You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.9 KiB
62 lines
1.9 KiB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<title>YaCy '#[clientname]#': Bookmarks</title>
|
|
#%env/templates/metas.template%#
|
|
<script src="/js/ajax.js"></script>
|
|
<script src="/js/Bookmarks.js"></script>
|
|
</head>
|
|
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
|
|
#%env/templates/header.template%#
|
|
<br><br>
|
|
<h2>Bookmarks</h2>
|
|
<!-- todo: div layout? -->
|
|
<table border="1" width="100%" height="100%">
|
|
<tr><td colspan="2">
|
|
#(edit)#<h3>Add Bookmark</h3>::<h3>Edit Bookmark</h3>#(/edit)#
|
|
<form action="Bookmarks_p.html" method="GET">
|
|
Url: <input type="text" name="url" value="#[url]#" onblur="loadTitle()"><br />
|
|
Title: <input type="text" name="title" value="#[title]#"><br />
|
|
Description: <input type="text" name="description" value="#[description]#"><br />
|
|
Tags(comma separated): <input type="text" name="tags" value="#[tags]#"><br />
|
|
Public: <select name="public">
|
|
<option value="public" #(public)#::selected#(/public)#>yes</option>
|
|
<option value="private" #(public)#selected::#(/public)#>no</option>
|
|
</select>
|
|
#(edit)#
|
|
<input type="submit" name="add" value="create">
|
|
::
|
|
<input type="submit" name="add" value="edit">
|
|
#(/edit)#
|
|
</form>
|
|
</td></tr>
|
|
<tr height="100%">
|
|
<td width="100%">
|
|
#{bookmarks}#
|
|
<a href="#[link]#" target="_blank">#[title]#</a><br />
|
|
#[description]#<br />
|
|
Tagged with <span class="bookmarkTags">#[tags]#</span>. <br />
|
|
<a href="Bookmarks_p.html?edit=#[hash]#">Edit</a> /
|
|
<a href="Bookmarks_p.html?delete=#[hash]#">Delete</a>
|
|
<p />
|
|
#{/bookmarks}#
|
|
<p />
|
|
#(next-page)#
|
|
::<a href="Bookmarks_p.html?tag=#[tag]#&start=#[start]#">next page</a>
|
|
#(/next-page)#
|
|
|
|
</td>
|
|
<td valign="top">
|
|
<a href="Bookmarks_p.html">All</a><br />
|
|
#{taglist}#
|
|
<a href="Bookmarks_p.html?tag=#[name]#">#[name]#</a><br />
|
|
#{/taglist}#
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
#%env/templates/footer.template%#
|
|
</body>
|
|
</html>
|