Удаление помойки из прошлого
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,111 +0,0 @@
|
||||
{{ 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