Story 4.2 completed

This commit is contained in:
2026-05-24 00:37:21 +02:00
parent de1b33c453
commit 56eeb7cc83
21 changed files with 3836 additions and 56 deletions
+36
View File
@@ -47,5 +47,41 @@
{{/each}}
</div>
</section>
{{#if hasPortraitSection}}
<section class="player-privacy-panel__section">
<h3 class="player-privacy-panel__section-header">{{portraitLabel}}</h3>
<p class="player-privacy-panel__section-description">{{portraitDescription}}</p>
<div class="player-privacy-panel__portrait-container">
<div class="player-privacy-panel__portrait-preview">
{{#if portraitPreviewURL}}
<img src="{{portraitPreviewURL}}" alt="Portrait preview" class="player-privacy-panel__portrait-image" />
{{else}}
<img src="icons/svg/mystery-man.svg" alt="Portrait preview" class="player-privacy-panel__portrait-image" />
{{/if}}
</div>
{{#unless isReadOnly}}
<div class="player-privacy-panel__portrait-actions">
<button type="button" class="player-privacy-panel__portrait-choose sp-btn sp-btn--primary">
{{chooseImageLabel}}
</button>
<input
type="file"
accept=".png,.jpg,.jpeg,.webp,.gif"
class="player-privacy-panel__portrait-input"
style="display: none;"
>
{{#if hasCustomPortrait}}
<button type="button" class="player-privacy-panel__portrait-remove sp-btn sp-btn--secondary">
{{removeImageLabel}}
</button>
{{/if}}
</div>
{{/unless}}
</div>
</section>
{{/if}}
</div>
</div>