folders.tmpl
branchxbelweb
changeset 45 c81d480c3224
child 46 d3c1de4d929e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/folders.tmpl	Sat Oct 18 00:56:42 2003 -0400
@@ -0,0 +1,63 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+  <TMPL_INCLUDE NAME="headers.tmpl">
+  <body>
+    <h1><TMPL_VAR remote_user>'s XBelWeb</h1>
+    <TMPL_UNLESS folder>
+      <p><TMPL_LOOP Parents><a href="?folder=<TMPL_VAR id>"><TMPL_VAR name></a>
+        : </TMPL_LOOP></p>
+    </TMPL_UNLESS>
+    <h2><TMPL_IF folder><TMPL_VAR name><TMPL_ELSE>Main Folder</TMPL_IF>
+    (<TMPL_VAR total>)</h2>
+    <DIV class="subfolders">
+    <ul>
+    <TMPL_LOOP Subfolders>
+      <li><a href="folders.py?folder=<TMPL_VAR id>"><TMPL_VAR name>
+      	(<TMPL_VAR count>)</a>
+	<a href="delete_folders.py?folder=<TMPL_VAR id>">delete</a></li>
+    </TMPL_LOOP>
+    </ul>
+    </div>
+    <form action="folders.py" method="post" name="folders">
+      <input type="hidden" name="folder" value="<TMPL_VAR folder>"/>
+      <label>Add subfolder with keyword:
+	<select name="sel" size="1">
+	<TMPL_LOOP Keywords>
+	  <option value="<TMPL_VAR id>"
+	    ><TMPL_VAR keyword> (<TMPL_VAR count>)</option>
+	</TMPL_LOOP></select>
+	<button name="action" value="add">Add</button>
+    </form>
+    <hr>
+    <div class="bookmarks">
+    <dl>
+    <TMPL_LOOP Bookmarks>
+      <dt>
+        <a href="<TMPL_VAR url>"><TMPL_VAR name></a>
+	<a href="edit.py?id=<TMPL_VAR id>">edit</a>
+      </dt>
+      <dd><p><TMPL_VAR desc></p></dd>
+    </TMPL_LOOP>
+    </dl>
+    </div>
+    <hr>
+  </body>
+</html>
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-namecase-general:t
+sgml-general-insert-case:lower
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:nil
+sgml-parent-document:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vi: syntax=html
+-->