1 {% extends 'page.html.twig' %}
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>
8 {{ _T("Make sure you've done a backup of the database before using any of the following tools!") }}
11 <div class="ui top attached accordion-styled header">
12 {{ _T('Select actions(s)') }}
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>
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>
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>
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>
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>
62 {% include "components/forms/csrf.html.twig" %}