Last change
on this file was
13366,
checked in by Henrik Bettermann, 9 years ago
|
Give the names to the dynamic part of pagetemplates.
|
File size:
1.1 KB
|
Line | |
---|
1 | <div class="panel panel-default"> |
---|
2 | <div class="panel-heading" role="tab" |
---|
3 | tal:attributes="id viewlet/heading"> |
---|
4 | <h4 class="panel-title"> |
---|
5 | <a class="collapsed" data-toggle="collapse" |
---|
6 | tal:attributes="data-parent viewlet/accordion; |
---|
7 | href viewlet/hash_collapse; |
---|
8 | aria-controls viewlet/collapse" |
---|
9 | aria-expanded="false"> |
---|
10 | <span tal:replace="viewlet/title">TITLE</span> |
---|
11 | </a> |
---|
12 | </h4> |
---|
13 | </div> |
---|
14 | <div tal:attributes="id viewlet/collapse; |
---|
15 | aria-labelledby viewlet/heading" |
---|
16 | class="panel-collapse collapse" |
---|
17 | role="tabpanel"> |
---|
18 | <div class="panel-body"> |
---|
19 | <table class="table"> |
---|
20 | <thead> |
---|
21 | <tr> |
---|
22 | <th i18n:translate="">Value</th> |
---|
23 | <th i18n:translate="">Title</th> |
---|
24 | </tr> |
---|
25 | </thead> |
---|
26 | <tbody> |
---|
27 | <tr tal:repeat="item viewlet/source"> |
---|
28 | <td tal:content="python: item[0]">NAME</td> |
---|
29 | <td tal:content="python: item[1]">TITLE</td> |
---|
30 | </tr> |
---|
31 | </tbody> |
---|
32 | </table> |
---|
33 | </div> |
---|
34 | </div> |
---|
35 | </div> |
---|
Note: See
TracBrowser for help on using the repository browser.