lockserver/frontend/index.html
Finn f3fbd0a59f
All checks were successful
/ build-container (push) Successful in 7m25s
fix base url and read other headers
2024-04-25 12:38:24 -07:00

29 lines
748 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<title>Better Z-Wave Locks for Home Assistant</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="{{ .BaseURL }}/static/main.css" />
</head>
<body>
<div id="wrapper">
<header>
<h1>Better Z-Wave Locks</h1>
<div id="user"></div>
</header>
<div id="main">
<h3>locks</h3>
<ul>
{{ range .Locks }}<li><a href="/lock/{{ .ID }}">{{ .Name }} ({{ .ZwaveDeviceID }})</a></li>{{ end }}
</ul>
</div>
<footer>
<code>{{ version }}</code>
</footer>
</div>
</body>
</html>