]> git.agnieray.net Git - galette.git/blob - galette/templates/default/pages/admintools.html.twig
6d748fc63f5762c716744c4df8aafbbf23b049d0
[galette.git] / galette / templates / default / pages / admintools.html.twig
1 {% extends 'page.html.twig' %}
2
3 {% block content %}
4 <form action="{{ url_for('doAdminTools') }}" method="post" class="ui form">
5 <div class="ui orange message">{{ _T("Make sure you've done a backup of the database before using any of the following tools!") }}</div>
6 <div class="ui top attached accordion-styled header">
7 {{ _T('Select actions(s)') }}
8 </div>
9 <div class="ui bottom attached accordion-styled segment">
10 <div class="active content field">
11 <div class="field inline">
12 <div class="ui toggle checkbox">
13 <input type="checkbox" name="inittexts" id="inittexts"/>
14 <label for="inittexts" title="{{ _T('Reset all emails contents to their default values') }}">
15 {{ _T('Reset emails contents') }}
16 <i class="circular inverted primary small icon info tooltip" title="{{ _T('Reset all emails contents to their default values') }}"></i>
17 <span class="exemple">{{ _T('(all existing values will be removed)') }}</span>
18 </label>
19 </div>
20 </div>
21 <div class="field inline">
22 <div class="ui toggle checkbox">
23 <input type="checkbox" name="initfields" id="initfields"/>
24 <label for="initfields" title="{{ _T('Reset all emails contents to their default values') }}">
25 {{ _T('Reset fields configuration') }}
26 <i class="circular inverted primary small icon info tooltip" data-html="{{ _T('Reset all emails contents to their default values') }}<br/>{{ _T('This includes fields positions, order, visibility, access levels and mandatory marks.') }}"></i>
27 <span class="exemple">{{ _T('(all existing values will be removed)') }}</span>
28 </label>
29 </div>
30 </div>
31 <div class="field inline">
32 <div class="ui toggle checkbox">
33 <input type="checkbox" name="initpdfmodels" id="initpdfmodels"/>
34 <label for="initpdfmodels" title="{{ _T('Reset all PDF models to their default values') }}">
35 {{ _T('Reinitialize PDF models') }}
36 <i class="circular inverted primary small icon info tooltip" title="{{ _T('Reset all PDF models to their default values') }}"></i>
37 <span class="exemple">{{ _T('(all existing values will be removed)') }}</span>
38 </label>
39 </div>
40 </div>
41 <div class="field inline">
42 <div class="ui toggle checkbox">
43 <input type="checkbox" name="emptylogins" id="emptylogins"/>
44 <label for="emptylogins" title="{{ _T('Fill all empty login and passwords') }}">
45 {{ _T('Generate empty logins and passwords') }}
46 <i class="circular inverted primary small icon info tooltip" title="{{ _T('Fill all empty login and passwords') }}"></i>
47 </label>
48 </div>
49 </div>
50 </div>
51 </div>
52 <div class="ui basic center aligned segment">
53 <button type="submit" class="ui labeled icon primary button action">
54 <i class="database icon" aria-hidden="true"></i>
55 {{ _T('Go') }}
56 </button>
57 {% include "components/forms/csrf.html.twig" %}
58 </div>
59 </form>
60 {% endblock %}