@@ -0,0 +1,162 @@
|
||||
{% if api_signed %}
|
||||
<div class="ai1ec-well" id="ai1ec-api-signed-in">
|
||||
<i class="ai1ec-fa ai1ec-fa-check ai1ec-fa-fw"></i>
|
||||
{{ signed_in_text | raw }}
|
||||
{% if can_sign_out %}
|
||||
<a href="#" id="ai1ec-api-signout" class="ai1ec-pull-right"
|
||||
data-action="{{ api_action }}">{{ sign_out_text }}</a>
|
||||
{% endif %}
|
||||
{{ wp_nonce_field( nonce.action, nonce.name, nonce.referrer ) }}
|
||||
<div id="ai1ec-api-signout-confirm">
|
||||
{{ sign_out_warning | raw }}
|
||||
<div class="ai1ec-api-signout-buttons">
|
||||
<a href="#" class="ai1ec-btn ai1ec-btn-cancel ai1ec-btn-warning"
|
||||
id="ai1ec-api-signout-cancel">
|
||||
{{ sign_out_cancel }}
|
||||
</a>
|
||||
<a href="#" class="ai1ec-btn ai1ec-btn-danger"
|
||||
id="ai1ec-api-signout-button">
|
||||
{{ sign_out_confirm }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% elseif signup_available %}
|
||||
<div class="timely-api ai1ec-well">
|
||||
{% if title is not empty %}
|
||||
<span>{{ title | raw }}</span>
|
||||
{% endif %}
|
||||
<a href="#" class="ai1ec-pull-right ai1ec-api-signup-hide ai1ec-hidden">{{ hide_form_text }}</a>
|
||||
<a href="#" class="ai1ec-pull-right ai1ec-signup-show">{{ show_form_text }}</a>
|
||||
<div id="ai1ec-api-signup-form" class="ai1ec-hidden" data-action="{{ api_action }}">
|
||||
<!-- Trick to disable autocomplete -->
|
||||
<input type="hidden" name="ai1ec_email" class="ai1ec-noauto" />
|
||||
<input type="hidden" name="ai1ec_password" class="ai1ec-noauto" />
|
||||
<!-- -->
|
||||
{{ wp_nonce_field( nonce.action, nonce.name, nonce.referrer ) }}
|
||||
<div class="metabox-holder">
|
||||
<div class="post-box-container left-side">
|
||||
<table class="ai1ec-ticketing-signup">
|
||||
<tr>
|
||||
<td class="ai1ec_label_field">
|
||||
</td>
|
||||
<td class="ai1ec_input_field" style="padding-bottom:15px;">
|
||||
<label style="margin-right:10px">
|
||||
<input type="radio" name="ai1ec_signing"
|
||||
value="1" checked="checked" />
|
||||
{{ register_text }}
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" name="ai1ec_signing" value="2"/>
|
||||
{{ sign_in_text }}
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ full_name_text }}
|
||||
</td>
|
||||
<td>
|
||||
<div class="ai1ec-ticket-field-error">
|
||||
{{ required_text }}
|
||||
</div>
|
||||
<input type="text" name="ai1ec_name" class="ai1ec-required" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="signin">
|
||||
<td>
|
||||
{{ email_text }}
|
||||
</td>
|
||||
<td>
|
||||
<div class="ai1ec-ticket-field-error">
|
||||
{{ required_text }}
|
||||
</div>
|
||||
<input type="text" name="ai1ec_email" class="ai1ec-required" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="signin">
|
||||
<td>
|
||||
{{ password_text }}
|
||||
</td>
|
||||
<td>
|
||||
<div class="ai1ec-ticket-field-error">
|
||||
{{ required_text }}
|
||||
</div>
|
||||
<input type="password" name="ai1ec_password" class="ai1ec-required" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ confirm_password_text }}
|
||||
</td>
|
||||
<td>
|
||||
<div class="ai1ec-ticket-field-error">
|
||||
{{ required_text }}
|
||||
</div>
|
||||
<input type="password" name="ai1ec_password_confirmation"
|
||||
class="ai1ec-required" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ phone_number_text }}
|
||||
</td>
|
||||
<td>
|
||||
<div class="ai1ec-ticket-field-error">
|
||||
{{ required_text }}
|
||||
</div>
|
||||
<input type="text" name="ai1ec_phone" class="ai1ec-required" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="signin">
|
||||
<td>
|
||||
{{ calendar_type_text }}
|
||||
</td>
|
||||
<td>
|
||||
<div class="ai1ec-ticket-field-error">
|
||||
{{ required_text }}
|
||||
</div>
|
||||
<select name="ai1ec_calendar_type" class="ai1ec-required">
|
||||
<option value=""></option>
|
||||
{% for calendar_type_key, calendar_type_option in calendar_types %}
|
||||
<option value="{{ calendar_type_key }}">
|
||||
{{ calendar_type_option }}
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
<div class="ai1ec-ticket-field-error">
|
||||
{{ required_text }}
|
||||
</div>
|
||||
<label for="ai1ec_terms">
|
||||
<input type="checkbox" id="ai1ec_terms"
|
||||
name="ai1ec_terms" class="ai1ec-required" />
|
||||
{{ terms_text | raw }}
|
||||
</label>
|
||||
<a href="#" name="ai1ec_tickets_signin" style="margin-top:20px;"
|
||||
class="ai1ec-btn ai1ec-btn-lg ai1ec-btn-primary">
|
||||
{{ sign_up_button_text }}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="signin ai1ec-hidden">
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" name="ai1ec_tickets_signin" style="margin-top:20px;"
|
||||
class="ai1ec-btn ai1ec-btn-lg ai1ec-btn-primary">
|
||||
{{ sign_in_button_text }}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,7 @@
|
||||
{% extends "bootstrap_tabs.twig" %}
|
||||
{% block extra_html %}
|
||||
{% from 'form-elements/input.twig' import button %}
|
||||
<div class="ai1ec-text-right">
|
||||
{{ button( submit.id, submit.id, submit.value, 'submit', submit.args ) }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,4 @@
|
||||
<p><a target="_blank" href="{{ link }}">
|
||||
{{ view }} "{{ title|raw }}"
|
||||
<i class="ai1ec-fa ai1ec-fa-arrow-right"></i>
|
||||
</a></p>
|
||||
@@ -0,0 +1,28 @@
|
||||
{% if edit %}
|
||||
<tr class="form-field">
|
||||
<th scope="row" valign="top">
|
||||
<label for="tag-color">
|
||||
{{ label }}
|
||||
</label>
|
||||
</th>
|
||||
<td>
|
||||
<div id="tag-color">
|
||||
<div id="tag-color-background" {{ style | raw }}></div>
|
||||
</div>
|
||||
<input type="hidden" name="tag-color-value" id="tag-color-value"
|
||||
value="{{ color }}">
|
||||
<p class="description">{{ description | raw }}.</p>
|
||||
</td>
|
||||
</tr>
|
||||
{% else %}
|
||||
<div class="form-field">
|
||||
<label for="tag-color">
|
||||
{{ label }}
|
||||
</label>
|
||||
<div id="tag-color">
|
||||
<div id="tag-color-background"></div>
|
||||
</div>
|
||||
<input type="hidden" name="tag-color-value" id="tag-color-value" value="">
|
||||
<p>{{ description | raw }}.</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,47 @@
|
||||
{% if edit %}
|
||||
|
||||
<tr class="form-field">
|
||||
<th scope="row" valign="top">
|
||||
<label for="tag-color">
|
||||
{{ section_name | raw }}
|
||||
</label>
|
||||
</th>
|
||||
<td>
|
||||
|
||||
<img src='{{ image_src }}' {{ image_style }} alt='' id='ai1ec_category_imag_preview' />
|
||||
<input type="hidden" name="ai1ec_category_image_url" id="ai1ec_category_image_url" value="">
|
||||
<input class="button at-upload_image_button" type="button" id='ai1ec_category_image_uploader' value="{{ label }}">
|
||||
|
||||
{% if image_src %}
|
||||
<p>
|
||||
<input type="checkbox" style="width:auto;" name="ai1ec_category_image_url_remove" id="ai1ec_category_image_url_remove" value="1" />
|
||||
<label for="ai1ec_category_image_url_remove">{{ remove_label }}</label>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<div class="desc-field">
|
||||
<p class="description">
|
||||
{{ description | raw }}
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{% else %}
|
||||
<div class="form-field">
|
||||
<label for="ai1ec_image_field_id">
|
||||
{{ section_name | raw }}
|
||||
</label>
|
||||
|
||||
<img src='{{ image_src }}' {{ image_style }} alt='' id='ai1ec_category_imag_preview' />
|
||||
<input type="hidden" name="ai1ec_category_image_url" id="ai1ec_category_image_url" value="">
|
||||
<input class="button at-upload_image_button" type="button" id='ai1ec_category_image_uploader' value="{{ label }}">
|
||||
|
||||
<div class="desc-field">
|
||||
<p class="description">
|
||||
{{ description | raw }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
@@ -0,0 +1,14 @@
|
||||
<div class="ai1ec-col-sm-12">
|
||||
<div class="checkbox">
|
||||
<label for="{{ id }}">
|
||||
{% from 'form-elements/input.twig' import input %}
|
||||
{{ input( id, id, 1, 'checkbox', attributes ) }}
|
||||
|
||||
{{ renderer.label | raw }}
|
||||
|
||||
</label>
|
||||
</div>
|
||||
{% if renderer.help is defined %}
|
||||
<div class="ai1ec-help-block">{{ renderer.help | raw }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
@@ -0,0 +1,6 @@
|
||||
<label class="ai1ec-control-label ai1ec-col-sm-5" for="{{ id }}">
|
||||
{{ label | raw }}
|
||||
</label>
|
||||
<div class="ai1ec-col-sm-7">
|
||||
{{ content | raw }}
|
||||
</div>
|
||||
@@ -0,0 +1,43 @@
|
||||
{% autoescape false %}
|
||||
<div class="ai1ec-col-sm-12">
|
||||
<div id="ai1ec-embedding">
|
||||
<div class="ai1ec-well ai1ec-prose">
|
||||
<p>{{ text_insert_shortcode }}</p>
|
||||
<ul>
|
||||
<li>{{ text_month_view }} <code class="ai1ec-autoselect">[ai1ec view="monthly"]</code></li>
|
||||
<li>{{ text_week_view }} <code class="ai1ec-autoselect">[ai1ec view="weekly"]</code></li>
|
||||
<li>{{ text_day_view }} <code class="ai1ec-autoselect">[ai1ec view="oneday"]</code></li>
|
||||
<li>{{ text_agenda_view }} <code class="ai1ec-autoselect">[ai1ec view="agenda"]</code></li>
|
||||
|
||||
{{ viewing_events_shortcodes }}
|
||||
|
||||
<li><em>{{ text_general_form }}</em> {{ text_other_view }} <code class="ai1ec-autoselect">[ai1ec view="someother"]</code></li>
|
||||
<li>{{ text_default_view }} <code class="ai1ec-autoselect">[ai1ec]</code></li>
|
||||
</ul>
|
||||
<p>
|
||||
<span class="ai1ec-text-muted">{{ text_optional }}</span>
|
||||
{{ text_filter_label }}
|
||||
</p>
|
||||
<ul>
|
||||
<li>{{ text_filter_category }} <code class="ai1ec-autoselect">[ai1ec cat_name="{{ text_filter_category_1 }}"]</code></li>
|
||||
<li>{{ text_filter_category_comma }} <code class="ai1ec-autoselect">[ai1ec cat_name="{{ text_filter_category_2 }},{{ text_filter_category_3 }}"]</code></li>
|
||||
<li>{{ text_filter_category_id }} <code class="ai1ec-autoselect">[ai1ec cat_id="1"]</code></li>
|
||||
<li>{{ text_filter_category_id_comma }} <code class="ai1ec-autoselect">[ai1ec cat_id="1,2"]</code></li>
|
||||
|
||||
<li>{{ text_filter_tag }} <code class="ai1ec-autoselect">[ai1ec tag_name="{{ text_filter_tag_1 }}"]</code></li>
|
||||
<li>{{ text_filter_tag_comma }} <code class="ai1ec-autoselect">[ai1ec tag_name="{{ text_filter_tag_2 }},{{ text_filter_tag_3 }}"]</code></li>
|
||||
<li>{{ text_filter_tag_id }} <code class="ai1ec-autoselect">[ai1ec tag_id="1"]</code></li>
|
||||
<li>{{ text_filter_tag_id_comma }} <code class="ai1ec-autoselect">[ai1ec tag_id="1,2"]</code></li>
|
||||
|
||||
<li>{{ text_filter_post_id }} <code class="ai1ec-autoselect">[ai1ec post_id="1"]</code></li>
|
||||
<li>{{ text_filter_post_id_comma }} <code class="ai1ec-autoselect">[ai1ec post_id="1,2"]</code></li>
|
||||
<li>{{ text_events_limit }} <code class="ai1ec-autoselect">[ai1ec events_limit="5"]</code></li>
|
||||
</ul>
|
||||
<div class="ai1ec-alert ai1ec-alert-warning">
|
||||
<strong>{{ text_warning }}</strong>
|
||||
{{ text_single_calendar }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endautoescape %}
|
||||
@@ -0,0 +1,56 @@
|
||||
<div class="ai1ec-admin-view-settings ai1ec-form-group">
|
||||
<label class="ai1ec-control-label ai1ec-col-lg-5">{{ label }}</label>
|
||||
<div class="ai1ec-col-lg-7">
|
||||
<table class="ai1ec-table ai1ec-table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="row"></th>
|
||||
<th scope="col" colspan="2" class="ai1ec-text-center">
|
||||
<i class="ai1ec-fa ai1ec-fa-desktop ai1ec-fa-lg ai1ec-fa-fw"></i>
|
||||
{{ text_desktop }}
|
||||
</th>
|
||||
<th scope="col" colspan="2" class="ai1ec-text-center">
|
||||
<i class="ai1ec-fa ai1ec-fa-mobile ai1ec-fa-lg ai1ec-fa-fw"></i>
|
||||
{{ text_mobile }}
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"></th>
|
||||
<th scope="col" class="ai1ec-text-center"><small>{{ text_enabled }}</small></th>
|
||||
<th scope="col" class="ai1ec-text-center"><small>{{ text_default }}</small></th>
|
||||
<th scope="col" class="ai1ec-text-center"><small>{{ text_enabled }}</small></th>
|
||||
<th scope="col" class="ai1ec-text-center"><small>{{ text_default }}</small></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for view, args in views %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ args.longname }}
|
||||
</td>
|
||||
<td>
|
||||
<input class="ai1ec-toggle-view" type="checkbox"
|
||||
name="view_{{ view }}_enabled" value="1"
|
||||
{{ args.enabled }}>
|
||||
</td>
|
||||
<td>
|
||||
<input class="ai1ec-toggle-default-view" type="radio"
|
||||
name="default_calendar_view" value="{{ view }}"
|
||||
{{ args.default }}>
|
||||
</td>
|
||||
<td>
|
||||
<input class="ai1ec-toggle-view" type="checkbox"
|
||||
name="view_{{ view }}_enabled_mobile" value="1"
|
||||
{{ args.enabled_mobile }}>
|
||||
</td>
|
||||
<td>
|
||||
<input class="ai1ec-toggle-default-view" type="radio"
|
||||
name="default_calendar_view_mobile" value="{{ view }}"
|
||||
{{ args.default_mobile }}>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,37 @@
|
||||
<label class="ai1ec-control-label ai1ec-col-sm-5" for="{{ id }}">
|
||||
{{ label | raw }}
|
||||
</label>
|
||||
{% if append is defined or licence_valid is defined %}
|
||||
<div class="{{ group_class is defined ?
|
||||
group_class : 'ai1ec-col-lg-3 ai1ec-col-md-4 ai1ec-col-sm-5' }}">
|
||||
<div class="ai1ec-input-group">
|
||||
{% else %}
|
||||
<div class="ai1ec-col-sm-7">
|
||||
{% endif %}
|
||||
|
||||
{% from 'form-elements/input.twig' import input %}
|
||||
{% spaceless %}
|
||||
{{ input( id, id, value, input_type, input_args ) }}
|
||||
|
||||
|
||||
{% if append is defined %}
|
||||
<span class="ai1ec-input-group-addon">{{ append }}</span>
|
||||
</div>
|
||||
{% elseif licence_valid is defined %}
|
||||
<span class="ai1ec-input-group-addon">
|
||||
<i class="ai1ec-fa
|
||||
{% if licence_valid %}
|
||||
ai1ec-fa-check ai1ec-text-success
|
||||
{% else %}
|
||||
ai1ec-fa-times ai1ec-text-danger
|
||||
{% endif %}">
|
||||
</i>
|
||||
</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endspaceless %}
|
||||
</div>
|
||||
|
||||
{% if help is defined %}
|
||||
<div class="ai1ec-col-sm-12 ai1ec-help-block">{{ help | raw }}</div>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,15 @@
|
||||
{% extends "base_page.twig" %}
|
||||
{% block layout %}
|
||||
<div class="post-box-container column-1-ai1ec left-side timely">
|
||||
{{ do_meta_boxes( metabox.screen, metabox.action, metabox.object ) }}
|
||||
{% if submit is defined %}
|
||||
{% from 'form-elements/input.twig' import button %}
|
||||
<div class="ai1ec-pull-right">
|
||||
{{ button( submit.id, submit.id, submit.value, 'submit', submit.args ) }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="post-box-container column-2-ai1ec right-side timely">
|
||||
{{ do_meta_boxes( support.screen, support.action, support.object ) }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,4 @@
|
||||
<fieldset id="ai1ec-fieldset-{{ parent_id }}" class="ai1ec-setting-fieldset ai1ec-{{ parent_id }} ai1ec-{{ select_id }}
|
||||
{% if not visible %} ai1ec-hidden{% endif %}">
|
||||
{{ contents | raw }}
|
||||
</fieldset>
|
||||
@@ -0,0 +1,13 @@
|
||||
<label class="ai1ec-control-label {% if not stacked %}ai1ec-col-sm-5{% endif %}"
|
||||
for="{{ id }}">
|
||||
{{ label | raw }}
|
||||
</label>
|
||||
<div {% if not stacked %}class="ai1ec-col-sm-7"{% endif %}>
|
||||
{% from 'form-elements/select.twig' import select %}
|
||||
{{ select( id, name, attributes, options ) }}
|
||||
</div>
|
||||
{% if fieldsets is not empty %}
|
||||
{% for fieldset in fieldsets %}
|
||||
{{ fieldset | raw }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
@@ -0,0 +1,22 @@
|
||||
<div class="ai1ec-default-filters ai1ec-form-group">
|
||||
<label class="ai1ec-control-label ai1ec-col-sm-3">
|
||||
{{ label }}
|
||||
<div class="ai1ec-help-block">
|
||||
{{ help | raw }}
|
||||
</div>
|
||||
</label>
|
||||
<div class="ai1ec-col-sm-9">
|
||||
<div class="ai1ec-row">
|
||||
{% if categories is defined %}
|
||||
<div class="ai1ec-col-md-6">
|
||||
{{ categories | raw }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if tags is defined %}
|
||||
<div class="ai1ec-col-md-6">
|
||||
{{ tags | raw }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,22 @@
|
||||
<label class="ai1ec-col-sm-12" for="{{ id }}">
|
||||
{{ label | raw }}
|
||||
</label>
|
||||
<div class="ai1ec-col-sm-12">
|
||||
{% if append is defined %}
|
||||
<div class="ai1ec-input-group">
|
||||
{% endif %}
|
||||
|
||||
{% from 'form-elements/textarea.twig' import textarea %}
|
||||
{% spaceless %}
|
||||
{{ textarea( id, id, value, input_args ) }}
|
||||
|
||||
{% if append is defined %}
|
||||
<span class="ai1ec-input-group-addon">{{ append }}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endspaceless %}
|
||||
</div>
|
||||
|
||||
{% if help is defined %}
|
||||
<div class="ai1ec-col-sm-12 ai1ec-help-block">{{ help | raw }}</div>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,17 @@
|
||||
<div class="ai1ec-col-sm-12">
|
||||
<ul class="ai1ec-fa-ul">
|
||||
<li id="ai1ec-cache-scan-success" class="ai1ec-text-success{% if cache_available == false %} ai1ec-hide{% endif %}">
|
||||
<i class="ai1ec-fa ai1ec-fa-li ai1ec-fa-check-circle"></i>
|
||||
{{ text.okcache | raw }}
|
||||
</li>
|
||||
<li id="ai1ec-cache-scan-danger" class="ai1ec-text-danger{% if cache_available == true %} ai1ec-hide{% endif %}">
|
||||
<i class="ai1ec-fa ai1ec-fa-li ai1ec-fa-times-circle"></i>
|
||||
{{ text.nocache | raw }}
|
||||
<button class="ai1ec-btn ai1ec-btn-default ai1ec-btn-xs" id="ai1ec-button-refresh"
|
||||
data-loading-text="<i class="ai1ec-fa ai1ec-fa-fw ai1ec-fa-refresh ai1ec-fa-spin"></i> {{ text.rescan }}">
|
||||
<i class="ai1ec-fa ai1ec-fa-fw ai1ec-fa-refresh"></i>
|
||||
{{ text.refresh | raw }}
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
Reference in New Issue
Block a user