forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-07-28 02:48:17 +02:00
parent aef244ec8a
commit a62339e107
1 changed files with 9 additions and 7 deletions

View File

@ -322,14 +322,16 @@
</div>
<div id="image-upload-block">
<div><label class="mt-3">Image Upload</label></div>
<div><label class="mt-3">Image Upload</label></div>
<label class="btn btn-secondary m-0" for="file-upload">
<div id="filename-show">Select Image</div>
<input id="file-upload" type="file" name="file" accept="image/*" onchange="document.getElementById('urlblock').classList.add('d-none');document.getElementById('filename-show').innerHTML='image';checkForRequired()" hidden>
</label>
<small class="form-text text-muted">Images uploaded will be public. Optional if you have text.</small>
<img id="image-preview" class="w-100 d-block">
<label class="btn btn-secondary m-0" for="file-upload">
<div id="filename-show">Select Image</div>
<input id="file-upload" type="file" name="file" accept="image/*" hidden>
</label>
<small class="form-text text-muted">Images uploaded will be public. Optional if you have text.</small>
</div>
</div>