50 lines
2.0 KiB
HTML
50 lines
2.0 KiB
HTML
<!DOCTYPE html>
|
|
|
|
{% load i18n %}
|
|
{% load static %}
|
|
|
|
<html>
|
|
<head>
|
|
<title>SIK - Login</title>
|
|
<meta name="viewport" charset="utf-8" content="width=device-width" />
|
|
|
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
|
<script src="{% static "js/lib/jquery-3.1.0.min.js" %}"></script>
|
|
<script src="{% static "js/lib/bootstrap.min.js" %}"></script>
|
|
|
|
<link rel="stylesheet" href="{% static "css/lib/bootstrap.min.css" %}">
|
|
<link rel="stylesheet" href="{% static "css/base.css" %}">
|
|
<link rel="stylesheet" href="{% static "css/login.css" %}">
|
|
|
|
</head>
|
|
<body>
|
|
<div id="content-body" class="container">
|
|
<h1>SIK Admin</h1>
|
|
<form method="POST" class="form-horizontal" action=""> {% csrf_token %}
|
|
<div class="form-group row">
|
|
<label for="input-username" class="col-sm-2 col-form-label">{% trans "Username" %}</label>
|
|
<div class="col-sm-10">
|
|
<input type="text" name="username" id="input-username" class="form-control" placeholder="{% trans "Username" %}"></input>
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label for="input-password" class="col-sm-2 col-form-label">{% trans "Password" %}</label>
|
|
<div class="col-sm-10">
|
|
<input type="password" name="passwd" id="input-passwd" class="form-control" placeholder="{% trans "Password" %}"></input>
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<div class="col-sm-offset-2 col-sm-10">
|
|
<div class="text-danger">{{ error }}</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group row" id="login-button">
|
|
<div class="col-sm-2">
|
|
<button type="submit" class="btn btn-primary">{% trans "Log in" %}</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|