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,44 @@
{{define "base_header"}}
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<title>{{.PageTitle}}</title>
<meta name="msapplication-TileColor" content="#066fd1"/>
<meta name="theme-color" content="#066fd1"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="mobile-web-app-capable" content="yes"/>
<meta name="HandheldFriendly" content="True"/>
<meta name="MobileOptimized" content="320"/>
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
<meta name="description" content="{{.PageDescription}}"/>
{{template "tabler_css" .}}
<!-- BEGIN CUSTOM FONT -->
<style>
@import url('https://rsms.me/inter/inter.css');
</style>
<!-- END CUSTOM FONT -->
</head>
<body{{if .BodyClass}} class="{{.BodyClass}}"{{end}}>
{{template "tabler_skip_link" .}}
<!-- BEGIN GLOBAL THEME SCRIPT -->
<script src="/dist/js/tabler-theme.js"></script>
<!-- END GLOBAL THEME SCRIPT -->
{{end}}
{{define "base_footer"}}
{{template "tabler_js" .}}
</body>
</html>
{{end}}

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}}

View file

@ -0,0 +1,5 @@
{{define "homepage_layout"}}
{{template "base_header" .}}
{{template "tabler_homepage_content" .}}
{{template "base_footer" .}}
{{end}}

View file

@ -0,0 +1,12 @@
{{define "single_layout"}}
{{template "base_header" .}}
<div class="page page-center">
<div class="container container-tight py-4">
<div class="text-center mb-4">
{{template "tabler_navbar_logo" .}}
</div>
{{.Content}}
</div>
</div>
{{template "base_footer" .}}
{{end}}