Initial commit
This commit is contained in:
6
pma/templates/config/form_display/errors.twig
Normal file
6
pma/templates/config/form_display/errors.twig
Normal file
@ -0,0 +1,6 @@
|
||||
<dl>
|
||||
<dt>{{ name }}</dt>
|
||||
{% for error in error_list %}
|
||||
<dd>{{ error|raw }}</dd>
|
||||
{% endfor %}
|
||||
</dl>
|
14
pma/templates/config/form_display/fieldset_bottom.twig
Normal file
14
pma/templates/config/form_display/fieldset_bottom.twig
Normal file
@ -0,0 +1,14 @@
|
||||
{% set colspan = 2 %}
|
||||
{% if is_setup %}
|
||||
{% set colspan = colspan + 1 %}
|
||||
{% endif %}
|
||||
{% if show_buttons %}
|
||||
<tr>
|
||||
<td colspan="{{ colspan }}" class="lastrow">
|
||||
<input class="btn btn-primary green" type="submit" name="submit_save" value="{% trans 'Apply' %}">
|
||||
<input class="btn btn-secondary" type="button" name="submit_reset" value="{% trans 'Reset' %}">
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
</table>
|
||||
</fieldset>
|
17
pma/templates/config/form_display/fieldset_top.twig
Normal file
17
pma/templates/config/form_display/fieldset_top.twig
Normal file
@ -0,0 +1,17 @@
|
||||
<fieldset
|
||||
{%- for key, value in attributes -%}
|
||||
{{- ' ' }}{{ key }}="{{ value }}"
|
||||
{%- endfor %}>
|
||||
<legend>{{ title }}</legend>
|
||||
{% if description is not empty %}
|
||||
<p>{{ description|raw }}</p>
|
||||
{% endif %}
|
||||
{# This must match with displayErrors() in scripts.js #}
|
||||
{% if errors is iterable and errors|length > 0 %}
|
||||
<dl class="errors">
|
||||
{% for error in errors %}
|
||||
<dd>{{ error }}</dd>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
{% endif %}
|
||||
<table class="pma-table" width="100%" cellspacing="0">
|
1
pma/templates/config/form_display/form_bottom.twig
Normal file
1
pma/templates/config/form_display/form_bottom.twig
Normal file
@ -0,0 +1 @@
|
||||
</form>
|
7
pma/templates/config/form_display/form_top.twig
Normal file
7
pma/templates/config/form_display/form_top.twig
Normal file
@ -0,0 +1,7 @@
|
||||
<form method="{{ method }}" action="{{ action|raw }}" class="config-form disableAjax">
|
||||
<input type="hidden" name="tab_hash" value="">
|
||||
{% if has_check_page_refresh %}
|
||||
<input type="hidden" name="check_page_refresh" id="check_page_refresh" value="">
|
||||
{% endif %}
|
||||
{{ get_hidden_inputs('', '', 0, 'server') }}
|
||||
{{ get_hidden_fields(hidden_fields, '', true) }}
|
5
pma/templates/config/form_display/group_header.twig
Normal file
5
pma/templates/config/form_display/group_header.twig
Normal file
@ -0,0 +1,5 @@
|
||||
<tr class="group-header group-header-{{ group }}">
|
||||
<th colspan="{{ colspan }}">
|
||||
{{ header_text }}
|
||||
</th>
|
||||
</tr>
|
1
pma/templates/config/form_display/tabs_bottom.twig
Normal file
1
pma/templates/config/form_display/tabs_bottom.twig
Normal file
@ -0,0 +1 @@
|
||||
</div>
|
6
pma/templates/config/form_display/tabs_top.twig
Normal file
6
pma/templates/config/form_display/tabs_top.twig
Normal file
@ -0,0 +1,6 @@
|
||||
<ul class="tabs responsivetable row">
|
||||
{% for id, name in tabs %}
|
||||
<li><a href="#{{ id }}">{{ name }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<div class="tabs_contents col">
|
Reference in New Issue
Block a user