mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-22 07:53:38 +01:00
22d74a5ea8
* feat: add description prop to HTML template * feat: add desc property to backend config validation * test: add desc field to ui config test * chore: add default description text * test: add test for description default * docs: add description config option explanation * Update README.md * Update config/ui/ui_test.go Co-authored-by: TwiN <twin@linux.com>
21 lines
930 B
HTML
21 lines
930 B
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="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
|
<link rel="shortcut icon" href="/favicon.ico" />
|
|
<meta property="description" content="{{ .Description }}" />
|
|
</head>
|
|
<body class="dark:bg-gray-900">
|
|
<noscript><strong>Enable JavaScript to view this page.</strong></noscript>
|
|
<div id="app"></div>
|
|
</body>
|
|
</html>
|