package pkg
templ basicTemplate() {
PLG MuDiCS Display
{ children... }
}
templ videoTemplate(path string) {
@basicTemplate() {
}
}
templ htmlTemplate(html string) {
@basicTemplate() {
@templ.Raw(html)
}
}
templ imageTemplate(path string) {
@basicTemplate() {
}
}
templ deviceInfoTemplate(ip string, mac string, showQR bool) {
@basicTemplate() {
{ ip }
{ mac }
if showQR {
}
}
}
templ startScreenTemplate(splashScreenHtml string, ip string, mac string, qrPath string) {
@basicTemplate() {
{ ip }
{ mac }
if qrPath != "" {
}
@templ.Raw(splashScreenHtml)
}
}