Free and open source ticket system written in python
1{% extends 'base.html' %}
2{% block content %}
3{% load i18n %}
4<div class="self-center w-full max-w-xl mx-auto">
5 <div class="flex items-center">
6 <h1 class="text-3xl font-bold p-2">{% trans 'FurryBlacklight Login' %}</h1>
7 </div>
8 <div class="bg-base-200 rounded p-8">
9 <ul class="steps w-full mb-6">
10 <li class="step step-accent">{% trans 'Authenticate' %}</li>
11 <li class="step step-accent">{% trans 'Confirm Code' %}</li>
12 <li class="step step-accent">{% trans 'Account Completion' %}</li>
13 <li class="step step-success">{% trans 'Done' %}</li>
14 </ul>
15
16 <div role="alert" class="alert alert-info mb-4">
17 {% trans 'Please set up a mail address. This will be used for notifications.' %}
18 </div>
19
20 <form method="post" action="">
21 {% csrf_token %}
22
23 {% if form.non_field_errors %}
24 <div role="alert" class="alert alert-error mb-4">
25 <svg xmlns="http://www.w3.org/2000/svg" class="hidden sm:block stroke-current shrink-0 h-6 w-6" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 10l4 4m0 -4l-4 4" /><path d="M12 3c7.2 0 9 1.8 9 9s-1.8 9 -9 9s-9 -1.8 -9 -9s1.8 -9 9 -9z" /></svg>
26 <span>{{ form.non_field_errors }}</span>
27 </div>
28 {% endif %}
29
30 <div class="form-control w-full">
31 <label class="label">
32 <span class="text-base label-text" for="{{ form.email.id_for_label }}">{% trans 'Mail Address' %}</span>
33 </label>
34 <input type="email" name="email" class="w-full input input-bordered" />
35 </div>
36
37 <div class="flex justify-end mt-6">
38 <button type="submit" class="btn btn-accent mb-4">{% trans 'Save Changes' %}</button>
39 </div>
40 </form>
41 </div>
42</div>
43{% endblock %}