9636b3659f
- Move all bilingual text from templates to UI JSON (labels, buttons, modals) - Move skills summary paragraph to CV JSON with HTML support - Add new UI sections: navigation, viewControls, sections, footer, portfolio, pdfModal, shortcutsModal, infoModal, widgets - Update Go structs to match expanded JSON structure - Add template.HTML type for CV.SkillsSummary field - Add JSON content validation test (70-json-content-validation.test.mjs) Templates now contain only structural logic (CSS classes, HTML attributes) while all user-visible text loads from JSON files for proper i18n support.
15 lines
715 B
HTML
15 lines
715 B
HTML
{{define "pdf-toast"}}
|
||
<!-- PDF Download Toast Notification -->
|
||
<div id="pdf-toast" class="success-toast no-print" role="status" aria-live="polite" aria-atomic="true">
|
||
<span class="toast-icon" id="pdf-toast-icon">📥</span>
|
||
<div class="toast-content">
|
||
<p class="toast-title" id="pdf-toast-title">{{.UI.Widgets.PdfToast.Title}}</p>
|
||
<p class="toast-message" id="pdf-toast-message"></p>
|
||
</div>
|
||
<button aria-label="{{.UI.Widgets.PdfToast.CloseLabel}}" class="toast-close" onclick="document.getElementById('pdf-toast').classList.remove('show')">×</button>
|
||
<div class="toast-progress">
|
||
<div class="toast-progress-bar" id="pdf-toast-progress"></div>
|
||
</div>
|
||
</div>
|
||
{{end}}
|