Changeset 6447 for main/waeup.sirp/trunk/src/waeup/sirp/browser/templates
- Timestamp:
- 21 Jun 2011, 11:09:33 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/searchpage.pt
r4789 r6447 1 <h 3>Search the site</h3>1 <h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2> 2 2 <form method="post"> 3 3 <input type="text" name="query" 4 4 tal:attributes="value view/query" /> 5 <input type="submit" name="SUBMIT" value=" search..." />5 <input type="submit" name="SUBMIT" value="Search" /> 6 6 </form> 7 <div tal:condition="view/hitlist"> 8 <h4>Results (<span tal:replace="python: len(view.hitlist)" />):</h4> 9 <div tal:repeat="item view/hitlist"> 10 <a href="" 11 tal:attributes="href item/url" 12 tal:content="item/title">Search Item Title</a> 13 <div tal:content="item/description"> 14 Longer description of item... 15 </div> 16 </div> 17 </div> 7 <br /> 8 <span tal:condition="view/hitlist"> 9 <h3>Results:</h3> 10 <table class="display dataTable"> 11 <thead> 12 <tr> 13 <th>Code</th> 14 <th>Title</th> 15 <th>Type</th> 16 </tr> 17 </thead> 18 <tbody> 19 <tr tal:repeat="item view/hitlist" class="gradeB"> 20 <td> 21 <a href="" tal:attributes="href item/url" 22 tal:content="item/code">Code</a> 23 </td> 24 <td tal:content="item/title"> 25 Title 26 </td> 27 <td tal:content="item/type"> 28 Type 29 </td> 30 </tr> 31 </tbody> 32 </table> 33 </span>
Note: See TracChangeset for help on using the changeset viewer.