42 lines
1.8 KiB
Twig
42 lines
1.8 KiB
Twig
<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> |