1{#**
2 * Copyright since 2007 PrestaShop SA and Contributors
3 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
4 *
5 * NOTICE OF LICENSE
6 *
7 * This source file is subject to the Open Software License (OSL 3.0)
8 * that is bundled with this package in the file LICENSE.md.
9 * It is also available through the world-wide-web at this URL:
10 * https://opensource.org/licenses/OSL-3.0
11 * If you did not receive a copy of the license and are unable to
12 * obtain it through the world-wide-web, please send an email
13 * to license@prestashop.com so we can send you a copy immediately.
14 *
15 * DISCLAIMER
16 *
17 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
18 * versions in the future. If you wish to customize PrestaShop for your
19 * needs please refer to https://devdocs.prestashop.com/ for more information.
20 *
21 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
22 * @copyright Since 2007 PrestaShop SA and Contributors
23 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
24 *#}
25{% extends '@PrestaShop/Admin/layout.html.twig' %}
26{% trans_default_domain "Admin.Shopparameters.Feature" %}
27{% import '@PrestaShop/Admin/macros.html.twig' as ps %}
28{% form_theme generalForm 'PrestaShopBundle:Admin/TwigTemplateForm:prestashop_ui_kit.html.twig' %}
29
30{% block content %}
31  {{ form_start(generalForm, {'attr' : {'class': 'form', 'id': 'form-maintenance'} }) }}
32    <div class="row justify-content-center">
33      {% block maintenance_form_general %}
34        <div class="col-xl-12">
35          <div class="card">
36            <h3 class="card-header">
37              <i class="material-icons">business_center</i> {{ 'General'|trans({}, 'Admin.Global') }}
38            </h3>
39            <div class="card-block row">
40              <div class="card-text">
41                {{ form_widget(generalForm) }}
42                {{ form_rest(generalForm) }}
43              </div>
44            </div>
45            <div class="card-footer">
46              <div class="d-flex justify-content-end">
47                <button class="btn btn-primary" id="form-maintenance-save-button">{{ 'Save'|trans({}, 'Admin.Actions') }}</button>
48              </div>
49            </div>
50          </div>
51        </div>
52      {% endblock %}
53    </div>
54  {{ form_end(generalForm) }}
55{% endblock %}
56
57{% block javascripts %}
58  {{ parent() }}
59
60  <script src="{{ asset('themes/new-theme/public/maintenance.bundle.js') }}"></script>
61{% endblock %}
62