avances en plantillas

This commit is contained in:
JACS 2026-05-01 18:15:40 -05:00
parent 0f84beacf1
commit da0530d79b
2062 changed files with 598814 additions and 22 deletions

View file

@ -0,0 +1,39 @@
{{define "default_layout"}}
{{template "base_header" .}}
<div class="page">
{{if .Sidebar}}
<!-- BEGIN SIDEBAR -->
{{template "tabler_sidebar" .}}
<!-- END SIDEBAR -->
{{end}}
{{if .ShowTopbar}}
<!-- BEGIN NAVBAR -->
{{template "tabler_navbar" .}}
<!-- END NAVBAR -->
{{end}}
<div class="page-wrapper{{if .WrapperFull}} page-wrapper-full{{end}}">
<!-- BEGIN PAGE HEADER -->
{{template "tabler_page_header" .}}
<!-- END PAGE HEADER -->
<!-- BEGIN PAGE BODY -->
<main id="content" class="page-body">
{{if .WrapperFull}}
{{.Content}}
{{else}}
<div class="container-xl{{if .ContainerCentered}} my-auto{{end}}{{if .ContainerClass}} {{.ContainerClass}}{{end}}">
{{.Content}}
</div>
{{end}}
</main>
<!-- END PAGE BODY -->
<!-- BEGIN FOOTER -->
{{template "tabler_footer" .}}
<!-- END FOOTER -->
</div>
</div>
{{template "base_footer" .}}
{{end}}