Coverage for ivatar/ivataraccount/templates/upload_libravatar_export.html: 100%
28 statements
« prev ^ index » next coverage.py v7.6.9, created at 2024-12-26 00:11 +0000
« prev ^ index » next coverage.py v7.6.9, created at 2024-12-26 00:11 +0000
1{% extends 'base.html' %}
2{% load i18n %}
3{% load static %}
5{% block title %}{% trans 'Upload an export from libravatar' %} - ivatar{% endblock title %}
7{% block content %}
8 <h1>{% trans 'Upload an export from libravatar' %}</h1>
10 <form enctype="multipart/form-data" method="post">
11{% csrf_token %}
12<div class="form-group">
13<label for="id_export_file">{% trans 'Export file' %}</label>
14<span class="button" style="display:flex;width:120px;padding:0;height:36px;position:relative;align-items:center">
15<input type="file" name="export_file" required id="id_export_file"/>
16<label for="id_export_file">{% trans 'Select File' %}</label>
17</span>
18</div>
19<div class="form-group">
20<div class="checkbox">
21<input type="checkbox" name="not_porn" checked required id="id_not_porn">
22<label for="id_not_porn">{% trans 'suitable for all ages (i.e. no offensive content)' %}</label>
23</div>
24</div>
25<div class="form-group">
26<div class="checkbox">
27<input type="checkbox" name="can_distribute" checked required id="id_can_distribute">
28<label for="id_can_distribute">{% trans 'can be freely copied' %}</label>
29</div>
30</div>
31 <button type="submit" class="button">{% trans 'Upload' %}</button>
32 </form>
33<div style="height:40px"></div>
34{% endblock content %}