created very basic homepage with upload button

This commit is contained in:
Václav Šmejkal 2024-05-24 16:31:24 +02:00
parent e7a94c115e
commit 04f08779e5
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

10
res/forum/home/home.html Normal file
View File

@ -0,0 +1,10 @@
<button onclick="show_upload_popup()" class="btn" id="upload_btn">Nahrát</button>
<div id="upload_popup">
<div>Název: <input type="text" name="name" minlength="4" maxlength="16"></div>
<div>Popis: <input type="text" name="desc" maxlength="64"></div>
<div><label for="file_upload" class="btn">Zvolte Soubor</label></div>
<div><input type="file" name="file_upload" id="file_upload" style="display:none;"></div>
<div><button onclick="upload()" type="submit" class="btn" id="upload_popup_sub">Zveřejnit</button></div>
</div>