diff --git a/assets/asset-corporate-portal/css/sas.bundle.css b/assets/asset-corporate-portal/css/sas.bundle.css index a7e8e13..9bbacf6 100644 --- a/assets/asset-corporate-portal/css/sas.bundle.css +++ b/assets/asset-corporate-portal/css/sas.bundle.css @@ -5226,6 +5226,12 @@ a.text-hover-tosca:hover .svg-icon svg:hover g [fill], border-radius: 0.42rem; } +/* ### CUSTOM CSS SELECTPICKER */ +.btn-custom-selectpicker{ + height: 8vh; + text-align: center; +} + /* ### OVERLAY */ .overlay-loading { position: relative !important; diff --git a/assets/asset-corporate-portal/media/person/person.png b/assets/asset-corporate-portal/media/person/person.png new file mode 100644 index 0000000..3f06607 Binary files /dev/null and b/assets/asset-corporate-portal/media/person/person.png differ diff --git a/assets/mcu/doctor.html b/assets/mcu/doctor.html new file mode 100644 index 0000000..5cdbc2f --- /dev/null +++ b/assets/mcu/doctor.html @@ -0,0 +1,511 @@ + + + + + + + + Company Portal | { title } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+
+ +
+
+ +
+
+ + +
+ +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+
+
+ + +
+
+
+
+ + + +
+ + +
+ +
+ + +
+ +
+ + +
+ + +
+ +
+ +
+ + + +
+
+
+ + +
+ + +
+ + +
+ + +
+ + + +
+
+ + +
+
+ +
+ + +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+ +
+
+ + + +
+
+ + +
+
+ + + +
+
+ + +
+
+ + + +
+
+ + +
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + diff --git a/component/customradiobutton/customradiobuttoninline.templ b/component/customradiobutton/customradiobuttoninline.templ new file mode 100644 index 0000000..56cea5d --- /dev/null +++ b/component/customradiobutton/customradiobuttoninline.templ @@ -0,0 +1,22 @@ +package customradiobuttoninline + +import "cpone/models" + +templ MainCustomRadioButtonInput(inp models.CustomRadioButtonv1Prm) { +
+ +
+
+
+ +
+
+
+
+ { inp.ErrorMsg } +
+
+} diff --git a/component/customradiobutton/customradiobuttoninline_templ.go b/component/customradiobutton/customradiobuttoninline_templ.go new file mode 100644 index 0000000..5d3aac4 --- /dev/null +++ b/component/customradiobutton/customradiobuttoninline_templ.go @@ -0,0 +1,89 @@ +// Code generated by templ - DO NOT EDIT. + +// templ: version: v0.2.663 +package customradiobuttoninline + +//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" + +import "cpone/models" + +func MainCustomRadioButtonInput(inp models.CustomRadioButtonv1Prm) 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("
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var5 string + templ_7745c5c3_Var5, templ_7745c5c3_Err = templ.JoinStringErrs(inp.ErrorMsg) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `component\customradiobutton\customradiobuttoninline.templ`, Line: 19, Col: 17} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var5)) + 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 + } + if !templ_7745c5c3_IsBuffer { + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteTo(templ_7745c5c3_W) + } + return templ_7745c5c3_Err + }) +} diff --git a/layout/layout_corporate.templ b/layout/layout_corporate.templ index 364a6de..ab59f86 100644 --- a/layout/layout_corporate.templ +++ b/layout/layout_corporate.templ @@ -266,6 +266,8 @@ templ CorporateLayout(title string, css templ.Component, js templ.Component, nav + // bootstrap datepicker + @js diff --git a/layout/layout_corporate_templ.go b/layout/layout_corporate_templ.go index c051324..7fb75a4 100644 --- a/layout/layout_corporate_templ.go +++ b/layout/layout_corporate_templ.go @@ -78,7 +78,7 @@ func CorporateLayout(title string, css templ.Component, js templ.Component, navb if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/models/customradiobutton.models.go b/models/customradiobutton.models.go new file mode 100644 index 0000000..ee80469 --- /dev/null +++ b/models/customradiobutton.models.go @@ -0,0 +1,16 @@ +package models + +type CustomRadioButtonv1Prm struct { + HxTarget string `default:"hxTarget"` + HxGet string `default:"hxGet"` + HxIndicator string `default:"hxIndicator"` + HxInclude string `default:"hxInclude"` + HxTrigger string `default:"hxTrigger"` + Label string `default:"Label"` + Name string `default:"name"` + Text string `default:"text"` + // Type string `default:"text"` + Value string `default:""` + ErrorMsg string `default:""` + ID string +} diff --git a/services/app.services.go b/services/app.services.go index 7607385..5a55470 100644 --- a/services/app.services.go +++ b/services/app.services.go @@ -514,3 +514,7 @@ func GetUserLogin() (models.User, error) { } return a, nil } + +func GetTerminology(code string, codeSystem string) { + +}