feat: Vorschaubild für Farbschemata hochladen und anzeigen
This commit is contained in:
12
index.html
12
index.html
@@ -106,6 +106,18 @@
|
||||
<input id="schema-name-input" type="text" placeholder="z.B. Website Relaunch">
|
||||
</div>
|
||||
|
||||
<div class="modal-field">
|
||||
<label>Vorschaubild <span style="color:#aaa;font-size:0.7rem;text-transform:none">(optional)</span></label>
|
||||
<div id="schema-bild-bereich" style="display:flex;align-items:center;gap:0.75rem">
|
||||
<div id="schema-bild-preview" class="schema-bild-preview"></div>
|
||||
<div>
|
||||
<button class="action-btn" id="schema-bild-trigger" type="button">Bild hochladen</button>
|
||||
<input type="file" id="schema-bild-input" accept="image/*" style="display:none">
|
||||
<button class="action-btn" id="schema-bild-entfernen-btn" type="button" style="display:none;margin-left:0.4rem;font-size:0.75rem">Entfernen</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="schema-farben-preview" class="schema-farben-preview"></div>
|
||||
|
||||
<div id="schema-farbe-eingabe">
|
||||
|
||||
Reference in New Issue
Block a user