Mercurial > hg > MPIWGWeb
comparison zpt/www/common_template.zpt @ 163:ed1366e3c533
common_template/macros/tool_box_projects
author | casties |
---|---|
date | Thu, 06 Jun 2013 19:13:46 +0200 |
parents | ee79f6ba8d01 |
children | a7be6992777e |
comparison
equal
deleted
inserted
replaced
162:47392bf3fcba | 163:ed1366e3c533 |
---|---|
50 <a tal:attributes="href python:'?ff=%s'%(feature_num+1)"><img tal:attributes="src string:$root/images/slider_next.png" | 50 <a tal:attributes="href python:'?ff=%s'%(feature_num+1)"><img tal:attributes="src string:$root/images/slider_next.png" |
51 alt="next" /></a> | 51 alt="next" /></a> |
52 </div> | 52 </div> |
53 </div> | 53 </div> |
54 </div> | 54 </div> |
55 </div><!-- /feature --> | |
56 | |
57 <!-- sort projects tool box --> | |
58 <div class="tool box" metal:define-macro="tool_box_projects"> | |
59 <form class="autosubmit" tal:attributes="action string:$root/${secmap/research}/redirectSortBy"> | |
60 <input type="hidden" name="dep" tal:condition="activeDep|nothing" tal:attributes="value activeDep" /> | |
61 <h3 metal:define-slot="title">Sort Projects by</h3> | |
62 <div class="options"> | |
63 <ul tal:attributes="class listClass | nothing"> | |
64 <li><input class="radio autosubmit" type="radio" name="sortby" value="unit" tal:attributes="checked python:sortby=='unit'" /> | |
65 <tal:block metal:define-slot="text_unit">Research Unit</tal:block> | |
66 </li> | |
67 <li><input class="radio autosubmit" type="radio" name="sortby" value="name" tal:attributes="checked python:sortby=='name'" /> | |
68 <tal:block metal:define-slot="text_name">Name of Project</tal:block> | |
69 </li> | |
70 <li><input class="radio autosubmit" type="radio" name="sortby" value="scholar" tal:attributes="checked python:sortby=='scholar'" /> | |
71 <tal:block metal:define-slot="text_scholar">Involved Scholar</tal:block> | |
72 </li> | |
73 <li><input class="radio autosubmit" type="radio" name="sortby" value="structure" tal:attributes="checked python:sortby=='structure'" /> | |
74 <tal:block metal:define-slot="text_structure">Structure</tal:block> | |
75 </li> | |
76 <li><input class="radio autosubmit" type="radio" name="sortby" value="thesaurus" tal:attributes="checked python:sortby=='thesaurus'" /> | |
77 <tal:block metal:define-slot="text_thesaurus">Keyword</tal:block> | |
78 </li> | |
79 </ul> | |
80 </div> | |
81 <div class="options"> | |
82 <input class="radio autosubmit" type="radio" name="archived" value="1" tal:attributes="checked python:archived==1" /> | |
83 <tal:block metal:define-slot="text_current">Show Current Projects</tal:block> | |
84 <input class="radio autosubmit" type="radio" name="archived" value="2" tal:attributes="checked python:archived==2" /> | |
85 <tal:block metal:define-slot="text_completed">Show Completed Projects</tal:block> | |
86 <input class="autosubmit" type="submit" value="Change" /> | |
87 </div> | |
88 <div class="atoz" tal:condition="python:sortby in ['name','scholar']"> | |
89 <ul class="inline"> | |
90 <li tal:repeat="letter python:modules['string'].uppercase"> | |
91 <a tal:attributes="href string:#$letter" tal:content="letter"/><tal:block tal:condition="not:repeat/letter/end"> |</tal:block> | |
92 </li> | |
93 </ul> | |
94 </div> | |
95 </form> | |
55 </div> | 96 </div> |
56 <!-- feature --> | |
57 | 97 |
58 | 98 |
59 <!-- short person entry --> | 99 <!-- short person entry --> |
60 <tr class="line" metal:define-macro="staff_member_row"> | 100 <tr class="line" metal:define-macro="staff_member_row"> |
61 <td width="25%"> | 101 <td width="25%"> |