smon/views/layouts/main.gotmpl

30 lines
790 B
Go Template
Raw Permalink Normal View History

2024-04-29 08:36:13 +02:00
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
{{ template "fonts" }}
<link rel="stylesheet" type="text/css" href="/css/{{ .VERSION }}/main.css">
2024-05-20 13:19:22 +02:00
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.2.1/dist/chart.umd.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/luxon@3.3.0/build/global/luxon.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chartjs-adapter-luxon@1.3.1"></script>
<script type="importmap">
{
"imports": {
"chart.js": "/js/{{ .VERSION }}/lib/chartjs/index.d.ts"
}
}
</script>
2024-04-29 08:36:13 +02:00
</head>
<body>
<div id="layout">
{{ block "menu" . }}{{ end }}
<div id="page">
{{ block "page" . }}{{ end }}
</div>
</div>
</body>
</html>