1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 13:23:07 +01:00
Files
dozzle/public/index.html
2025-04-30 15:50:27 -07:00

32 lines
1.4 KiB
HTML

<!doctype html>
<html class="bg-base-200 text-base-content">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, viewport-fit=cover" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="theme-color" content="" />
<title>Dozzle</title>
<script type="application/json" id="config__json">
{{ marshal .Config }}
</script>
<link rel="icon" href="{{ .Base }}/favicon.png" type="image/png" sizes="192x192" />
{{- if .Dev}}
<script type="module" src="http://localhost:5173/@vite/client"></script>
<script type="module" src="http://localhost:5173/assets/main.ts"></script>
{{- else }} {{ $js := index .Manifest "assets/main.ts" "file" }} {{ $css := index .Manifest "assets/main.ts" "css"
}}
<link rel="stylesheet" href="{{ .Base }}/{{ index $css 0}}" />
<script type="module" src="{{ .Base }}/{{ $js }}"></script>
{{- end }}
<meta name="description" content="A log viewer for containers" />
<meta name="robots" content="noindex" />
<link rel="apple-touch-icon" href="{{ .Base }}/apple-touch-icon.png" sizes="512x512" />
<link rel="manifest" href="{{ .Base }}/manifest.webmanifest" />
</head>
<body>
<div id="app"></div>
</body>
</html>