Mercurial > hg > documentViewer
diff zpt/layer_text_dict.zpt @ 526:3f375a048402
moved search and dict into separate layers.
removed search_template.
added tocMode=concordance.
fixed bug with paging tocs.
author | casties |
---|---|
date | Tue, 10 Apr 2012 19:41:44 +0200 |
parents | |
children | ad6f97fd3944 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zpt/layer_text_dict.zpt Tue Apr 10 19:41:44 2012 +0200 @@ -0,0 +1,44 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<!-- not used here +<metal:block metal:define-macro="html_head"> +</metal:block> +--> +</head> +<body> + <!-- right-side options --> + <div class="col buttons"> + <!-- LAYER DISPLAY OPTION --> + <ul> + <metal:block metal:define-macro="layer_select_li"> + <li> + <input type="checkbox" class="autosubmit" name="viewLayer" value="dict" + tal:attributes="checked python:'dict' in viewLayers" /> Dictionary + </li> + </metal:block> + </ul> + </div> + + <metal:block metal:define-macro="options_box" tal:condition="python:'dict' in viewLayers"> + <!--"BEGIN DICTIONARY OVERVIEW"--> + <div class="options"> + <h4>Dictionary view</h4> + <form name="f3" action=""> + <ul> + <li> + <input type="radio" name="r3" /> Tab + </li> + <li> + <input type="radio" name="r3" /> Window + </li> + </ul> + </form> + </div> + <!--"END DICTIONARY OVERVIEW"--> + </metal:block> + +</body> + +</html>