mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-28 19:03:24 +01:00
9e46e3972d
* feat: PWA Implementation * feat: PWA Implementation. fix comments * feat: PWA Implementation. fix comments Co-authored-by: Viacheslav Bondar <bondarslavik@gmail.com>
27 lines
1.3 KiB
HTML
27 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<script type="text/javascript">
|
|
window.config = {logo: "{{ .Logo }}", header: "{{ .Header }}", link: "{{ .Link }}", buttons: []};{{- range .Buttons}}window.config.buttons.push({name:"{{ .Name }}",link:"{{ .Link }}"});{{end}}
|
|
</script>
|
|
<title>{{ .Title }}</title>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
|
<link rel="manifest" href="/manifest.json" />
|
|
<link rel="shortcut icon" href="/favicon.ico" />
|
|
<meta name="description" content="{{ .Description }}" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
|
<meta name="apple-mobile-web-app-title" content="{{ .Title }}" />
|
|
<meta name="application-name" content="{{ .Title }}" />
|
|
<meta name="theme-color" content="#f7f9fb" />
|
|
</head>
|
|
<body class="dark:bg-gray-900">
|
|
<noscript><strong>Enable JavaScript to view this page.</strong></noscript>
|
|
<div id="app"></div>
|
|
</body>
|
|
</html>
|