Add hex color input

This commit is contained in:
rajchales-monito
2026-07-24 13:51:11 +02:00
parent 8f5779133f
commit 8178b4a4e7
3 changed files with 32 additions and 3 deletions
+4 -1
View File
@@ -99,7 +99,10 @@
<label>Titulek EN <input name="titleEn"></label>
<label>Intro EN <textarea name="introEn" rows="2"></textarea></label>
<label class="color-field">Barva
<input name="brand" type="color">
<span class="color-row">
<input name="brand" type="color">
<input name="brandHex" class="hex-input" type="text" inputmode="text" maxlength="7" placeholder="#0f8f6f" pattern="#?[0-9a-fA-F]{6}">
</span>
</label>
<label>Pozice desktop <select name="desktopSide"><option>right</option><option>left</option></select></label>
<label>Desktop bottom px <input name="desktopBottom" type="number"></label>