options.twig
1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<div class="wpml-section">
<div class="wpml-section-header">
<h3>{{ section_label }}</h3>
</div>
<div class="wpml-section-content">
<input type="hidden" id="{{ nonce_field }}" name="{{ nonce_field }}" value="{{ nonce_value }}">
<div class="top">
<ul>
{% for option in top_options %}
<li>
{% if option.template %}
{% include option.template with option.model %}
{% else %}
<label for="{{ option.name }}">
<input type="{{ option.type }}" {{ option.checked }}
name="{{ option.name }}" id="{{ option.name }}"
value="{{ option.value }}"
>
{{ option.label }}
</label>
{% if option.tooltip %}
<a class="otgs-ico-help js-otgs-popover-tooltip"
data-tippy-zindex="999999"
title="{{ option.tooltip }}"></a>
{% endif %}
{% endif %}
</li>
{% endfor %}
</ul>
</div>
<input id="wpml-js-theme-plugin-save-option" type="button" class="other-options-save button button-primary" value="{{ button_label }}">
<span id="wpml-js-theme-plugin-options-spinner" class="spinner"></span><span class="wpml-ajax-response" id="wpml-js-theme-plugin-options-response"></span>
</div>
</div>
<div class="wpml-scanning-progress" title="{{ scanning_results_title }}">
<span style="display: none" class="wpml-scanning-progress-msg">{{ scanning_progress_msg }}</span><div class="spinner"></div>
<div class="wpml-scanning-results"></div>
</div>