Some checks are pending
Module sub-split / Sub-split (push) Waiting to run
- Base: wintercms/winter branch 1.2 (full framework) - Theme vivespos: Canvas 7 + Bootstrap 5 CDN, custom CSS - Layout: deferred GTM/GA4 tracking, JSON-LD SoftwareApplication - Partials: hero (offline-first), features, modes (offline/nube toggle), screenshots, pricing (3 planes), comparison, FAQ, CTA - Plugin VivesPOS.Site with ContactForm - Dockerfile: PHP 8.2 Apache, port 80, healthcheck - Added winter/wn-pages, blog, sitemap, seo plugins - Active theme set to vivespos
38 lines
1.2 KiB
PHP
38 lines
1.2 KiB
PHP
<?php if ($this->previewMode && !$fileList->count()): ?>
|
|
|
|
<span class="form-control"><?= e(trans('backend::lang.form.preview_no_files_message')) ?></span>
|
|
|
|
<?php else: ?>
|
|
|
|
<?php switch ($displayMode) {
|
|
case 'image-single':
|
|
echo $this->makePartial('image_single');
|
|
break;
|
|
|
|
case 'image-multi':
|
|
echo $this->makePartial('image_multi');
|
|
break;
|
|
|
|
case 'file-single':
|
|
echo $this->makePartial('file_single');
|
|
break;
|
|
|
|
case 'file-multi':
|
|
echo $this->makePartial('file_multi');
|
|
break;
|
|
} ?>
|
|
|
|
<!-- Error template -->
|
|
<script type="text/template" id="<?= $this->getId('errorTemplate') ?>">
|
|
<div class="popover-head">
|
|
<h3><?= e(trans('backend::lang.fileupload.upload_error')) ?></h3>
|
|
<p>{{errorMsg}}</p>
|
|
<button type="button" class="close" data-dismiss="popover" aria-hidden="true">×</button>
|
|
</div>
|
|
<div class="popover-body">
|
|
<button class="btn btn-secondary" data-remove-file><?= e(trans('backend::lang.fileupload.remove_file')) ?></button>
|
|
</div>
|
|
</script>
|
|
|
|
<?php endif ?>
|