Files
VITEC-website/packages/vitec/Resources/Private/Templates/Downloadcard/Backendpreview.html
T
o-rascheandClaude Opus 4.8 bb7c03235d Checkpoint: headless JSON architecture documented + cleanup (Stufe 1+2)
Restore point before Stufe 3 (central resolver-service refactoring).

Includes this session's work:
- Success Story (usecase) rebuild: new fields/tabs, UsecaseSerializer,
  thin List/Show renderers, MM relations, inline content elements.
- vitec_columns content block (two-column layout with per-item content)
  incl. unified header section; special-cased JSON resolution.
- Container per-column flex (items[].config align/justify) + gap on parent.
- Unified header section across CEs/plugins/containers; header fields in JSON.
- ISO-style architecture spec: Documentation/Headless-JSON-Architecture.md.
- Cleanup: removed local scratch + verified .bak backups.
- Fixes: B-6 (undefined thumbnail variable in Downloadcardcollection image
  resolver), B-7 (unsatisfiable legacy CType OR branch in Downloadcard/Datasheets).

Rollback: git reset --hard snapshot-2026-07-09-pre-stufe3

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-09 10:01:56 +02:00

40 lines
1.2 KiB
HTML

<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:asset.css identifier="vitec-backend-preview" href="EXT:vitec/Resources/Public/Css/backend-preview.css"/>
<div class="vitec-preview">
<div class="vitec-preview__thumb-placeholder">⬇</div>
<div class="vitec-preview__body">
<div class="vitec-preview__label">VITEC · Download Card</div>
<h3 class="vitec-preview__headline">
<f:if condition="{data.header}">
<f:then>{data.header}</f:then>
<f:else>
<em style="color:#888;">Download Card (no header)</em>
</f:else>
</f:if>
</h3>
<div class="vitec-preview__body-text">
<small>
Configured via FlexForm:
Select a <strong>product</strong> or <strong>download</strong>,
set the layout variant.
</small>
</div>
</div>
<div class="vitec-preview__settings">
<span class="vitec-badge">⬇ Single Download / Product</span>
<f:if condition="{data.pi_flexform}">
<span class="vitec-badge">⚙ FlexForm configured</span>
</f:if>
</div>
</div>
</html>