first commit
This commit is contained in:
11
modules/paylane/views/templates/admin/index.php
Normal file
11
modules/paylane/views/templates/admin/index.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
@@ -0,0 +1,35 @@
|
||||
<form id="module_form" class="defaultForm form-horizontal" action="{$currentIndex|escape:'htmlall':'UTF-8'}" method="post" enctype="multipart/form-data">
|
||||
<div class="panel">
|
||||
{foreach from=$payments key=sort item=payment}
|
||||
<div class="form-group">
|
||||
<div class="col-lg-2 logo-wrapper">
|
||||
<img src="{$thisPath|escape:'htmlall':'UTF-8'}views/img/{$payment.type|escape:'htmlall':'UTF-8'}.png" alt="{$payment.type|escape:'htmlall':'UTF-8'}" class="payment-config-logo">
|
||||
</div>
|
||||
<label class="payment-label col-lg-3">
|
||||
{$payment.title|escape:'htmlall':'UTF-8'}
|
||||
{if !empty($payment.tooltips)}
|
||||
<img src="{$thisPath|escape:'htmlall':'UTF-8'}views/img/questionmark.jpg" alt="{$payment.type|escape:'htmlall':'UTF-8'}" data-toggle="tooltip" title="{$payment.tooltips|escape:'htmlall':'UTF-8'}" class="payment-config-tooltip paylane-{$payment.type|escape:'htmlall':'UTF-8'}-tooltip">
|
||||
{/if}
|
||||
</label>
|
||||
<div class="col-lg-3">
|
||||
<div class="col-lg-4 control-label switch-label">{$label.active|escape:'htmlall':'UTF-8'}</div>
|
||||
<div class="col-lg-6 switch prestashop-switch fixed-width-lg">
|
||||
<input type="radio" name="PAYLANE_{$payment.brand|escape:'htmlall':'UTF-8'}_ACTIVE" id="PAYLANE_{$payment.brand|escape:'htmlall':'UTF-8'}_ACTIVE_on" value="1" {if ($payment.active == 1)}checked="checked"{/if}>
|
||||
<label for="PAYLANE_{$payment.brand|escape:'htmlall':'UTF-8'}_ACTIVE_on">{$button.yes|escape:'htmlall':'UTF-8'}</label>
|
||||
<input type="radio" name="PAYLANE_{$payment.brand|escape:'htmlall':'UTF-8'}_ACTIVE" id="PAYLANE_{$payment.brand|escape:'htmlall':'UTF-8'}_ACTIVE_off" value="0" {if empty($payment.active)}checked="checked"{/if}>
|
||||
<label for="PAYLANE_{$payment.brand|escape:'htmlall':'UTF-8'}_ACTIVE_off">{$button.no|escape:'htmlall':'UTF-8'}</label>
|
||||
<a class="slide-button btn"></a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear: both"></div>
|
||||
</div>
|
||||
<div style="clear: both"></div>
|
||||
{/foreach}
|
||||
|
||||
<div class="panel-footer">
|
||||
<button type="submit" value="1" name="btnSubmitPaymentConfig" class="btn btn-default pull-right">
|
||||
<i class="process-icon-save"></i> {$button.save|escape:'htmlall':'UTF-8'}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
17
modules/paylane/views/templates/admin/presentation.tpl
Normal file
17
modules/paylane/views/templates/admin/presentation.tpl
Normal file
@@ -0,0 +1,17 @@
|
||||
<div class="panel">
|
||||
<div class="col-lg-12">
|
||||
<p><img src="{$thisPath|escape:'htmlall':'UTF-8'}views/img/paylane.png" alt="Paylane" class="pres-logo"></p>
|
||||
<h2>{$presentation.about.title|escape:'htmlall':'UTF-8'}</h2>
|
||||
<p>{$presentation.about.text1|escape:'htmlall':'UTF-8'}</p>
|
||||
<p>{$presentation.about.text2|escape:'htmlall':'UTF-8'}</p>
|
||||
<p>{$presentation.about.text3|escape:'htmlall':'UTF-8'}</p>
|
||||
<br />
|
||||
<p>
|
||||
<a href="{$signUpUrl|escape:'htmlall':'UTF-8'}" target="_blank" class="pres-btn-signup">
|
||||
{$presentation.signup.title|escape:'htmlall':'UTF-8'}
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
45
modules/paylane/views/templates/admin/tabs.tpl
Normal file
45
modules/paylane/views/templates/admin/tabs.tpl
Normal file
@@ -0,0 +1,45 @@
|
||||
<script type='text/javascript' src="{$backOfficeJsUrl|escape:'htmlall':'UTF-8'}"></script>
|
||||
<link href="{$backOfficeCssUrl|escape:'htmlall':'UTF-8'}" rel="stylesheet" type="text/css">
|
||||
|
||||
{if $message}
|
||||
{if $message.success}
|
||||
{assign var="alert" value="alert-success"}
|
||||
{else}
|
||||
{assign var="alert" value="alert-danger"}
|
||||
{/if}
|
||||
<div class="bootstrap">
|
||||
<div class="module_confirmation conf confirm alert {$alert|escape:'htmlall':'UTF-8'}">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
{$message.text|escape:'htmlall':'UTF-8'}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="paylane-tabs">
|
||||
{if $tabs}
|
||||
<nav>
|
||||
{foreach $tabs as $tab}
|
||||
<a class="tab-title {if isset($selectedTab) && $tab.id==$selectedTab}active{/if}" href="#" id="{$tab.id|escape:'htmlall':'UTF-8'}" data-target="#paylane-tabs-{$tab.id|escape:'htmlall':'UTF-8'}">{$tab.title|escape:'htmlall':'UTF-8'}</a>
|
||||
{/foreach}
|
||||
</nav>
|
||||
<div class="content">
|
||||
{foreach $tabs as $tab}
|
||||
<div class="tab-content" id="paylane-tabs-{$tab.id|escape:'htmlall':'UTF-8'}" style="display:{if isset($selectedTab) && $tab.id==$selectedTab}block{else}none{/if}">
|
||||
{html_entity_decode($tab.content|escape:'htmlall':'UTF-8')}
|
||||
<h2>{$presentation.about.title2|escape:'htmlall':'UTF-8'}</h2>
|
||||
<p>{$presentation.about.text4|escape:'htmlall':'UTF-8'}</p>
|
||||
<p>{$presentation.about.text5|escape:'htmlall':'UTF-8'}</p>
|
||||
<p>{$presentation.about.text6|escape:'htmlall':'UTF-8'}</p>
|
||||
<br>
|
||||
<h2>{$presentation.about.title3|escape:'htmlall':'UTF-8'}</h2>
|
||||
<p>{$presentation.about.text7|escape:'htmlall':'UTF-8'}</p>
|
||||
<p>{$presentation.about.text8|escape:'htmlall':'UTF-8'}</p>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user