index.tmpl
branchxbelweb
changeset 33 db91081e5a78
parent 26 17b0cd274530
child 38 c30e2402deca
--- a/index.tmpl	Tue Oct 07 00:06:23 2003 -0400
+++ b/index.tmpl	Tue Oct 07 00:07:32 2003 -0400
@@ -8,12 +8,18 @@
       <fieldset class="keywords">
         <legend>Keywords:</legend>
 	<p>
+	<label>Include: <select multiple name="sel" onchange="submit()">
 	<TMPL_LOOP Keywords>
-	  <input type="checkbox" name="kw" onclick="submit()"
-	  <TMPL_IF checked>checked</TMPL_IF>
-	  value="<TMPL_VAR id>"
-	  /><a href="edit_kw.py?id=<TMPL_VAR id>"><TMPL_VAR keyword></a>(<TMPL_VAR count>);
-	</TMPL_LOOP>
+	  <option value="<TMPL_VAR id>"
+	    <TMPL_IF selected>selected</TMPL_IF>
+	    ><TMPL_VAR keyword> (<TMPL_VAR count>)</option>
+	</TMPL_LOOP></select>
+	<label>Exclude: <select multiple name="exc" onchange="submit()">
+	<TMPL_LOOP Keywords>
+	  <option value="<TMPL_VAR id>"
+	    <TMPL_IF excluded>selected</TMPL_IF>
+	    ><TMPL_VAR keyword> (<TMPL_VAR count>)</option>
+	</TMPL_LOOP></select>
 	</p>
 	<button>Lookup</button>
       </fieldset>
@@ -29,7 +35,8 @@
     </ul>
     <hr/>
     <p><a href="add.py">Add new bookmark</a>.<br/>
-    <a href="import.py">Import a XBEL file</a>.</p>
+    <a href="import.py">Import a XBEL file</a>.<br/>
+    <a href="edit_kw.py">Edit keywords</a>.</p>
     <p>Here the <a
     href="javascript:bk1='<TMPL_VAR curl>?curl='+escape(location.href)+'&ctitle='+escape(document.title);bkwin=window.open(bk1,'bkqm','width=620,height=500,scrollbars=1,resizable=1');bkwin.focus();">Quick
     Mark Link</a>.  Put it on your bookmarks (using <tt>&lt;Right-Mouse