1 {% extends 'page.html.twig' %}
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)') }}
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>
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>
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>
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>
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>
57 {% include "components/forms/csrf.html.twig" %}