clean build for version 1.4.5 with fixes of security funtionalities, logic branches, etc. Already tested and working fine
This commit is contained in:
@@ -8,11 +8,61 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-10">
|
||||
<?php require_once SHEET_CHECKER_PRO_PATH . 'templates/editor/setting-table-card.php'; ?>
|
||||
<?php require_once SHEET_CHECKER_PRO_PATH . 'templates/editor/setting-table-form.php'; ?>
|
||||
<?php require_once SHEET_CHECKER_PRO_PATH . 'templates/editor/setting-table-result.php'; ?>
|
||||
<?php require_once SHEET_CHECKER_PRO_PATH . 'templates/editor/setting-table-security.php'; ?>
|
||||
<?php require_once SHEET_CHECKER_PRO_PATH . 'templates/editor/js-template-repeater-card.php'; ?>
|
||||
<?php require_once SHEET_CHECKER_PRO_PATH . 'templates/editor/js-template-setting-output.php'; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php require_once SHEET_CHECKER_PRO_PATH .
|
||||
"templates/editor/setting-table-card.php"; ?>
|
||||
<?php require_once SHEET_CHECKER_PRO_PATH .
|
||||
"templates/editor/setting-table-form.php"; ?>
|
||||
<?php require_once SHEET_CHECKER_PRO_PATH .
|
||||
"templates/editor/setting-table-result.php"; ?>
|
||||
<?php require_once SHEET_CHECKER_PRO_PATH .
|
||||
"templates/editor/setting-table-security.php"; ?>
|
||||
<?php require_once SHEET_CHECKER_PRO_PATH .
|
||||
"templates/editor/js-template-repeater-card.php"; ?>
|
||||
<?php require_once SHEET_CHECKER_PRO_PATH .
|
||||
"templates/editor/js-template-setting-output.php"; ?>
|
||||
|
||||
<!-- Templates for preview functionality -->
|
||||
<script id="vertical-table-template" type="text/x-handlebars-template">
|
||||
<div class="dw-checker-results-container">
|
||||
{{#each results}}
|
||||
<div class="result-page" data-page="{{@index}}">
|
||||
<table class="dw-checker-result-table" {{{getStyle ../resultDivider ../resultDividerWidth}}}>
|
||||
<tbody>
|
||||
{{#each this}}
|
||||
{{#unless (getColumnSetting @key 'hide')}}
|
||||
<tr>
|
||||
<th {{{getStyleHeader ../resultDivider ../resultDividerWidth ../headerColor}}}}>
|
||||
<span class="dw-checker-result-header">{{@key}}</span>
|
||||
</th>
|
||||
<td {{{getStyleValue ../resultDivider ../resultDividerWidth ../valueColor}}}>
|
||||
{{#if (eq (getColumnSetting @key 'type') 'link_button')}}
|
||||
<span class="dw-checker-result-value">{{getColumnSetting @key 'prefix' this}} <a href="{{getValueWithPrefix @key}}" class="btn btn-primary">{{getColumnSetting @key 'button_text'}}</a></span>
|
||||
{{else if (eq (getColorSetting @key 'type') 'whatsapp_button')}}
|
||||
<span class="dw-checker-result-value">{{getColumnSetting @key 'prefix' this}} <a href="https://wa.me/{{getValueWithPrefix @key}}" class="btn btn-success">{{getColumnSetting @key 'button_text'}}</a></span>
|
||||
{{else}}
|
||||
<span class="dw-checker-result-value">{{getColumnSetting @key 'prefix' this}} {{formatValue this}}</span>
|
||||
{{/if}}
|
||||
</td>
|
||||
</tr>
|
||||
{{/unless}}
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script id="div-template" type="text/x-handlebars-template">
|
||||
<div class="dw-checker-results-container">
|
||||
{{#each results}}
|
||||
<div class="result-page" data-page="{{@index}}">
|
||||
<div class="dw-checker-result-container" data-pagination="{{@index}}">
|
||||
{{#each this}}
|
||||
<div class="dw-checker-result-div">
|
||||
<div class="result-header">
|
||||
<span class="dw-checker-result-header">{{@key}}</span>
|
||||
</div>
|
||||
<div class="result-value">
|
||||
<span class="dw-checker-result-value">{{#ifCond (eq (getColumnSetting @key 'type') 'text')}}{{formatValue this}}{{else}}{{#ifCond (eq (getColumnSetting @key 'type') 'link_button')}}{{getColumnSetting @key 'prefix' this}} <a href="{{this}}" class="btn btn-primary">{{getColumnSetting @key 'button_text'}}</a>{{else if (eq (getColumnSetting @key 'type') 'whatsapp_button')}}{{getColumnSetting @key 'prefix' this}} <a href="https://wa.me/{{this}}" class="btn btn-success">{{getColumnSetting @key 'button_text'}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user