index.tmpl
branchxbelweb
changeset 33 db91081e5a78
parent 26 17b0cd274530
child 38 c30e2402deca
equal deleted inserted replaced
32:10f57beae364 33:db91081e5a78
     6     <p>Total bookmarks: <TMPL_VAR total></p>
     6     <p>Total bookmarks: <TMPL_VAR total></p>
     7     <form action="index.py" method="get" name="keywords">
     7     <form action="index.py" method="get" name="keywords">
     8       <fieldset class="keywords">
     8       <fieldset class="keywords">
     9         <legend>Keywords:</legend>
     9         <legend>Keywords:</legend>
    10 	<p>
    10 	<p>
       
    11 	<label>Include: <select multiple name="sel" onchange="submit()">
    11 	<TMPL_LOOP Keywords>
    12 	<TMPL_LOOP Keywords>
    12 	  <input type="checkbox" name="kw" onclick="submit()"
    13 	  <option value="<TMPL_VAR id>"
    13 	  <TMPL_IF checked>checked</TMPL_IF>
    14 	    <TMPL_IF selected>selected</TMPL_IF>
    14 	  value="<TMPL_VAR id>"
    15 	    ><TMPL_VAR keyword> (<TMPL_VAR count>)</option>
    15 	  /><a href="edit_kw.py?id=<TMPL_VAR id>"><TMPL_VAR keyword></a>(<TMPL_VAR count>);
    16 	</TMPL_LOOP></select>
    16 	</TMPL_LOOP>
    17 	<label>Exclude: <select multiple name="exc" onchange="submit()">
       
    18 	<TMPL_LOOP Keywords>
       
    19 	  <option value="<TMPL_VAR id>"
       
    20 	    <TMPL_IF excluded>selected</TMPL_IF>
       
    21 	    ><TMPL_VAR keyword> (<TMPL_VAR count>)</option>
       
    22 	</TMPL_LOOP></select>
    17 	</p>
    23 	</p>
    18 	<button>Lookup</button>
    24 	<button>Lookup</button>
    19       </fieldset>
    25       </fieldset>
    20     </form>
    26     </form>
    21     <dl>
    27     <dl>
    27       <dd><p><TMPL_VAR desc></p></dd>
    33       <dd><p><TMPL_VAR desc></p></dd>
    28     </TMPL_LOOP>
    34     </TMPL_LOOP>
    29     </ul>
    35     </ul>
    30     <hr/>
    36     <hr/>
    31     <p><a href="add.py">Add new bookmark</a>.<br/>
    37     <p><a href="add.py">Add new bookmark</a>.<br/>
    32     <a href="import.py">Import a XBEL file</a>.</p>
    38     <a href="import.py">Import a XBEL file</a>.<br/>
       
    39     <a href="edit_kw.py">Edit keywords</a>.</p>
    33     <p>Here the <a
    40     <p>Here the <a
    34     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
    41     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
    35     Mark Link</a>.  Put it on your bookmarks (using <tt>&lt;Right-Mouse
    42     Mark Link</a>.  Put it on your bookmarks (using <tt>&lt;Right-Mouse
    36     Click&gt; Bookmark this link</tt>) and just select it when you
    43     Click&gt; Bookmark this link</tt>) and just select it when you
    37     want to bookmark your links.</p>
    44     want to bookmark your links.</p>