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