first commit
This commit is contained in:
@@ -0,0 +1,264 @@
|
||||
{{ header }}{{ column_left }}
|
||||
<div id="content">
|
||||
<div class="page-header">
|
||||
<div class="container-fluid">
|
||||
<div class="pull-right">
|
||||
<button type="submit" form="form-theme" data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary"><i class="fa fa-save"></i></button>
|
||||
<a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a></div>
|
||||
<h1>{{ heading_title }}</h1>
|
||||
<ul class="breadcrumb">
|
||||
{% for breadcrumb in breadcrumbs %}
|
||||
<li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
{% if error_warning %}
|
||||
<div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><i class="fa fa-pencil"></i> {{ text_edit }}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-theme" class="form-horizontal">
|
||||
<fieldset>
|
||||
<legend>{{ text_general }}</legend>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="input-directory"><span data-toggle="tooltip" title="{{ help_directory }}">{{ entry_directory }}</span></label>
|
||||
<div class="col-sm-10">
|
||||
<select name="theme_default_directory" id="input-directory" class="form-control">
|
||||
{% for directory in directories %}
|
||||
{% if directory == theme_default_directory %}
|
||||
<option value="{{ directory }}" selected="selected">{{ directory }}</option>
|
||||
{% else %}
|
||||
<option value="{{ directory }}">{{ directory }}</option>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="input-status">{{ entry_status }}</label>
|
||||
<div class="col-sm-10">
|
||||
<select name="theme_default_status" id="input-status" class="form-control">
|
||||
{% if theme_default_status %}
|
||||
<option value="1" selected="selected">{{ text_enabled }}</option>
|
||||
<option value="0">{{ text_disabled }}</option>
|
||||
{% else %}
|
||||
<option value="1">{{ text_enabled }}</option>
|
||||
<option value="0" selected="selected">{{ text_disabled }}</option>
|
||||
{% endif %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>{{ text_product }}</legend>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-catalog-limit"><span data-toggle="tooltip" title="{{ help_product_limit }}">{{ entry_product_limit }}</span></label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" name="theme_default_product_limit" value="{{ theme_default_product_limit }}" placeholder="{{ entry_product_limit }}" id="input-catalog-limit" class="form-control" />
|
||||
{% if error_product_limit %}
|
||||
<div class="text-danger">{{ error_product_limit }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-description-limit"><span data-toggle="tooltip" title="{{ help_product_description_length }}">{{ entry_product_description_length }}</span></label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" name="theme_default_product_description_length" value="{{ theme_default_product_description_length }}" placeholder="{{ entry_product_description_length }}" id="input-description-limit" class="form-control" />
|
||||
{% if error_product_description_length %}
|
||||
<div class="text-danger">{{ error_product_description_length }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>{{ text_image }}</legend>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-category-width">{{ entry_image_category }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_category_width" value="{{ theme_default_image_category_width }}" placeholder="{{ entry_width }}" id="input-image-category-width" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_category_height" value="{{ theme_default_image_category_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_category %}
|
||||
<div class="text-danger">{{ error_image_category }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-manufacturer-width">{{ entry_image_manufacturer }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_manufacturer_width" value="{{ theme_default_image_manufacturer_width }}" placeholder="{{ entry_width }}" id="input-image-manufacturer-width" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_manufacturer_height" value="{{ theme_default_image_manufacturer_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_manufacturer %}
|
||||
<div class="text-danger">{{ error_image_manufacturer }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-thumb-width">{{ entry_image_thumb }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_thumb_width" value="{{ theme_default_image_thumb_width }}" placeholder="{{ entry_width }}" id="input-image-thumb-width" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_thumb_height" value="{{ theme_default_image_thumb_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_thumb %}
|
||||
<div class="text-danger">{{ error_image_thumb }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-popup-width">{{ entry_image_popup }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_popup_width" value="{{ theme_default_image_popup_width }}" placeholder="{{ entry_width }}" id="input-image-popup-width" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_popup_height" value="{{ theme_default_image_popup_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_popup %}
|
||||
<div class="text-danger">{{ error_image_popup }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-product-width">{{ entry_image_product }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_product_width" value="{{ theme_default_image_product_width }}" placeholder="{{ entry_width }}" id="input-image-product-width" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_product_height" value="{{ theme_default_image_product_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_product %}
|
||||
<div class="text-danger">{{ error_image_product }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-additional-width">{{ entry_image_additional }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_additional_width" value="{{ theme_default_image_additional_width }}" placeholder="{{ entry_width }}" id="input-image-additional-width" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_additional_height" value="{{ theme_default_image_additional_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_additional %}
|
||||
<div class="text-danger">{{ error_image_additional }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-related">{{ entry_image_related }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_related_width" value="{{ theme_default_image_related_width }}" placeholder="{{ entry_width }}" id="input-image-related" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_related_height" value="{{ theme_default_image_related_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_related %}
|
||||
<div class="text-danger">{{ error_image_related }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-compare">{{ entry_image_compare }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_compare_width" value="{{ theme_default_image_compare_width }}" placeholder="{{ entry_width }}" id="input-image-compare" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_compare_height" value="{{ theme_default_image_compare_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_compare %}
|
||||
<div class="text-danger">{{ error_image_compare }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-wishlist">{{ entry_image_wishlist }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_wishlist_width" value="{{ theme_default_image_wishlist_width }}" placeholder="{{ entry_width }}" id="input-image-wishlist" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_wishlist_height" value="{{ theme_default_image_wishlist_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_wishlist %}
|
||||
<div class="text-danger">{{ error_image_wishlist }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-cart">{{ entry_image_cart }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_cart_width" value="{{ theme_default_image_cart_width }}" placeholder="{{ entry_width }}" id="input-image-cart" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_cart_height" value="{{ theme_default_image_cart_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_cart %}
|
||||
<div class="text-danger">{{ error_image_cart }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-location">{{ entry_image_location }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_location_width" value="{{ theme_default_image_location_width }}" placeholder="{{ entry_width }}" id="input-image-location" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_default_image_location_height" value="{{ theme_default_image_location_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_location %}
|
||||
<div class="text-danger">{{ error_image_location }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ footer }}
|
||||
@@ -0,0 +1,264 @@
|
||||
{{ header }}{{ column_left }}
|
||||
<div id="content">
|
||||
<div class="page-header">
|
||||
<div class="container-fluid">
|
||||
<div class="pull-right">
|
||||
<button type="submit" form="form-theme" data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary"><i class="fa fa-save"></i></button>
|
||||
<a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a></div>
|
||||
<h1>{{ heading_title }}</h1>
|
||||
<ul class="breadcrumb">
|
||||
{% for breadcrumb in breadcrumbs %}
|
||||
<li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
{% if error_warning %}
|
||||
<div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><i class="fa fa-pencil"></i> {{ text_edit }}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-theme" class="form-horizontal">
|
||||
<fieldset>
|
||||
<legend>{{ text_general }}</legend>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="input-directory"><span data-toggle="tooltip" title="{{ help_directory }}">{{ entry_directory }}</span></label>
|
||||
<div class="col-sm-10">
|
||||
<select name="theme_dominik_directory" id="input-directory" class="form-control">
|
||||
{% for directory in directories %}
|
||||
{% if directory == theme_dominik_directory %}
|
||||
<option value="{{ directory }}" selected="selected">{{ directory }}</option>
|
||||
{% else %}
|
||||
<option value="{{ directory }}">{{ directory }}</option>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="input-status">{{ entry_status }}</label>
|
||||
<div class="col-sm-10">
|
||||
<select name="theme_dominik_status" id="input-status" class="form-control">
|
||||
{% if theme_dominik_status %}
|
||||
<option value="1" selected="selected">{{ text_enabled }}</option>
|
||||
<option value="0">{{ text_disabled }}</option>
|
||||
{% else %}
|
||||
<option value="1">{{ text_enabled }}</option>
|
||||
<option value="0" selected="selected">{{ text_disabled }}</option>
|
||||
{% endif %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>{{ text_product }}</legend>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-catalog-limit"><span data-toggle="tooltip" title="{{ help_product_limit }}">{{ entry_product_limit }}</span></label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" name="theme_dominik_product_limit" value="{{ theme_dominik_product_limit }}" placeholder="{{ entry_product_limit }}" id="input-catalog-limit" class="form-control" />
|
||||
{% if error_product_limit %}
|
||||
<div class="text-danger">{{ error_product_limit }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-description-limit"><span data-toggle="tooltip" title="{{ help_product_description_length }}">{{ entry_product_description_length }}</span></label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" name="theme_dominik_product_description_length" value="{{ theme_dominik_product_description_length }}" placeholder="{{ entry_product_description_length }}" id="input-description-limit" class="form-control" />
|
||||
{% if error_product_description_length %}
|
||||
<div class="text-danger">{{ error_product_description_length }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>{{ text_image }}</legend>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-category-width">{{ entry_image_category }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_category_width" value="{{ theme_dominik_image_category_width }}" placeholder="{{ entry_width }}" id="input-image-category-width" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_category_height" value="{{ theme_dominik_image_category_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_category %}
|
||||
<div class="text-danger">{{ error_image_category }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-manufacturer-width">{{ entry_image_manufacturer }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_manufacturer_width" value="{{ theme_dominik_image_manufacturer_width }}" placeholder="{{ entry_width }}" id="input-image-manufacturer-width" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_manufacturer_height" value="{{ theme_dominik_image_manufacturer_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_manufacturer %}
|
||||
<div class="text-danger">{{ error_image_manufacturer }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-thumb-width">{{ entry_image_thumb }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_thumb_width" value="{{ theme_dominik_image_thumb_width }}" placeholder="{{ entry_width }}" id="input-image-thumb-width" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_thumb_height" value="{{ theme_dominik_image_thumb_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_thumb %}
|
||||
<div class="text-danger">{{ error_image_thumb }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-popup-width">{{ entry_image_popup }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_popup_width" value="{{ theme_dominik_image_popup_width }}" placeholder="{{ entry_width }}" id="input-image-popup-width" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_popup_height" value="{{ theme_dominik_image_popup_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_popup %}
|
||||
<div class="text-danger">{{ error_image_popup }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-product-width">{{ entry_image_product }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_product_width" value="{{ theme_dominik_image_product_width }}" placeholder="{{ entry_width }}" id="input-image-product-width" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_product_height" value="{{ theme_dominik_image_product_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_product %}
|
||||
<div class="text-danger">{{ error_image_product }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-additional-width">{{ entry_image_additional }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_additional_width" value="{{ theme_dominik_image_additional_width }}" placeholder="{{ entry_width }}" id="input-image-additional-width" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_additional_height" value="{{ theme_dominik_image_additional_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_additional %}
|
||||
<div class="text-danger">{{ error_image_additional }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-related">{{ entry_image_related }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_related_width" value="{{ theme_dominik_image_related_width }}" placeholder="{{ entry_width }}" id="input-image-related" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_related_height" value="{{ theme_dominik_image_related_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_related %}
|
||||
<div class="text-danger">{{ error_image_related }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-compare">{{ entry_image_compare }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_compare_width" value="{{ theme_dominik_image_compare_width }}" placeholder="{{ entry_width }}" id="input-image-compare" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_compare_height" value="{{ theme_dominik_image_compare_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_compare %}
|
||||
<div class="text-danger">{{ error_image_compare }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-wishlist">{{ entry_image_wishlist }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_wishlist_width" value="{{ theme_dominik_image_wishlist_width }}" placeholder="{{ entry_width }}" id="input-image-wishlist" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_wishlist_height" value="{{ theme_dominik_image_wishlist_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_wishlist %}
|
||||
<div class="text-danger">{{ error_image_wishlist }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-cart">{{ entry_image_cart }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_cart_width" value="{{ theme_dominik_image_cart_width }}" placeholder="{{ entry_width }}" id="input-image-cart" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_cart_height" value="{{ theme_dominik_image_cart_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_cart %}
|
||||
<div class="text-danger">{{ error_image_cart }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-image-location">{{ entry_image_location }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_location_width" value="{{ theme_dominik_image_location_width }}" placeholder="{{ entry_width }}" id="input-image-location" class="form-control" />
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="theme_dominik_image_location_height" value="{{ theme_dominik_image_location_height }}" placeholder="{{ entry_height }}" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
{% if error_image_location %}
|
||||
<div class="text-danger">{{ error_image_location }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ footer }}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,111 @@
|
||||
{{ header }}{{ column_left }}
|
||||
<div id="content">
|
||||
<div class="page-header">
|
||||
<div class="container-fluid">
|
||||
<div class="pull-right">
|
||||
<a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a></div>
|
||||
<h1>{{ heading_title }}</h1>
|
||||
<ul class="breadcrumb">
|
||||
{% for breadcrumb in breadcrumbs %}
|
||||
<li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
{% if (error_warning) %}
|
||||
<div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><i class="fa fa-pencil"></i> {{ text_edit }}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-theme-lightshop" class="form-horizontal">
|
||||
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a href="#tab-info" data-toggle="tab">О шаблоне</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane active" id="tab-info">
|
||||
<div class="col-sm-8 col-sm-offset-2">
|
||||
<div class="about-info thumbnail">
|
||||
<div class="lightshop-logo"><img src="view/image/lightshop/lightshop-logo.png" alt="lightshop"></div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label" for="input-theme_lightshop_label_sale_d">Версия</label>
|
||||
<div class="col-sm-8 inline-text">
|
||||
{{ theme_lightshop_version }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label" for="input-license-key">Введите лицензионный ключ</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group">
|
||||
<input type="text" id="key" name="license_key" value="" placeholder="Введите лицензионный ключ" id="license-key" class="form-control" />
|
||||
<div class="input-group-btn">
|
||||
<button id="sendkey" data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary"><i class="fa fa-save"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label" for="input-theme_lightshop_label_sale_d">Техническая поддержка</label>
|
||||
<div class="col-sm-8 inline-text">
|
||||
<a href="mailto:support@899themes.ru">Отправить запрос в службу поддержки (support@899themes.ru)</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label" for="input-theme_lightshop_label_sale_d">Разработчик</label>
|
||||
<div class="col-sm-8 inline-text">
|
||||
<a href="http://899themes.ru/" target="_blank">899themes.ru</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label" for="input-theme_lightshop_label_sale_d">Лицензионное соглашение</label>
|
||||
<div class="col-sm-8 inline-text">
|
||||
<textarea class="license-agreement" readonly>{{ text_license }}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript"><!--
|
||||
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#sendkey').on('click', function(e) {
|
||||
e.preventDefault();
|
||||
var data = $('#key').val();
|
||||
$.ajax({
|
||||
url: 'index.php?route=extension/theme/lightshop/activatekey&user_token={{ user_token }}&newkey=1',
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
data: 'license_key=' + $('#key').val(),
|
||||
success: function (data) {
|
||||
if (data.error) { console.log(data.error);
|
||||
alert(data.error);
|
||||
}
|
||||
if (data.success) {
|
||||
alert(data.success);
|
||||
location.reload();
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
//--></script>
|
||||
{{ footer }}
|
||||
Reference in New Issue
Block a user