Changeset 540:4b43a57ad9b3 in documentViewer for zpt/layer_text_search.zpt
- Timestamp:
- Aug 16, 2012, 5:09:49 PM (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/layer_text_search.zpt
r532 r540 17 17 <metal:block metal:define-macro="layer_select_li"> 18 18 <li tal:condition="python:query"><input type="checkbox" class="autosubmit" name="viewLayer" value="search" 19 tal:attributes="checked python:'search' in viewLayers" /> Search hits</li>19 tal:attributes="checked python:'search' in viewLayers" /> Search results</li> 20 20 </metal:block> 21 21 </ul> … … 25 25 <!-- right-side search results --> 26 26 <div class="col results" tal:condition="query"> 27 <!--"BEGIN SEARCH RESULTS" --> 28 <div class="options"> 27 <div class="result"> 29 28 <h4>Search results</h4> 30 29 <div … … 33 32 <div class="ruler" tal:define="startParam string:resultStart"> 34 33 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" /> 34 </div> 35 <div class="query"> 36 Searching "<span tal:content="query" />" (<span tal:content="queryType" />) 35 37 </div> 36 38 <div class="content" … … 42 44 43 45 <metal:block metal:define-macro="options_box"> 44 <!-- "BEGIN SEARCH"-->46 <!-- search options --> 45 47 <div class="options"> 46 48 <h4>Search</h4> … … 55 57 <!-- query text --> 56 58 <input type="text" name="query" tal:attributes="value query" /> <br /> <input type="submit" value="Search" /> <a 57 tal: attributes="href python:here.getLink('query',None)">Clear</a>59 tal:condition="query" tal:attributes="href python:here.getLink('query',None)">Clear</a> 58 60 <ul> 59 61 <li><input type="radio" name="queryType" value="fulltext" tal:attributes="checked python:queryType=='fulltext'" /> … … 68 70 </form> 69 71 </div> 70 <!-- "END SEARCH"-->72 <!-- end search options--> 71 73 </metal:block> 72 74
Note: See TracChangeset
for help on using the changeset viewer.