first commit
This commit is contained in:
133
catalog/view/template/information/contact.twig
Normal file
133
catalog/view/template/information/contact.twig
Normal file
@ -0,0 +1,133 @@
|
||||
{{ header }}
|
||||
<div id="information-contact" class="container">
|
||||
<ul class="breadcrumb">
|
||||
{% for breadcrumb in breadcrumbs %}
|
||||
<li class="breadcrumb-item"><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<div class="row">{{ column_left }}
|
||||
<div id="content" class="col">{{ content_top }}
|
||||
<h1>{{ heading_title }}</h1>
|
||||
<h3>{{ text_location }}</h3>
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
{% if image %}
|
||||
<div class="col-sm-3"><img src="{{ image }}" alt="{{ store }}" title="{{ store }}" class="img-thumbnail"/></div>
|
||||
{% endif %}
|
||||
<div class="col-sm-3"><strong>{{ store }}</strong>
|
||||
<br/>
|
||||
<address>
|
||||
{{ address }}
|
||||
</address>
|
||||
{% if geocode %}
|
||||
<a href="https://maps.google.com/maps?q={{ geocode|url_encode }}&hl={{ geocode_hl }}&t=m&z=15" target="_blank" class="btn btn-info"><i class="fa-solid fa-location-dot"></i> {{ button_map }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-sm-3"><strong>{{ text_telephone }}</strong>
|
||||
<br/>
|
||||
{{ telephone }}
|
||||
<br/>
|
||||
<br/>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
{% if open %}
|
||||
<strong>{{ text_open }}</strong>
|
||||
<br/>
|
||||
{{ open }}
|
||||
<br/>
|
||||
<br/>
|
||||
{% endif %}
|
||||
{% if comment %}
|
||||
<strong>{{ text_comment }}</strong>
|
||||
<br/>
|
||||
{{ comment }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% if locations %}
|
||||
<h3>{{ text_store }}</h3>
|
||||
<div id="accordion" class="card-group">
|
||||
{% for location in locations %}
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h4 class="card-title pt-2"><a href="#collapse-location-{{ location.location_id }}" class="accordion-toggle" data-bs-toggle="collapse" data-bs-parent="#accordion">{{ location.name }} <i class="fa-solid fa-caret-down"></i></a></h4>
|
||||
</div>
|
||||
<div class="card-collapse collapse" id="collapse-location-{{ location.location_id }}">
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
{% if location.image %}
|
||||
<div class="col-sm-3"><img src="{{ location.image }}" alt="{{ location.name }}" title="{{ location.name }}" class="img-thumbnail"/></div>
|
||||
{% endif %}
|
||||
<div class="col-sm-3"><strong>{{ location.name }}</strong>
|
||||
<br/>
|
||||
<address>
|
||||
{{ location.address }}
|
||||
</address>
|
||||
{% if location.geocode %}
|
||||
<a href="https://maps.google.com/maps?q={{ location.geocode|url_encode }}&hl={{ geocode_hl }}&t=m&z=15" target="_blank" class="btn btn-info"><i class="fa-solid fa-location-dot"></i> {{ button_map }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-sm-3"><strong>{{ text_telephone }}</strong>
|
||||
<br/>
|
||||
{{ location.telephone }}
|
||||
<br/>
|
||||
<br/>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
{% if location.open %}
|
||||
<strong>{{ text_open }}</strong>
|
||||
<br/>
|
||||
{{ location.open }}
|
||||
<br/>
|
||||
<br/>
|
||||
{% endif %}
|
||||
{% if location.comment %}
|
||||
<strong>{{ text_comment }}</strong>
|
||||
<br/>
|
||||
{{ location.comment }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<form id="form-contact" action="{{ send }}" method="post" data-oc-toggle="ajax">
|
||||
<fieldset>
|
||||
<legend>{{ text_contact }}</legend>
|
||||
<div class="row mb-3 required">
|
||||
<label for="input-name" class="col-sm-2 col-form-label">{{ entry_name }}</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" name="name" value="{{ name }}" id="input-name" class="form-control"/>
|
||||
<div id="error-name" class="invalid-feedback"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-3 required">
|
||||
<label for="input-email" class="col-sm-2 col-form-label">{{ entry_email }}</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" name="email" value="{{ email }}" id="input-email" class="form-control"/>
|
||||
<div id="error-email" class="invalid-feedback"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-3 required">
|
||||
<label for="input-enquiry" class="col-sm-2 col-form-label">{{ entry_enquiry }}</label>
|
||||
<div class="col-sm-10">
|
||||
<textarea name="enquiry" rows="10" id="input-enquiry" class="form-control"></textarea>
|
||||
<div id="error-enquiry" class="invalid-feedback"></div>
|
||||
</div>
|
||||
</div>
|
||||
{{ captcha }}
|
||||
</fieldset>
|
||||
<div class="text-end">
|
||||
<button type="submit" class="btn btn-primary">{{ button_submit }}</button>
|
||||
</div>
|
||||
</form>
|
||||
{{ content_bottom }}</div>
|
||||
{{ column_right }}</div>
|
||||
</div>
|
||||
{{ footer }}
|
69
catalog/view/template/information/gdpr.twig
Normal file
69
catalog/view/template/information/gdpr.twig
Normal file
@ -0,0 +1,69 @@
|
||||
{{ header }}
|
||||
<div id="account-gdpr" class="container">
|
||||
<ul class="breadcrumb">
|
||||
{% for breadcrumb in breadcrumbs %}
|
||||
<li class="breadcrumb-item"><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% if success %}
|
||||
<div class="alert alert-success alert-dismissible"><i class="fa-solid fa-circle-check"></i> {{ success }} <button type="button" class="btn-close" data-bs-dismiss="alert"></button></div>
|
||||
{% endif %}
|
||||
<div class="row">{{ column_left }}
|
||||
<div id="content" class="col">{{ content_top }}
|
||||
<h1>{{ heading_title }}</h1>
|
||||
<p>{{ text_gdpr|format(store, gdpr, title) }}</p>
|
||||
<form action="{{ action }}" method="post" data-oc-toggle="ajax">
|
||||
<fieldset>
|
||||
<legend id="account">{{ text_verification }}</legend>
|
||||
<div class="mb-3">
|
||||
<p><label for="input-email" class="form-check-label">{{ text_email }}</label></p>
|
||||
<div class="input-group">
|
||||
<input type="text" name="email" value="{{ email }}" placeholder="{{ entry_email }}" id="input-email" class="form-control"/>
|
||||
<div class="input-group-text"><i class="fa-solid fa-envelope"></i></div>
|
||||
</div>
|
||||
<div id="error-email" class="invalid-feedback"></div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend id="action">{{ text_action }}</legend>
|
||||
|
||||
<div class="mb-3">
|
||||
<div class="form-check">
|
||||
<input type="radio" name="action" value="export" id="input-export" checked class="form-check-input"/> <label for="input-export" class="form-check-label"><strong>{{ text_export }}</strong></label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input type="radio" name="action" value="remove" id="input-remove" class="form-check-input"/> <label for="input-remove" class="form-check-label"><strong>{{ text_remove }}</strong></label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="collapse-remove" class="alert alert-warning collapse">
|
||||
<p><i class="fa-solid fa-triangle-exclamation"></i> {{ text_warning }}</p>
|
||||
<ul>
|
||||
<li>{{ text_access|format(store) }}</li>
|
||||
<li>{{ text_history }}</li>
|
||||
<li>{{ text_limit|format(limit) }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<a href="{{ cancel }}" class="btn btn-light">{{ button_cancel }}</a>
|
||||
</div>
|
||||
<div class="col text-end">
|
||||
<button type="submit" class="btn btn-primary">{{ button_continue }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{{ content_bottom }}</div>
|
||||
{{ column_right }}</div>
|
||||
</div>
|
||||
<script type="text/javascript"><!--
|
||||
$('input[name=\'action\']').on('change', function () {
|
||||
if (this.value == 'remove') {
|
||||
$('#collapse-remove').slideDown();
|
||||
} else {
|
||||
$('#collapse-remove').slideUp();
|
||||
}
|
||||
});
|
||||
//--></script>
|
||||
{{ footer }}
|
14
catalog/view/template/information/information.twig
Normal file
14
catalog/view/template/information/information.twig
Normal file
@ -0,0 +1,14 @@
|
||||
{{ header }}
|
||||
<div id="information-information" class="container">
|
||||
<ul class="breadcrumb">
|
||||
{% for breadcrumb in breadcrumbs %}
|
||||
<li class="breadcrumb-item"><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<div class="row">{{ column_left }}
|
||||
<div id="content" class="col">{{ content_top }}
|
||||
<h1>{{ heading_title }}</h1>
|
||||
{{ description }}{{ content_bottom }}</div>
|
||||
{{ column_right }}</div>
|
||||
</div>
|
||||
{{ footer }}
|
11
catalog/view/template/information/information_info.twig
Normal file
11
catalog/view/template/information/information_info.twig
Normal file
@ -0,0 +1,11 @@
|
||||
<div id="modal-information" class="modal fade">
|
||||
<div class="modal-dialog modal-lg modal-dialog-centered">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">{{ title }}</h4>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
<div class="modal-body">{{ description }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
64
catalog/view/template/information/sitemap.twig
Normal file
64
catalog/view/template/information/sitemap.twig
Normal file
@ -0,0 +1,64 @@
|
||||
{{ header }}
|
||||
<div id="information-sitemap" class="container">
|
||||
<ul class="breadcrumb">
|
||||
{% for breadcrumb in breadcrumbs %}
|
||||
<li class="breadcrumb-item"><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<div class="row">{{ column_left }}
|
||||
<div id="content" class="col">{{ content_top }}
|
||||
<h1>{{ heading_title }}</h1>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<ul>
|
||||
{% for category_1 in categories %}
|
||||
<li><a href="{{ category_1.href }}">{{ category_1.name }}</a>
|
||||
{% if category_1.children %}
|
||||
<ul>
|
||||
{% for category_2 in category_1.children %}
|
||||
<li><a href="{{ category_2.href }}">{{ category_2.name }}</a>
|
||||
{% if category_2.children %}
|
||||
<ul>
|
||||
{% for category_3 in category_2.children %}
|
||||
<li><a href="{{ category_3.href }}">{{ category_3.name }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ul>
|
||||
<li><a href="{{ special }}">{{ text_special }}</a></li>
|
||||
<li><a href="{{ account }}">{{ text_account }}</a>
|
||||
<ul>
|
||||
<li><a href="{{ edit }}">{{ text_edit }}</a></li>
|
||||
<li><a href="{{ password }}">{{ text_password }}</a></li>
|
||||
<li><a href="{{ address }}">{{ text_address }}</a></li>
|
||||
<li><a href="{{ history }}">{{ text_history }}</a></li>
|
||||
<li><a href="{{ download }}">{{ text_download }}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="{{ history }}">{{ text_cart }}</a></li>
|
||||
<li><a href="{{ checkout }}">{{ text_checkout }}</a></li>
|
||||
<li><a href="{{ search }}">{{ text_search }}</a></li>
|
||||
<li>{{ text_information }}
|
||||
<ul>
|
||||
{% for information in informations %}
|
||||
<li><a href="{{ information.href }}">{{ information.title }}</a></li>
|
||||
{% endfor %}
|
||||
<li><a href="{{ contact }}">{{ text_contact }}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{ content_bottom }}</div>
|
||||
{{ column_right }}</div>
|
||||
</div>
|
||||
{{ footer }}
|
Reference in New Issue
Block a user