edit query

This commit is contained in:
2024-07-10 14:04:46 +07:00
parent e4364f0c4f
commit 57d160b62a
9 changed files with 248 additions and 7 deletions

View File

@@ -62,7 +62,7 @@ templ ModalClose(LinkClose string, hxTarget string, hxSwap string, modalID strin
templ TabReportView(
datamcu []models.TabViewReportMcu,
) {
<div>
<div class="container-rpt">
<ul class="nav nav-tabs nav-tabs-line">
for i, v := range datamcu {
if i == 0 {

View File

@@ -220,7 +220,7 @@ func TabReportView(
templ_7745c5c3_Var9 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<div><ul class=\"nav nav-tabs nav-tabs-line\">")
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<div class=\"container-rpt\"><ul class=\"nav nav-tabs nav-tabs-line\">")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}

View File

@@ -46,6 +46,13 @@ templ TabDaftarPesertaScreen(
}
templ CSSTabDaftarPeserta() {
<style>
.container-rpt {
width: 100%;
overflow-x: auto;
white-space: nowrap;
}
</style>
}
templ JsTabDaftarPeserta() {

View File

@@ -102,6 +102,10 @@ func CSSTabDaftarPeserta() templ.Component {
templ_7745c5c3_Var2 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<style>\r\n .container-rpt {\r\n width: 100%;\r\n overflow-x: auto;\r\n white-space: nowrap;\r\n }\r\n </style>")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
if !templ_7745c5c3_IsBuffer {
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteTo(templ_7745c5c3_W)
}