first commit

This commit is contained in:
2024-10-25 14:16:28 +02:00
commit 925276dbb2
33795 changed files with 4780077 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
<a href="#" title="{$title|escape:'html':'UTF-8'}" x-name="log_details" data-id="{$id}" data-displayed="{$displayed}">
<i class="icon-search"></i>&nbsp;{$action|escape:'html':'UTF-8'}
</a>

View File

@@ -0,0 +1,25 @@
<p>{$level}&nbsp;<strong>{$type}</strong></p>
<p>
<span class="x13allegro_black">{l s='Środowisko' mod='x13allegro'}:</span> {$env}<br/>
{if isset($allegroAccount)}
<span class="x13allegro_black">{l s='Konto Allegro' mod='x13allegro'}:</span> {$allegroAccount}<br/>
{/if}
{if isset($employee)}
<span class="x13allegro_black">{l s='Przypisany pracownik' mod='x13allegro'}:</span> {$employee}<br/>
{/if}
{if isset($product)}
<span class="x13allegro_black">{l s='Produkt' mod='x13allegro'}:</span> {$product}<br/>
{/if}
{if isset($order)}
<span class="x13allegro_black">{l s='Zamówienie' mod='x13allegro'}:</span> {$order}<br/>
{/if}
<span class="x13allegro_black">{l s='Data ostatniego wystąpienia' mod='x13allegro'}:</span> {$last_occurrence}
</p>
<hr>
{if isset($isJson) && $isJson}<pre>{$message}</pre>{else}<p>{$message}</p>{/if}

View File

@@ -0,0 +1,24 @@
{extends file="helpers/list/list_footer.tpl"}
{block name="after"}
<script>
$(function() {
var XAllegro = new X13Allegro();
XAllegro.logList();
});
</script>
<div class="modal" id="log_details_modal" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog" role="document" style="width: 650px;">
<div class="modal-content">
<div class="modal-header x13allegro-modal-header">
<button type="button" class="close x13allegro-modal-close" data-dismiss="modal"><span>&times;</span></button>
<h4 class="x13allegro-modal-title">{l s='Szczegóły loga' mod='x13allegro'}</h4>
<h6 class="x13allegro-modal-title-small"><span></span></h6>
</div>
<div class="modal-body x13allegro-modal-body"></div>
<div class="modal-footer x13allegro-modal-footer"></div>
</div>
</div>
</div>
{/block}

View File

@@ -0,0 +1,16 @@
{extends file="helpers/list/list_header.tpl"}
{block name="preTable"}
<div class="row">
<div class="col-sm-12 text-right">
{if $unreadLogsCount}
<div class="form-group">
<p>{l s='Nieprzeczytanych logów o błędach' mod='x13allegro'}: {$unreadLogsCount}</p>
<a class="btn btn-default" href="#" id="markAllLogsAsRead">
<i class="icon-check-sign"></i> {l s='Oznacz wszystkie jako przeczytane' mod='x13allegro'}
</a>
</div>
{/if}
</div>
</div>
{/block}

View File

@@ -0,0 +1,27 @@
{extends file="helpers/options/options.tpl"}
{block name="input"}
{if $field['type'] == 'checkbox'}
<div class="col-lg-9">
{foreach $field['choices'] AS $choice}
<p class="checkbox clearfix">
{strip}
<label class="col-lg-5" for="{$key}_{$choice.key}" id="choice_{$key}_{$choice.key}">
<input type="checkbox" name="{$key}[{$choice.key}]" id="{$key}_{$choice.key}" value="{$choice.key}" {if isset($field['value'][$choice.key])}checked="checked"{/if} {if isset($choice.disabled) && $choice.disabled}disabled="disabled"{/if} /> <span class="choice-label">{$choice.name}</span> {if isset($choice.desc) && $choice.desc}<span class="help-block">{$choice.desc}</span>{/if}
</label>
{/strip}
</p>
{/foreach}
</div>
{else}
{$smarty.block.parent}
{/if}
{/block}
{block name="after"}
<script type="text/javascript">
var XAllegro = new X13Allegro();
XAllegro._configurationWiderColsFix($('#xallegro_log_form'));
XAllegro._configurationDependencies();
</script>
{/block}