19 lines
774 B
Plaintext
19 lines
774 B
Plaintext
$newline never
|
|
<table id="#{dbtIdent}" .table.table--striped.table--hover>
|
|
$maybe sortableP <- pSortable
|
|
$with toSortable <- toSortable sortableP
|
|
<thead>
|
|
<tr .table__row>
|
|
$forall OneColonnade{..} <- getColonnade dbtColonnade
|
|
<!-- TODO: give ths a class 'table__th' -->
|
|
<!-- TODO: wrap content of th in 'div.table__th-content' -->
|
|
^{widgetFromCell th $ withSortLinks $ toSortable oneColonnadeHead}
|
|
$nothing
|
|
<tbody>
|
|
$forall row <- rows
|
|
<tr .table__row>
|
|
$forall OneColonnade{..} <- getColonnade dbtColonnade
|
|
<!-- TODO: give tds a class 'table__td' -->
|
|
<!-- TODO: wrap content of td in 'div.table__td-content' -->
|
|
^{widgetFromCell td $ oneColonnadeEncode row}
|