... | in view_standard.naml |
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 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
|
<macro name="standard_table" dot_parameter="columns">
<div style="clear:both"></div>
<table class="main medium-border-color">
<n.table_header Macro Parameters:
do
♦ ♦
<tr class="header-row shaded-bg-color">
<n.columns/>
</tr>
</n.table_header.>
<n.page_node Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
Parameters:
filter, start, length, sort, do
♦ ♦
start="[n.app_index_record Macro Requires: servlet
♦ ♦
length="[n.app_rows_per_page Macro Requires: node_page
♦ ♦
filter="[n.app_topic_filter Macro Requires: node_page, servlet
♦ ♦
sort="[n.if.app_is_by_priority][then]priority[/then][else]pinned-and-last-node-date[/else][/n.if.app_is_by_priority]"
>
<n.loop Macro Requires: sequence
Parameters:
by, do
♦ ♦
<tr class="[n.even_row_background Macro ♦ ♦
<n.columns/>
</tr>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: NodeList
♦ ♦
<then>
<tr class="[n.odd_row_background Macro ♦ ♦
<n.columns/>
</tr>
</then>
</n.if.next_node>
</n.loop.>
</n.page_node.children_list.>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
condition
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Binary Namespace: NodeNamespace
♦ ♦
<then>
<tr>
<td></td>
<td colspan="10" style="padding:.8em 0">
<t>Empty</t>
</td>
</tr>
</then>
</n.if.not.page_node.has_children>
</table>
<div style="clear:both"></div>
</macro>
|
Free forum by Nabble | Edit this page |