Render the table groups.

This commit is contained in:
Tom Alexander
2023-12-22 17:47:31 -05:00
parent fa2dd96f78
commit 95d4ee7080
9 changed files with 42 additions and 4 deletions

View File

@@ -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>

View File

@@ -0,0 +1 @@
<tbody>{#.children}{>table_row/}{/.children}</tbody>

View File

@@ -0,0 +1 @@
<thead>{#.children}{>table_head_row/}{/.children}</thead>

View File

@@ -0,0 +1 @@
<th scope="col">{#.children}{>object/}{/.children}</th>

View File

@@ -0,0 +1 @@
<tr>{#.children}{>table_head_cell/}{/.children}</tr>