| 2 | | <tal:imagemap tal:content="structure context/@@imagemap" /> |
| 3 | | <dl> |
| 4 | | <dd> |
| 5 | | <div align="center" > |
| 6 | | <img usemap="#graphicsmap" src="" tal:attributes="src string:${here/absolute_url}/features.png" /> |
| 7 | | </div> |
| 8 | | </dd> |
| 9 | | </dl> |
| 10 | | <tal:features tal:repeat="featuretype featuredict"> |
| 11 | | <dl tal:attributes="id string:group-${featuretype}" class="collapsible inline collapsedOnLoad"> |
| 12 | | <dt class="collapsibleHeader" tal:content="featuretype" >Feature</dt> |
| 13 | | <dd class="collapsibleContent" > |
| 14 | | <div tal:define="featureaccessiondict python:featuredict[featuretype];" |
| 15 | | class="listing" summary="Features" style="width:100%"> |
| 16 | | <tal:featuregroup tal:repeat="featureaccession featureaccessiondict"> |
| 17 | | <table class="listing" summary="FeaturesAccession" style="width:100%" |
| | 2 | <tal:imagemap tal:content="structure here/@@imagemap" /> |
| | 3 | <div align="center" style="overflow: auto; "> |
| | 4 | <img style="max-width: none;" usemap="#graphicsmap" src="" tal:attributes="src string:${here/absolute_url}/features.png" /> |
| | 5 | </div> |
| | 6 | <div id="accordion-features"> |
| | 7 | <tal:features tal:repeat="featuretype featuredict"> |
| | 8 | <h3><a href="#" tal:content="featuretype">group featuretype</a></h3> |
| | 9 | <div tal:define="featureaccessiondict python:featuredict[featuretype];" |
| | 10 | class="listing" summary="Features" style="width:100%"> |
| | 11 | <tal:featuregroup tal:repeat="featureaccession featureaccessiondict"> |
| | 12 | <table class="listing" summary="FeaturesAccession" style="width:100%" |
| 25 | | </tr> |
| 26 | | </thead> |
| 27 | | <tbody> |
| 28 | | <tal:features tal:repeat="feature features"> |
| 29 | | <tr |
| 30 | | tal:define="oddrow repeat/feature/odd; |
| 31 | | start python:'Start: ' + str(feature.location.start.position + 1); |
| 32 | | end python:'End: ' + str(feature.location.end.position);" |
| 33 | | tal:attributes="class python:(oddrow and 'even' or 'odd')"> |
| 34 | | <td><b tal:content="feature/type" /></td> |
| 35 | | <td tal:content="python:start + ' : ' + end" /> |
| 36 | | <td> |
| 37 | | <ul> |
| 38 | | <tal:qualifiers tal:repeat="key feature/qualifiers/keys"> |
| 39 | | <li tal:condition="python:isinstance(feature.qualifiers[key],list)"> |
| 40 | | <b tal:content="key" />: <span tal:content="python:feature.qualifiers[key][0]" /> |
| 41 | | </li> |
| 42 | | <li tal:condition="python:isinstance(feature.qualifiers[key],str)"> |
| 43 | | <b tal:content="key" />: <span tal:content="python:feature.qualifiers[key]" /> |
| 44 | | </li> |
| 45 | | </tal:qualifiers> |
| 46 | | </ul> |
| 47 | | </td> |
| 48 | | </tr> |
| 49 | | </tal:features> |
| | 20 | </tr> |
| | 21 | </thead> |
| | 22 | <tbody> |
| | 23 | <tal:features tal:repeat="feature features"> |
| | 24 | <tr tal:define="oddrow repeat/feature/odd; |
| | 25 | start python:'Start: ' + str(feature.location.start.position + 1); |
| | 26 | end python:'End: ' + str(feature.location.end.position);" |
| | 27 | tal:attributes="class python:(oddrow and 'even' or 'odd')"> |
| | 28 | <td><strong tal:content="feature/type" /></td> |
| | 29 | <td tal:content="python:start + ' : ' + end" /> |
| | 30 | <td> |
| | 31 | <ul> |
| | 32 | <tal:qualifiers tal:repeat="key feature/qualifiers/keys"> |
| | 33 | <li tal:condition="python:isinstance(feature.qualifiers[key],list)"> |
| | 34 | <strong tal:content="key" />: <span tal:content="python:feature.qualifiers[key][0]" /> |
| | 35 | </li> |
| | 36 | <li tal:condition="python:isinstance(feature.qualifiers[key],str)"> |
| | 37 | <strong tal:content="key" />: <span tal:content="python:feature.qualifiers[key]" /> |
| | 38 | </li> |
| | 39 | </tal:qualifiers> |
| | 40 | </ul> |
| | 41 | </td> |
| | 42 | </tr> |
| | 43 | </tal:features> |