This commit is contained in:
Hartmut Bauer committed 2026-10-21 01:29:35 +02:00
1 parent e08a941c62
commit 3d165ee610
12 files changed
+116 -30

No files matched your search

+35 -3
View File
@@ -234,14 +234,22 @@ fun HTML.testPage(booksDb: Database) {
//}
fun FlowContent.testTable() {
div(classes = "flex-auto overflow-auto px-1 pb-1") {
div(classes = "flex-auto overflow-auto px-1 pb-1 w-0 min-w-1/1") {
table {
id = "testtable"
thead(classes = "$cssFixedTHead ") {
tr {
th(classes = "py-3 px-2") { +"#" }
th(classes = "py-3 px-2") { +"Alias" }
th(classes = "py-3 px-2") { +"Score" }
th(classes = "py-3 px-2") { +"Alias0" }
th(classes = "py-3 px-2") { +"Score0" }
th(classes = "py-3 px-2") { +"Alias1" }
th(classes = "py-3 px-2") { +"Score1" }
th(classes = "py-3 px-2") { +"Alias2" }
th(classes = "py-3 px-2") { +"Score2" }
th(classes = "py-3 px-2") { +"Alias3" }
th(classes = "py-3 px-2") { +"Score3" }
th(classes = "py-3 px-2") { +"Alias4" }
th(classes = "py-3 px-2") { +"Score4" }
th(classes = "py-3 px-2") {
a {
href = navBooksNew.second
@@ -267,6 +275,30 @@ fun FlowContent.testTable() {
td(classes = "border-t-1 $borderTable px-2 py-1") {
+Random.nextLong().toString()
}
td(classes = "border-t-1 $borderTable px-2 py-1") {
+Random.nextLong().toString()
}
td(classes = "border-t-1 $borderTable px-2 py-1") {
+Random.nextLong().toString()
}
td(classes = "border-t-1 $borderTable px-2 py-1") {
+Random.nextLong().toString()
}
td(classes = "border-t-1 $borderTable px-2 py-1") {
+Random.nextLong().toString()
}
td(classes = "border-t-1 $borderTable px-2 py-1") {
+Random.nextLong().toString()
}
td(classes = "border-t-1 $borderTable px-2 py-1") {
+Random.nextLong().toString()
}
td(classes = "border-t-1 $borderTable px-2 py-1") {
+Random.nextLong().toString()
}
td(classes = "border-t-1 $borderTable px-2 py-1") {
+Random.nextLong().toString()
}
td(classes = "border-t-1 $borderTable px-2 py-1 text-nowrap") {
materialSymbolButton("Edit")
materialSymbolButton("Delete")