29 lines
825 B
Plaintext
29 lines
825 B
Plaintext
$newline never
|
|
|
|
$# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
|
$#
|
|
$# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
<div table-utils>
|
|
<div .scrolltable .scrolltable--bordered>
|
|
<table *{dbsAttrs'}>
|
|
$maybe wdgt <- wHeaders
|
|
<thead>
|
|
^{wdgt}
|
|
$nothing
|
|
<tbody>
|
|
$if null wRows && (dbsEmptyStyle == DBESHeading)
|
|
<tr .table__row>
|
|
<td .table__td colspan=#{show columnCount}>
|
|
_{dbsEmptyMessage}
|
|
$else
|
|
$forall (n, row) <- wRows
|
|
<tr .table__row>
|
|
$if numberColumn
|
|
<td .table__td .table__td--number>
|
|
<div .table__td-content>
|
|
$if dbstmShowNumber n
|
|
#{n}
|
|
$forall widget <- row
|
|
^{widget}
|