mlmym/templates/root.html

29 lines
936 B
HTML
Raw Normal View History

2023-06-30 19:41:35 +00:00
<!DOCTYPE html>
<head>
<title>mlmym</title>
2024-05-11 00:53:58 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1" />
2023-06-30 19:41:35 +00:00
<link rel="shortcut icon" href="/{{.Host}}/icon.jpg">
<link rel="stylesheet" href="/_/static/style.css?v=7">
2024-05-11 00:53:58 +00:00
{{- if or (not .Dark) (is .Dark) }}
<link rel="stylesheet" href="/_/static/dark.css?v={{ .Version }}" {{ if not .Dark }}media="(prefers-color-scheme:dark)"{{ end }}>
{{- end }}
2023-06-30 19:41:35 +00:00
</head>
2024-05-11 00:53:58 +00:00
<body>
2023-06-30 19:41:35 +00:00
<nav>
<div class="spacer"></div>
2023-07-06 18:57:48 +00:00
<span class="title">{{ .Title }}</span>
2023-06-30 19:41:35 +00:00
</nav>
<form class="root" method="POST">
<label>Enter a <a href="https://join-lemmy.org/instances" target="blank_">lemmy</a> domain or url
<div>
2023-07-01 02:10:24 +00:00
<input type="text" name="destination" autofocus>
2023-06-30 19:41:35 +00:00
<input type="submit" value="GO">
</div>
</label>
{{ if .Error }}
<div class="error">{{.Error}}</div>
{{ end }}
</form>
</body>
</html>