forked from massivebox/ecodash
First commit
This commit is contained in:
commit
82bba66fd6
30 changed files with 2176 additions and 0 deletions
19
templates/default/login.html
Normal file
19
templates/default/login.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<h1>Login</h1>
|
||||
<p>Insert your credentials to access the Admin Panel.</p>
|
||||
|
||||
{{if .Failed}}
|
||||
<article class="card" style="background-color: #ff5050; color: white">
|
||||
<header>
|
||||
<h3>Error!</h3>
|
||||
</header>
|
||||
<footer>
|
||||
<p>There was a problem with the login. Check your credentials and try again.</p>
|
||||
</footer>
|
||||
</article>
|
||||
{{end}}
|
||||
|
||||
<form action="./admin" method="POST">
|
||||
<label>Username <input type="text" name="username" required></label>
|
||||
<label>Password <input type="password" name="password" required></label>
|
||||
<input type="submit" placeholder="Submit">
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue