Initial xentral_oss_20.3.c9ffacf

This commit is contained in:
Alex
2021-05-21 08:49:41 +02:00
parent 5406e4a551
commit 34e5ac43d9
18884 changed files with 2109867 additions and 0 deletions
@@ -0,0 +1,28 @@
{namespace key='customreport'}
{block name='columntable'}
{foreach $columns as $item}
{* <div class="column-view" data-id="{$item.id|default:0}">*}
{* {$item.title|default:''}*}
{* </div>*}
<tr role="row" class="column-view" data-id="{$item.id|default:0}">
<td data-varname="key_name">{$item.key_name|default:''}</td>
<td data-varname="title">{$item.title|default:''}</td>
<td data-varname="width">{$item.width|default:''}</td>
<td data-varname="alignment">
{if $item.alignment eq 'right'}Rechts{/if}
{if $item.alignment eq 'left'}Links{/if}
{if $item.alignment eq 'center'}Mitte{/if}
</td>
<td data-varname="sum">
{if $item.sum === 1}Ja{else}Nein{/if}
</td>
<td width="1%">
<a href="#" class="column-edit-button">
<img src="themes/[THEME]/images/edit.svg" border="0" alt="edit column">
</a>
</td>
</tr>
{/foreach}
{/block}
@@ -0,0 +1,9 @@
{namespace key='customreport'}
{block name='paramtable'}
{foreach $parameters as $item}
<div class="parameter-view" data-id="{$item.id|default:0}" data-key="{$item.varname|default:''}"
data-value="{$item.default_value|default:''}">
{$item.varname|default:''}={$item.default_value|default:''}
</div>
{/foreach}
{/block}
+81
View File
@@ -0,0 +1,81 @@
<div class="tile {if $report.readonly eq 1}original-report{else}custom-report{/if}">
<div class="tile-header">
<div class="tile-header-icons-left">
{if $report.is_favorite eq 1}
<a class="tile-icon svg-favorite favorite-on" data-id="{$report.id|default:0}" data-favorite="1" href="#">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 0h24v24H0z" fill="none"/>
<path class="svg-fill" fill="#929292" d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/>
<path d="M0 0h24v24H0z" fill="none"/>
</svg>
</a>
{else}
<a class="tile-icon svg-favorite" data-id="{$report.id|default:0}" data-favorite="0" href="#">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 0h24v24H0z" fill="none"/>
<path class="svg-fill" fill="#929292" d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/>
<path d="M0 0h24v24H0z" fill="none"/>
</svg>
</a>
{/if}
</div>
<div class="tile-title">{$report.category|default:''}</div>
<div class="tile-header-icons-right">
<a href="#" class="tooltip-inline">
<span class="icon icon-tooltip"></span>
<span class="tooltip" role="tooltip">
<span class="tooltip-title">Beschreibung:</span>
<span class="tooltip-content">{$report.description|default:''}</span>
</span>
</a>
<a class="tile-icon table-button-edit" href="?module=report&action=edit&id={$report.id|default:0}">
<img src="./themes/{$theme|default:'new'}/images/edit.svg" alt="Bearbeiten">
</a>
<a class="tile-icon table-button-delete" href="#" data-report-id="{$report.id|default:0}">
<img src="./themes/{$theme|default:'new'}/images/delete.svg" alt="Löschen">
</a>
<a class="tile-icon table-button-copy" href="#" data-report-id="{$report.id|default:0}">
<img src="./themes/{$theme|default:'new'}/images/copy.svg" alt="Kopieren">
</a>
</div>
</div>
{* <div class="tile-body">*}
<a class="tile-body" href="?module=report&action=view&id={$report.id|default:0}" data-id="{$report.id|default:0}">
<h1>{$report.name|default:''}</h1>
</a>
{* </div>*}
<div class="tile-footer">
<a class="reportbutton active" href="?module=report&action=view&id={$report.id|default:0}">
<span>TABLE</span>
</a>
{if $report.allow_download eq 1 and $report.allow_csv eq 1}
<a class="reportbutton download-csv-button {if $report.allow_download eq 1 and $report.allow_csv eq 1}active{/if}"
href="#" data-format="csv" data-report-id="{$report.id|default:0}">
<span>CSV</span>
</a>
{/if}
{if $report.allow_download eq 1 and $report.allow_pdf eq 1}
<a class="reportbutton download-csv-button {if $report.allow_download eq 1 and $report.allow_pdf eq 1}active{/if}"
href="#" data-format="pdf" data-report-id="{$report.id|default:0}">
<span>PDF</span>
</a>
{/if}
{if $report.allow_chart eq 1}
<a class="reportbutton chart-button {if $report.allow_chart eq 1 }active{/if}"
href="#" data-report-id="{$report.id|default:0}">
<span>CHART</span>
</a>
{/if}
</div>
</div>
@@ -0,0 +1,16 @@
{namespace key='customreport'}
{block name='paramtable'}
<div class="row" id="reportTileView">
<div class="row-height">
<div class="col-xs-12 col-md-8 col-md-height">
<div class="tile-container tile-columns-3">
{foreach $reportList as $report}
{include file='./tile.tpl'}
{/foreach}
</div>
</div>
</div>
</div>
{/block}