Refactor CMS page template for improved readability and consistency
- Adjusted indentation and spacing for better code structure in page.tpl - Ensured consistent use of block syntax and formatting - Maintained functionality of the Paypo iframe integration and CMS content display
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{*
|
||||
{*
|
||||
* @Module Name: AP Page Builder
|
||||
* @Website: apollotheme.com - prestashop template provider
|
||||
* @author Apollotheme <apollotheme@gmail.com>
|
||||
@@ -26,7 +26,7 @@
|
||||
<input type="text" name="bg_img" id="bg_img" value="" class=""><a href="javascript:void(0)" class="select-img">{l s='Select image ' mod='appagebuilder'}</a>
|
||||
<p class="help-block">{l s='Please put image link or select image' mod='appagebuilder'}</p>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
{if $input.type == 'apExceptions'}
|
||||
<div class="well">
|
||||
<div>
|
||||
@@ -41,7 +41,7 @@
|
||||
<div class="">
|
||||
<div class="well">
|
||||
<div class="row">
|
||||
{if $input.type == 'ApRowclass'}
|
||||
{if $input.type == 'ApRowclass'}
|
||||
<label class="choise-class col-lg-12"><input type="checkbox" class="chk-row" data-value="row" value="1"> {l s='Use class row' mod='appagebuilder'}</label>
|
||||
{/if}
|
||||
<label class="control-label col-lg-1">{$input.leolabel}</label>
|
||||
@@ -56,7 +56,7 @@
|
||||
<li>
|
||||
<label class="choise-class"><input class="select-class" type="checkbox" data-value="hidden-md" value="1"> {l s='Hidden in Medium devices' mod='appagebuilder'}</label>
|
||||
</li>
|
||||
<li>
|
||||
<li>
|
||||
<label class="choise-class"><input class="select-class" type="checkbox" data-value="hidden-sm" value="1"> {l s='Hidden in Small devices' mod='appagebuilder'}</label>
|
||||
</li>
|
||||
<li>
|
||||
@@ -70,7 +70,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
{if $input.type == 'bg_select'}
|
||||
{$image_uploader}{* HTML form , no escape necessary *}
|
||||
{/if}
|
||||
@@ -100,7 +100,7 @@
|
||||
<ul class="dropdown-menu">
|
||||
{foreach from=$widthList item=itemWidth}
|
||||
<li>
|
||||
<a class="width-select" href="javascript:void(0);" tabindex="-1">
|
||||
<a class="width-select" href="javascript:void(0);" tabindex="-1">
|
||||
<span data-width="{$itemWidth|escape:'html':'UTF-8'}" class="width-val ap-w-{if $itemWidth|strpos:"."|escape:'html':'UTF-8'}{$itemWidth|replace:'.':'-'|escape:'html':'UTF-8'}{else}{$itemWidth|escape:'html':'UTF-8'}{/if}">{$itemWidth|escape:'html':'UTF-8'}/12 - ( {math equation="x/y*100" x=$itemWidth y=12 format="%.2f"} % )</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{*
|
||||
{*
|
||||
* @Module Name: AP Page Builder
|
||||
* @Website: apollotheme.com - prestashop template provider
|
||||
* @author Apollotheme <apollotheme@gmail.com>
|
||||
|
||||
Reference in New Issue
Block a user