2016-04-23 07:22:44 +00:00
|
|
|
{% extends "hosting/base_short.html" %}
|
2016-07-19 02:24:44 +00:00
|
|
|
{% load i18n %}
|
2016-04-20 06:03:32 +00:00
|
|
|
{% load staticfiles bootstrap3%}
|
2017-07-24 14:13:03 +00:00
|
|
|
|
|
|
|
{% block navbar %}
|
|
|
|
{% include 'hosting/includes/_navbar_transparent.html' %}
|
|
|
|
{% endblock navbar %}
|
|
|
|
|
2016-04-23 07:22:44 +00:00
|
|
|
{% block content %}
|
2017-05-28 05:44:36 +00:00
|
|
|
<div class="auth-container">
|
2017-05-28 17:57:02 +00:00
|
|
|
<div class="auth-bg"></div>
|
2017-08-03 18:58:15 +00:00
|
|
|
<div class="auth-center">
|
|
|
|
<div class="auth-title">
|
|
|
|
<h2>{% trans "Your VM hosted in Switzerland"%}</h2>
|
|
|
|
</div>
|
|
|
|
<div class="auth-content">
|
|
|
|
<div class="intro-message auth-box">
|
|
|
|
<h2 class="section-heading">{% trans "Login"%}</h2>
|
2017-10-01 18:16:05 +00:00
|
|
|
{% include 'hosting/includes/_messages.html' %}
|
2017-08-03 18:58:15 +00:00
|
|
|
<form action="{% url 'hosting:login' %}" method="post" class="form" novalidated>
|
|
|
|
{% csrf_token %}
|
|
|
|
{% for field in form %}
|
|
|
|
{% bootstrap_field field show_label=False type='fields'%}
|
|
|
|
{% endfor %}
|
|
|
|
<p class="red">{{form.non_field_errors|striptags}}</p>
|
|
|
|
{% buttons %}
|
|
|
|
<button type="submit" class="btn btn-block btn-success">
|
|
|
|
{% trans "Login"%}
|
|
|
|
</button>
|
|
|
|
{% endbuttons %}
|
|
|
|
<input type='hidden' name='next' value='{{request.GET.next}}'/>
|
|
|
|
</form>
|
|
|
|
<div class="auth-footer">
|
|
|
|
<div class="text">
|
|
|
|
<span>{% trans "Don't have an account yet ? "%}</span>
|
|
|
|
</div>
|
|
|
|
<div class="links">
|
|
|
|
<a class="unlink" href="{% url 'hosting:signup' %}">{% trans "Sign up"%}</a>
|
|
|
|
<span class="text"> or </span>
|
|
|
|
<a class="unlink" href="{% url 'hosting:reset_password' %}">{% trans "Forgot your password ? "%}</a>
|
2017-09-24 10:32:06 +00:00
|
|
|
<span class="text"> or </span><br/>
|
|
|
|
<a class="unlink" href="{% url 'hosting:resend_activation_link' %}">{% trans "Resend activation link"%}</a>
|
2017-05-28 05:44:36 +00:00
|
|
|
</div>
|
2015-05-27 10:21:30 +00:00
|
|
|
</div>
|
2017-06-01 20:40:19 +00:00
|
|
|
</div>
|
2015-05-27 10:21:30 +00:00
|
|
|
</div>
|
2017-08-03 18:58:15 +00:00
|
|
|
</div>
|
2016-04-23 07:22:44 +00:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|