@@ -0,0 +1,12 @@
|
||||
<div class="wrap" id="ai1ec-add-ons">
|
||||
<h2>
|
||||
{{ labels.title }}
|
||||
— <a href="https://time.ly/wordpress-calendar-plugin/addons/" class="button-primary" title="{{ labels.button_title | e("html_attr") }}" target="_blank">{{ labels.button_title }}</a>
|
||||
</h2>
|
||||
<p>{{ labels.paragraph_content }}</p>
|
||||
{% if is_error %}
|
||||
<div class="error"><p>{{ labels.error }}</p></div>
|
||||
{% else %}
|
||||
{{ content | raw }}
|
||||
{% endif %}
|
||||
</div>
|
||||
@@ -0,0 +1,22 @@
|
||||
<p class="ai1ec-banner-image-block hide-if-no-js {{ src ? '' : 'ai1ec-hidden' }}">
|
||||
<a href="#">
|
||||
<img width="100%" class="ai1ec-set-banner-image"
|
||||
src="{{ src | e( 'html_attr' ) }}">
|
||||
</a>
|
||||
<input type="hidden" name="ai1ec_banner_image"
|
||||
value="{{ src | e( 'html_attr' ) }}">
|
||||
</p>
|
||||
<p class="ai1ec-set-banner-block hide-if-no-js {{ src ? 'ai1ec-hidden' : '' }}">
|
||||
<a href="#" class="ai1ec-set-banner-image">{{ set_text }}</a>
|
||||
</p>
|
||||
<p class="ai1ec-remove-banner-block hide-if-no-js {{ src ? '' : 'ai1ec-hidden' }}">
|
||||
<a class="ai1ec-remove-banner" href="#">{{ remove_text }}</a>
|
||||
</p>
|
||||
<div class="media-toolbar ai1ec-hidden ai1ec-media-toolbar">
|
||||
<div class="media-toolbar-primary search-form">
|
||||
<a href="#" class="button media-button button-primary button-large
|
||||
ai1ec-save-banner-image">
|
||||
{{ set_text }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,11 @@
|
||||
<div class="wrap">
|
||||
<h2>{{ title }}</h2>
|
||||
<div id="poststuff">
|
||||
<form method="post" action="{{ action }}">
|
||||
{{ wp_nonce_field( nonce.action, nonce.name, nonce.referrer ) }}
|
||||
<div class="metabox-holder">
|
||||
{% block layout %}{% endblock %}
|
||||
</div>
|
||||
</form>
|
||||
</div>{# /#poststuff #}
|
||||
</div>{# /.wrap #}
|
||||
@@ -0,0 +1,51 @@
|
||||
{% if stacked %}<div class="ai1ec-row"><div class="ai1ec-col-sm-3">{% endif %}
|
||||
|
||||
<ul class="ai1ec-nav
|
||||
{% if stacked %}
|
||||
ai1ec-nav-pills ai1ec-nav-stacked
|
||||
{% else %}
|
||||
ai1ec-nav-tabs
|
||||
{% endif %}">
|
||||
|
||||
{% for id, data in tabs if data.name is defined %}
|
||||
{% if data.items is defined %}
|
||||
<li class="ai1ec-dropdown">
|
||||
<a href="#" data-toggle="ai1ec-dropdown">
|
||||
{{ data.name }} <i class="ai1ec-fa ai1ec-fa-caret-down"></i>
|
||||
</a>
|
||||
<ul class="ai1ec-dropdown-menu">
|
||||
{% for drop_id, drop_name in data.items %}
|
||||
<li>
|
||||
<a href="#ai1ec-{{ drop_id }}" data-toggle="ai1ec-tab">
|
||||
{{ drop_name }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
{% else %}
|
||||
<li>
|
||||
<a href="#ai1ec-{{ id }}" data-toggle="ai1ec-tab">{{ data.name }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
</ul>
|
||||
|
||||
{% if stacked %}</div><div class="ai1ec-col-sm-9">{% endif %}
|
||||
|
||||
<div class="ai1ec-tab-content {{ content_class }}">
|
||||
{{ pre_tabs_markup | raw}}
|
||||
{% for id, data in tabs %}
|
||||
<div class="ai1ec-tab-pane" id="ai1ec-{{ id }}">
|
||||
{% for element in data.elements %}
|
||||
{{ element.html | raw }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% block extra_html %}
|
||||
{% endblock %}
|
||||
|
||||
{% if stacked %}</div></div>{% endif %}
|
||||
@@ -0,0 +1,12 @@
|
||||
<div class="timely ai1ec-excerpt">
|
||||
<div class="ai1ec-time">
|
||||
<strong>{{ text_when }}</strong>
|
||||
{{ event | timespan | raw }}
|
||||
</div>
|
||||
{% if location is not empty %}
|
||||
<div class="ai1ec-location">
|
||||
<strong>{{ text_where }}</strong>
|
||||
{{ location | raw }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
@@ -0,0 +1,32 @@
|
||||
{% macro input( id, name = '', value = '', type = "text", attributes = [] ) %}
|
||||
{% if name == '' %}
|
||||
{% set id = name %}
|
||||
{% endif %}
|
||||
<input
|
||||
type="{{ type }}"
|
||||
name="{{ name }}"
|
||||
value="{{ value }}"
|
||||
id="{{ id }}"
|
||||
class="{% if type not in [ 'radio', 'checkbox' ] %}ai1ec-form-control{% endif %}
|
||||
{{ attributes.class }}"
|
||||
{% for attribute, value in attributes %}
|
||||
{% if attribute != 'class' %}
|
||||
{{ attribute }}="{{ value }}"
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
/>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro button( id, name = '', value = '', type = "text", attributes = [] ) %}
|
||||
{% if name == '' %}
|
||||
{% set id = name %}
|
||||
{% endif %}
|
||||
<button
|
||||
type="{{ type }}"
|
||||
name="{{ name }}"
|
||||
id="{{ id }}"
|
||||
{% for attribute, value in attributes %}
|
||||
{{ attribute }}="{{ value }}"
|
||||
{% endfor %}
|
||||
>{{ value | raw }}</button>
|
||||
{% endmacro %}
|
||||
@@ -0,0 +1,37 @@
|
||||
{% macro select( id, name='', attributes = [], options = [] ) %}
|
||||
{% if name == '' %}
|
||||
{% set name = id %}
|
||||
{% endif %}
|
||||
<select
|
||||
name="{{ name }}"
|
||||
id="{{ id }}"
|
||||
class="ai1ec-form-control {{ attributes.class }}"
|
||||
{% for attribute, value in attributes %}
|
||||
{% if attribute != 'class' %}
|
||||
{{ attribute }}="{{ value }}"
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
>
|
||||
{% for key, option in options %}
|
||||
{% if key is string %}
|
||||
<optgroup label="{{ key }}">
|
||||
{% for opt in option %}
|
||||
<option
|
||||
value="{{ opt.value }}"
|
||||
{% for attribute, value in opt.args %}
|
||||
{{ attribute }}="{{ value }}"
|
||||
{% endfor %}
|
||||
>{{ opt.text }}</option>
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
{% else %}
|
||||
<option
|
||||
value="{{ option.value | dropdown_filter }}"
|
||||
{% for attribute, value in option.args %}
|
||||
{{ attribute }}="{{ value }}"
|
||||
{% endfor %}
|
||||
>{{ option.text | dropdown_filter }}</option>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</select>
|
||||
{% endmacro %}
|
||||
@@ -0,0 +1,15 @@
|
||||
{% macro textarea( id, name='', value = '', attributes = [] ) %}
|
||||
{% if name == '' %}
|
||||
{% set id = name %}
|
||||
{% endif %}
|
||||
<textarea
|
||||
name="{{ name }}"
|
||||
id="{{ id }}"
|
||||
class="ai1ec-form-control {{ attributes.class }}"
|
||||
{% for attribute, value in attributes %}
|
||||
{% if attribute != 'class' %}
|
||||
{{ attribute }}="{{ value }}"
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
>{{ value }}</textarea>
|
||||
{% endmacro %}
|
||||
@@ -0,0 +1,15 @@
|
||||
<div class="message {{class}} ai1ec-message">
|
||||
{% if label is not defined %}
|
||||
{% set label = text_label %}
|
||||
{% endif %}
|
||||
<p><strong>{{ label }}:</strong></p>
|
||||
{{ message | raw }}
|
||||
|
||||
{% if persistent %}
|
||||
<button class="button button-primary ai1ec-dismissable"
|
||||
data-key="{{ msg_key }}">
|
||||
{{ text_dismiss_button }}
|
||||
</button>
|
||||
{% endif %}
|
||||
<p></p>
|
||||
</div>
|
||||
@@ -0,0 +1,27 @@
|
||||
<div class="timely ai1ec-taxonomy-header ai1ec-hide">
|
||||
<h1>{{ text_title }}</h1>
|
||||
<ul class="ai1ec-nav ai1ec-nav-tabs">
|
||||
{% for taxonomy in taxonomies %}
|
||||
{% if taxonomy.children is not empty %}
|
||||
<li class="{% if taxonomy.active %}ai1ec-active{% endif %}
|
||||
ai1ec-taxonomy-{{ taxonomy.taxonomy_name }}
|
||||
ai1ec-dropdown" role="presentation">
|
||||
<a data-toggle="ai1ec-dropdown" href="#" class="ai1ec-dropdown-toggle"
|
||||
role="button" aria-expanded="false">
|
||||
{% if taxonomy.icon is not empty %}
|
||||
<i class="{{ taxonomy.icon | e('html_attr') }} ai1ec-fa-fw"></i>
|
||||
{% endif %}
|
||||
{{ taxonomy.name }} <span class="ai1ec-caret"></span>
|
||||
</a>
|
||||
<ul class="ai1ec-dropdown-menu" role="menu">
|
||||
{% for taxonomy2 in taxonomy.children %}
|
||||
{% include 'organize/tab.twig' with { 'taxonomy': taxonomy2 } %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
{% else %}
|
||||
{% include 'organize/tab.twig' %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
@@ -0,0 +1,20 @@
|
||||
{% if taxonomy.divider %}
|
||||
<li role="presentation" class="ai1ec-divider"></li>
|
||||
{% else %}
|
||||
<li class="{% if taxonomy.active %}ai1ec-active{% endif %}
|
||||
ai1ec-taxonomy-{{ taxonomy.taxonomy_name }}">
|
||||
<a href="{{ taxonomy.url | e('html_attr') }}">
|
||||
{% if taxonomy.icon is not empty %}
|
||||
<i class="{{ taxonomy.icon | e('html_attr') }} ai1ec-fa-fw"></i>
|
||||
{% endif %}
|
||||
{{ taxonomy.name | raw }}
|
||||
</a>
|
||||
|
||||
{% if taxonomy.active and taxonomy.edit_url is not empty %}
|
||||
<a class="ai1ec-taxonomy-edit-link ai1ec-hide button button-primary timely"
|
||||
href="{{ taxonomy.edit_url | e('html_attr') }}">
|
||||
<i class="ai1ec-fa ai1ec-fa-pencil"></i> {{ taxonomy.edit_label }}
|
||||
</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,6 @@
|
||||
<div class="wrap">
|
||||
<h2>Sample calendars</h2>
|
||||
<div id="poststuff">
|
||||
<div id="calendar-sample-1" class="calendar-samples"></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,2 @@
|
||||
{% from 'form-elements/input.twig' import input %}
|
||||
{{ input( id, name, '', 'text', select2_args ) }}
|
||||
@@ -0,0 +1,8 @@
|
||||
<div
|
||||
{% if container_class != false %}
|
||||
class="{{ container_class }}"
|
||||
{% endif %}
|
||||
>
|
||||
{% from 'form-elements/select.twig' import select %}
|
||||
{{ select( id, name, select2_args, options ) }}
|
||||
</div>
|
||||
@@ -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>
|
||||
@@ -0,0 +1,6 @@
|
||||
<div class="ai1ec-form-group">
|
||||
<label for="{{ id }}" class="ai1ec-col-sm-4 ai1ec-col-xs-12 ai1ec-control-label">
|
||||
{{ label }}
|
||||
</label>
|
||||
{% block variable %}{% endblock %}
|
||||
</div>
|
||||
@@ -0,0 +1,10 @@
|
||||
{% extends "bootstrap_tabs.twig" %}
|
||||
{% block extra_html %}
|
||||
{% from 'form-elements/input.twig' import button %}
|
||||
<div class="ai1ec-text-right">
|
||||
<div class="ai1ec-btn-toolbar">
|
||||
{{ button( submit.id, submit.id, submit.value, 'submit', submit.args ) }}
|
||||
{{ button( reset.id, reset.id, reset.value, 'submit', reset.args ) }}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,18 @@
|
||||
{% extends "theme-options/base_option.twig" %}
|
||||
|
||||
{% block variable %}
|
||||
{% spaceless %}
|
||||
<div class="ai1ec-col-sm-6 ai1ec-col-xs-9">
|
||||
<div class="ai1ec-input-group color colorpickers"
|
||||
data-color="{{ value }}"
|
||||
data-color-format="{{ format }}">
|
||||
<input type="text" id="{{ id }}" name="{{ id }}" class="ai1ec-form-control"
|
||||
{{ readonly }} value="{{ value }}">
|
||||
<span class="ai1ec-input-group-addon">
|
||||
<i style="background-color: {{ value }}"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
{% endspaceless %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{% extends "theme-options/base_option.twig" %}
|
||||
{% from 'form-elements/select.twig' import select %}
|
||||
{% from 'form-elements/input.twig' import input %}
|
||||
{% block variable %}
|
||||
<div class="ai1ec-col-sm-6 ai1ec-col-xs-9">
|
||||
{{ select( select.id, select.id, select.args, select.options ) }}
|
||||
{{ input( input.id, input.id, input.value, 'text', input.args ) }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,6 @@
|
||||
{% extends "base_page.twig" %}
|
||||
{% block layout %}
|
||||
<div class="post-box-container left-side timely">
|
||||
{{ do_meta_boxes( metabox.screen, metabox.action, metabox.object ) }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,7 @@
|
||||
{% extends "theme-options/base_option.twig" %}
|
||||
{% from 'form-elements/input.twig' import input %}
|
||||
{% block variable %}
|
||||
<div class="ai1ec-col-sm-6 ai1ec-col-xs-9">
|
||||
{{ input( id, id, value, 'text', args ) }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,131 @@
|
||||
<div class="wrap timely ticketing">
|
||||
<h2>{{ title | raw }}</h2>
|
||||
<div id="poststuff">
|
||||
<div class="ai1ec-tickets-manage">
|
||||
<ul class="ai1ec-nav ai1ec-nav-tabs">
|
||||
<li class="ai1ec-active">
|
||||
<a href="#ai1ec_settings" data-toggle="ai1ec-tab">{{ settings_text }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#ai1ec_sales" data-toggle="ai1ec-tab">{{ sales_text }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="ai1ec-tab-content ai1ec-form-horizontal">
|
||||
<div class="ai1ec-tab-pane ai1ec-active" id="ai1ec_settings">
|
||||
<form action="" method="POST">
|
||||
<input type="hidden" name="ai1ec_save_settings" value="1">
|
||||
<ul class="ai1ec-payment-method ai1ec-panel">
|
||||
<h4>{{ currency_text }}</h4>
|
||||
<li class="ai1ec-payment-type">
|
||||
<select name="ai1ec_currency" id="ai1ec_currency"
|
||||
class="ai1ec-required">
|
||||
{% for ite in paypal_currencies %}
|
||||
<option value="{{ ite.code }}"
|
||||
{% if currency and ite.code == currency %}
|
||||
selected="selected"
|
||||
{% endif %}
|
||||
{% if ite.note %}
|
||||
title="{{ ite.note | e( 'html_attr' )}}"
|
||||
{% endif %}>
|
||||
{{ ite.code }}: {{ ite.description | e( 'html' )}}
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</li>
|
||||
<h4>{{ select_payment_text }}</h4>
|
||||
<li class="ai1ec-payment-type">
|
||||
<label for="ai1ec_payment_paypal" class="ai1ec-hidden">
|
||||
<input type="radio" name="ai1ec_payment_method"
|
||||
checked='checked'
|
||||
id="ai1ec_payment_paypal" value="paypal">
|
||||
{{ paypal_text }}
|
||||
</label>
|
||||
<div class="ai1ec-payment-details ai1ec-active
|
||||
">
|
||||
<div class="ai1ec-ticket-field-error">
|
||||
{{ required_text }}
|
||||
</div>
|
||||
<input name="ai1ec_paypal_email" type="email"
|
||||
{% if paypal_email %} value='{{ paypal_email }}' {% endif %}
|
||||
placeholder="Valid PayPal Email" class="ai1ec-required"/>
|
||||
<div class="ai1ec-ticket-field-error">
|
||||
{{ required_text }}
|
||||
</div>
|
||||
<input name="ai1ec_first_name" type="text"
|
||||
{% if first_name %} value='{{ first_name }}' {% endif %}
|
||||
placeholder="PayPal First Name" class="ai1ec-required"/>
|
||||
<div class="ai1ec-ticket-field-error">
|
||||
{{ required_text }}
|
||||
</div>
|
||||
<input name="ai1ec_last_name" type="text"
|
||||
{% if last_name %} value='{{ last_name }}' {% endif %}
|
||||
placeholder="PayPal Last Name" class="ai1ec-required"/>
|
||||
<div>
|
||||
<h6>* Make sure you are using exactly the same First and Last names as found in your <a href="https://www.paypal.com/myaccount/settings/" target="_blank">PayPal account settings</a>.</h6>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="ai1ec-payment-type">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<a href="#" name="ai1ec_tickets_submit"
|
||||
class="ai1ec-btn ai1ec-btn-primary ai1ec-btn-lg">
|
||||
{{ save_changes_text }}
|
||||
</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="ai1ec-tab-pane" id="ai1ec_sales">
|
||||
<table class="ai1ec-ticket-sales">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="ai1ec-hidden-sm">{{ date_text }}</th>
|
||||
<th>{{ event_text }}</th>
|
||||
<th class="ai1ec-hidden-sm">{{ purchaser_text }}</th>
|
||||
<th>{{ email_text }}</th>
|
||||
<th>{{ tickets_text }}</th>
|
||||
<th>{{ total_text }}</th>
|
||||
<th>{{ status_text }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for purchase in purchases %}
|
||||
<tr>
|
||||
<td>
|
||||
<div class="ai1ec-visible-sm">
|
||||
{{ purchase.event_title }}
|
||||
</div>
|
||||
{{ purchase.created_at }}
|
||||
</td>
|
||||
<td class="ai1ec-hidden-sm">
|
||||
{{ purchase.event_title }}
|
||||
</td>
|
||||
<td class="ai1ec-hidden-sm">
|
||||
{{ purchase.purchaser_name }}
|
||||
</td>
|
||||
<td>
|
||||
<div class="ai1ec-visible-sm">
|
||||
{{ purchase.purchaser_name }}
|
||||
</div>
|
||||
{{ purchase.email }}
|
||||
</td>
|
||||
<td>
|
||||
<div class="ai1ec-visible-sm">
|
||||
{{ purchase.ticket_count }}
|
||||
</div>
|
||||
{{ purchase.ticket_count }}
|
||||
</td>
|
||||
<td>{% if purchase.symbol is defined %}{{ purchase.symbol }}{% endif %}{{ purchase.total }} {{purchase.currency}}</td>
|
||||
<td>{{ purchase.status }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>{# /#poststuff #}
|
||||
</div>{# /.wrap #}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
<div class="wrap timely ticketing">
|
||||
<h2>{{ title | raw }}</h2>
|
||||
<div id="poststuff">
|
||||
<div class="ai1ec-tickets-pending">
|
||||
{{ message | raw }}
|
||||
</div>
|
||||
</div>{# /#poststuff #}
|
||||
</div>{# /.wrap #}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
<div class="wrap timely ticketing" style="max-width: 550px;">
|
||||
<h2>{{ title | raw }}</h2><br>
|
||||
<div id="poststuff" style="min-width:550px;">
|
||||
{{ signup_form | raw }}
|
||||
</div>{# /#poststuff #}
|
||||
|
||||
{% if show_info is defined and show_info %}
|
||||
<div class="ai1ec-ticketing-info timely-saas">
|
||||
<br><br>
|
||||
Timely Ticketing saves you both time and money.<br><br>
|
||||
Save time by setting up your ticketing/registration when you're creating and editing your event all through your calendar dashboard. No need to manage your event and ticketing/registration in two different systems.<br><br>
|
||||
Save money by only paying for your annual subscription and PayPal transaction costs. Unlike other ticketing platforms, Timely does not take any commissions. Events that are free have no additional costs other than your annual subscription. Create as many ticketing/registration events as you like.<br><br>
|
||||
People can use credit cards or their PayPal account to purchase tickets.<br><br>
|
||||
|
||||
Timely Ticketing is not enabled for this website. Please sign up for Ticketing <a href="https://time.ly/tickets-existing-users/" target="_blank">here.</a>
|
||||
<br><br>
|
||||
<b>Sample checkout.</b> Site visitor stays on your calendar/website. Look may vary slightly depending on customizations.
|
||||
<div id="ai1ec-tickets1"></div>
|
||||
<b>Sample receipt.</b> Look may vary slightly depending on customizations.
|
||||
<div id="ai1ec-tickets2"></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>{# /.wrap #}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<style type="text/css" media="all">
|
||||
@font-face {
|
||||
font-family: 'Timely Icons';
|
||||
src:url('{{ admin_theme_font_url }}timely-icons.eot');
|
||||
src:url('{{ admin_theme_font_url }}timely-icons.eot?#iefix') format('embedded-opentype'),
|
||||
url('{{ admin_theme_font_url }}timely-icons.svg#Timely-Icons') format('svg'),
|
||||
url('{{ admin_theme_font_url }}timely-icons.woff') format('woff'),
|
||||
url('{{ admin_theme_font_url }}timely-icons.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
{% if before_font_icons %}
|
||||
#menu-posts-ai1ec_event > .menu-icon-post > div.wp-menu-image {
|
||||
background-image: url('{{ admin_theme_img_url }}/timely-admin-menu.png') !important;
|
||||
}
|
||||
{% else %}
|
||||
#menu-posts-ai1ec_event > .menu-icon-post > div.wp-menu-image:before {
|
||||
content: '\21' !important;
|
||||
display: inline-block !important;
|
||||
font-family: 'Timely Icons' !important;
|
||||
font-style: normal !important;
|
||||
font-weight: normal !important;
|
||||
speak: none !important;
|
||||
vertical-align: baseline !important;
|
||||
line-height: 16px !important;
|
||||
}
|
||||
{% endif %}
|
||||
</style>
|
||||
@@ -0,0 +1,12 @@
|
||||
<div class="wrap">
|
||||
<h2>{{ title }}</h2>
|
||||
<div id="poststuff">
|
||||
<div class="metabox-holder">
|
||||
<div class="post-box-container left-side timely">
|
||||
<div class="ai1ec-tab-content-container ai1ec-form-horizontal">
|
||||
{{ do_meta_boxes( metabox.screen, metabox.action, metabox.object ) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>{# /#poststuff #}
|
||||
</div>{# /.wrap #}
|
||||
@@ -0,0 +1,50 @@
|
||||
<p>{{ text_common_info | raw }}</p>
|
||||
{% if display_alert %}
|
||||
<div class="ai1ec-alert ai1ec-alert-warning">
|
||||
{{ text_alert | raw }}
|
||||
{{ text_alternatives | raw }}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="ai1ec-col-md-12">
|
||||
<ul class="ai1ec-nav ai1ec-nav-pills" role="tablist">
|
||||
{% for id, data in tabs %}
|
||||
<li>
|
||||
<a href="#{{ id | e('html_attr') }}" data-toggle="ai1ec-tab" >
|
||||
<i class="{{ data.icon }} ai1ec-fa-lg ai1ec-fa-fw"></i>
|
||||
{{ data.name | raw }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="ai1ec-col-md-6">
|
||||
<div class="ai1ec-tab-content">
|
||||
{% for id, data in tabs %}
|
||||
<div class="ai1ec-tab-pane" id="{{ id }}">
|
||||
{% if data.requirements is not empty %}
|
||||
<div class="ai1ec-alert ai1ec-alert-info">
|
||||
<i class="ai1ec-fa ai1ec-fa-info-circle ai1ec-fa-fw"></i>
|
||||
{{ data.requirements | raw }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% for element in data.elements %}
|
||||
{{ element | raw }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="ai1ec-col-md-6">
|
||||
<p><strong>{{ text_paste | raw }}</strong></p>
|
||||
<pre id="ai1ec-superwidget-code" class="ai1ec-autoselect"
|
||||
data-widget-url="{{ siteurl | e('html_attr') }}?ai1ec_js_widget"></pre>
|
||||
<div class="ai1ec-alert ai1ec-alert-info">
|
||||
<i class="ai1ec-fa ai1ec-fa-info-circle ai1ec-fa-fw"></i>
|
||||
{{ text_updated_code
|
||||
| format( 'https://time.ly/document/manage-add-ons/embed-calendar-sites-super-widget/' )
|
||||
| raw }}
|
||||
</div>
|
||||
</div>
|
||||
<br clear="all" />
|
||||
<h2 id="widget-preview-title">{{ text_preview }}</h2>
|
||||
<div id="ai1ec-superwidget-preview" class="ai1ec-well ai1ec-hidden"></div>
|
||||
Reference in New Issue
Block a user