diff --git a/handlers/dev/detailmcu.handlers.go b/handlers/dev/detailmcu.handlers.go
index 384dbb9..ff4d5d5 100644
--- a/handlers/dev/detailmcu.handlers.go
+++ b/handlers/dev/detailmcu.handlers.go
@@ -51,6 +51,7 @@ func (dmcu *DetailMcuHandler) HandleShowDetailMcuScreen(c echo.Context) error {
content := dev_detailmcu.DetailMcuScreen(
breadcrumb,
+ dev_detailmcu.TabViewDetailMcu(),
)
css := dev_detailmcu.CSSDetailMcu()
js := dev_detailmcu.JSDetailMcu()
diff --git a/views/dev/mcu/mcudetail.templ b/views/dev/mcu/mcudetail.templ
index f1652a0..61d70b3 100644
--- a/views/dev/mcu/mcudetail.templ
+++ b/views/dev/mcu/mcudetail.templ
@@ -4,6 +4,7 @@ import "cpone/layout"
templ DetailMcuScreen(
breadcrumb templ.Component,
+ content templ.Component,
) {
@@ -12,6 +13,7 @@ templ DetailMcuScreen(
+ @content
Loading....
diff --git a/views/dev/mcu/mcudetail_templ.go b/views/dev/mcu/mcudetail_templ.go
index c6ffeec..6f71516 100644
--- a/views/dev/mcu/mcudetail_templ.go
+++ b/views/dev/mcu/mcudetail_templ.go
@@ -14,6 +14,7 @@ import "cpone/layout"
func DetailMcuScreen(
breadcrumb templ.Component,
+ content templ.Component,
) templ.Component {
return templ.ComponentFunc(func(ctx context.Context, templ_7745c5c3_W io.Writer) (templ_7745c5c3_Err error) {
templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templ_7745c5c3_W.(*bytes.Buffer)
@@ -35,7 +36,15 @@ func DetailMcuScreen(
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
Tab content 1
Tab content 2
Tab content 4
Tab content 5
")
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("")
+ if templ_7745c5c3_Err != nil {
+ return templ_7745c5c3_Err
+ }
+ templ_7745c5c3_Err = content.Render(ctx, templ_7745c5c3_Buffer)
+ if templ_7745c5c3_Err != nil {
+ return templ_7745c5c3_Err
+ }
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
diff --git a/views/dev/mcu/tabviewdetailmcu.templ b/views/dev/mcu/tabviewdetailmcu.templ
index 435e83e..48fdd35 100644
--- a/views/dev/mcu/tabviewdetailmcu.templ
+++ b/views/dev/mcu/tabviewdetailmcu.templ
@@ -29,9 +29,23 @@ templ TabViewDetailMcu(
-
Tab content 1
-
Tab content 2
+
+
+
+
+
+
Tab content 4
Tab content 5
-}
\ No newline at end of file
+}
+
+ //
+ //
\ No newline at end of file
diff --git a/views/dev/mcu/tabviewdetailmcu_templ.go b/views/dev/mcu/tabviewdetailmcu_templ.go
new file mode 100644
index 0000000..37c8cf5
--- /dev/null
+++ b/views/dev/mcu/tabviewdetailmcu_templ.go
@@ -0,0 +1,45 @@
+// Code generated by templ - DO NOT EDIT.
+
+// templ: version: v0.2.663
+package dev_detailmcu
+
+//lint:file-ignore SA4006 This context is only used if a nested component is present.
+
+import "github.com/a-h/templ"
+import "context"
+import "io"
+import "bytes"
+
+func TabViewDetailMcu() templ.Component {
+ return templ.ComponentFunc(func(ctx context.Context, templ_7745c5c3_W io.Writer) (templ_7745c5c3_Err error) {
+ templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templ_7745c5c3_W.(*bytes.Buffer)
+ if !templ_7745c5c3_IsBuffer {
+ templ_7745c5c3_Buffer = templ.GetBuffer()
+ defer templ.ReleaseBuffer(templ_7745c5c3_Buffer)
+ }
+ ctx = templ.InitializeContext(ctx)
+ templ_7745c5c3_Var1 := templ.GetChildren(ctx)
+ if templ_7745c5c3_Var1 == nil {
+ templ_7745c5c3_Var1 = templ.NopComponent
+ }
+ ctx = templ.ClearChildren(ctx)
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("Tab content 4
Tab content 5
")
+ if templ_7745c5c3_Err != nil {
+ return templ_7745c5c3_Err
+ }
+ if !templ_7745c5c3_IsBuffer {
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteTo(templ_7745c5c3_W)
+ }
+ return templ_7745c5c3_Err
+ })
+}
+
+//
+//