1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 12:04:15 +00:00
webvirtcloud/accounts/templates/login.html

25 lines
1.3 KiB
HTML
Raw Normal View History

2015-04-02 13:20:46 +00:00
{% extends "base_auth.html" %}
2015-03-02 15:31:25 +00:00
{% load i18n %}
2020-05-19 16:53:54 +00:00
{% block title %}{% trans "WebVirtCloud" %} - {% trans "Sign In" %}{% endblock %}
2015-03-02 15:31:25 +00:00
{% block content %}
2020-05-19 16:53:54 +00:00
<div>
2015-03-24 14:16:46 +00:00
<div class="page-header">
2020-05-19 16:53:54 +00:00
<a class="" href="/"><h1>WebVirtCloud</h1></a>
2015-03-24 14:16:46 +00:00
</div>
2020-05-19 16:53:54 +00:00
<div class="col-12" role="main">
2015-03-02 15:31:25 +00:00
{% if form.errors %}
<div class="alert alert-danger">
2018-08-01 14:18:51 +00:00
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
2015-03-02 15:31:25 +00:00
{% trans "Incorrect username or password." %}
</div>
{% endif %}
2020-05-26 13:18:38 +00:00
<form class="form-signin" method="post" role="form" aria-label="Login form">{% csrf_token %}
2015-03-02 15:31:25 +00:00
<h2 class="form-signin-heading">{% trans "Sign In" %}</h2>
<input type="text" class="form-control" name="username" placeholder="{% trans "Login" %}" autocapitalize="none" autocorrect="off" autofocus>
<input type="password" class="form-control" name="password" placeholder="{% trans "Password" %}">
<input type="hidden" name="next" value="{{ next }}">
2015-03-02 15:31:25 +00:00
<button class="btn btn-lg btn-success btn-block" type="submit">{% trans "Sign In" %}</button>
</form>
</div>
</div>
{% endblock %}