aboutsummaryrefslogtreecommitdiffstats
path: root/share/skin/default/layout/list_view.tt
blob: 7cd3cc4ab4fff8e7b7cb0f24bb612f88d6c7fbcf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
=for layout widget

[% pager %]

<table>
  [% header %]
  [% body   %]
  [% footer %]
</table>

[% pager %]

[% actions %]

=for layout header

<thead>
  [% content %]
</thead>

=for layout header_row

<tr>
  [% content %]
  [% IF object_action_count %]
  <th colspan="[% object_action_count %]"> Actions </th>
  [% END %]
</tr>

=for layout header_cell

<th> <a href="[% uri %]"> [% content | html %] </a> </th>

=for layout footer

<tfoot>
  [% content %]
</tfoot>

=for layout footer_row

<tr> 
  [% content %] 
  [% IF object_action_count %]
  <th colspan="[% object_action_count %]"> Actions </th>
  [% END %]
</tr>

=for layout footer_cell

<th> <a href="[% uri %]"> [% content | html %] </a> </th>

=for layout body

<tbody>
  [% content %]
</tbody>

=for layout pager

<ul class="pager">
  <li>[% first_page %]</li>
  <li>[% previous_page %]</li>
  <li>[% page_list %]</li>
  <li>[% next_page %]</li>
  <li>[% last_page %]</li>
</ul>

=for layout page_list
[% content %]

=for layout page
<li> <a href="[% uri | html %]">[% content | html %]</a> </li>

=for layout first_page
<a href="[% uri | html %]">[% content | html %]</a>

=for layout previous_page
<a href="[% uri | html %]">[% content | html %]</a>

=for layout current_page
<a href="[% uri | html %]">[% content | html %]</a>

=for layout next_page
<a href="[% uri | html %]">[% content | html %]</a>

=for layout last_page
<a href="[% uri | html %]">[% content | html %]</a>

=for layout actions
<div class="collection_actions">
<ul>
  [% content %]
</ul>
</div>

=for layout action
<li>[% content %]</li>

=cut