-
-
Notifications
You must be signed in to change notification settings - Fork 359
/
Copy pathindex.html
30 lines (29 loc) · 1.31 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!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="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<title>Dozzle</title>
<script type="application/json" id="config__json">
{{ marshal .Config }}
</script>
<link rel="icon" href="{{ .Base }}/favicon.png" type="image/png" />
{{- 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>