Render the table groups.
This commit is contained in:
@@ -1 +1,5 @@
|
||||
<table class="org_table"><tbody>{#.children}{>table_row/}{/.children}</tbody></table>
|
||||
<table class="org_table">{#.children}{@select key=.type}
|
||||
{@eq value="head"}{>table_head/}{/eq}
|
||||
{@eq value="body"}{>table_body/}{/eq}
|
||||
{@none}{!TODO: make this panic!}ERROR: Unrecognized type {.type}.{/none}
|
||||
{/select}{/.children}</table>
|
||||
|
||||
1
default_environment/templates/html/table_body.dust
Normal file
1
default_environment/templates/html/table_body.dust
Normal file
@@ -0,0 +1 @@
|
||||
<tbody>{#.children}{>table_row/}{/.children}</tbody>
|
||||
1
default_environment/templates/html/table_head.dust
Normal file
1
default_environment/templates/html/table_head.dust
Normal file
@@ -0,0 +1 @@
|
||||
<thead>{#.children}{>table_head_row/}{/.children}</thead>
|
||||
1
default_environment/templates/html/table_head_cell.dust
Normal file
1
default_environment/templates/html/table_head_cell.dust
Normal file
@@ -0,0 +1 @@
|
||||
<th scope="col">{#.children}{>object/}{/.children}</th>
|
||||
1
default_environment/templates/html/table_head_row.dust
Normal file
1
default_environment/templates/html/table_head_row.dust
Normal file
@@ -0,0 +1 @@
|
||||
<tr>{#.children}{>table_head_cell/}{/.children}</tr>
|
||||
Reference in New Issue
Block a user