You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
780 B
24 lines
780 B
{{ define "content" }}
|
|
<article>
|
|
<h1>Login</h1>
|
|
<form action="/user/login", method="POST">
|
|
<p>Use your wiki.aiterp.net account.</p>
|
|
<p class="danger">{{$.Error}}</p>
|
|
<input placeholder="Username" name="username" type="text" value="{{$.UserName}}" {{if ne $.UserName ""}}autofocus{{end}} />
|
|
<input placeholder="Password" name="password" type="password" {{if $.UserName}}autofocus{{end}} />
|
|
<button type="submit">Submit</button>
|
|
</form>
|
|
</article>
|
|
{{ end }}
|
|
|
|
{{ define "menu" }}
|
|
<a href="/"><h1>Aite RP</h1></a>
|
|
|
|
<ul>
|
|
<li><a href="/"><div class="mg-icon"><</div><div class="mg-label">Back</div></a></li>
|
|
</ul>
|
|
{{ end }}
|
|
|
|
{{ define "head" }}
|
|
<link rel="stylesheet" href="/ui/css/form.css" />
|
|
{{ end }}
|