~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/collapse-button.pt

  • Committer: Steve 'Ashcrow' Milner
  • Date: 2008-10-24 02:26:05 UTC
  • mto: This revision was merged to the branch mainline in revision 231.
  • Revision ID: stevem@gnulinux.net-20081024022605-bukahu7dovm7ii6u
Updated to follow pep8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<tal:block>
 
2
  <a tal:attributes="href string:javascript:collapseDisplay('${group}','${name}','none');
 
3
                     class string:hide-button collapse-${group}-${name}-hide"
 
4
     title="collapse">
 
5
    <img tal:attributes="src python:branch.static_url('/static/images/nav-small-down.gif')"
 
6
         width="10" height="10" alt="collapse"
 
7
         class="collapse-triangle" />
 
8
  </a>
 
9
  <a tal:attributes="href string:javascript:collapseDisplay('${group}','${name}','${normal}');
 
10
                     class string:show-button collapse-${group}-${name}-show"
 
11
     title="expand">
 
12
    <img tal:attributes="src python:branch.static_url('/static/images/nav-small-right.gif')"
 
13
         witdh="10" height="10" alt="expand"
 
14
         class="collapse-triangle" />
 
15
  </a>
 
16
</tal:block>