mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
43 lines
1.7 KiB
Cheetah
43 lines
1.7 KiB
Cheetah
{{define "navigation"}}
|
|
{{""}}
|
|
{{end}}
|
|
|
|
{{define "content"}}
|
|
<section class="content-section">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-4 mx-auto">
|
|
{{if .Login.Error}}
|
|
<div class="alert alert-warning" role="alert">
|
|
{{.Login.Error}}
|
|
</div>
|
|
{{end}}
|
|
|
|
{{if .Login.Info}}
|
|
<div class="alert alert-success" role="alert">
|
|
{{.Login.Info}}
|
|
</div>
|
|
{{end}}
|
|
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h3>Login</h3>
|
|
</div>
|
|
<div class="card-body">
|
|
<form action="/login" method="post">
|
|
<div class="mb-3">
|
|
<label class="form-label" for="username">Username</label>
|
|
<input class="form-control" type="text" id="username" name="username" required autofocus/>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label class="form-label" for="password">Password</label>
|
|
<input class="form-control" type="password" id="password" name="password" required/>
|
|
</div>
|
|
<button type="submit" class="btn btn-success">Submit</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{end}}
|