Allow up to 4 screenshots.

This commit is contained in:
tastytea 2020-11-15 21:19:03 +01:00
parent 1a7c3a1de4
commit bea86eda1c
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 15 additions and 4 deletions

View File

@ -13,7 +13,7 @@
{ {
display: block; display: block;
float: left; float: left;
width: 11ch; width: 12ch;
text-align: right; text-align: right;
margin-right: 1ch; margin-right: 1ch;
} }
@ -25,6 +25,10 @@
{ {
padding: 0; padding: 0;
} }
input[type=file]
{
margin-left: 10ch;
}
span.optional span.optional
{ {
font-style: italic; font-style: italic;
@ -132,9 +136,16 @@
<!-- <input type="button" id="add_receipt" value="" disabled> --> <!-- <input type="button" id="add_receipt" value="" disabled> -->
<br> <br>
<label for="screenshot">Screenshot:</label> <label for="screenshot1">Screenshots:</label><span class="optional">(optional)</span>
<input type="file" id="screenshot" name="screenshot" accept="image/*"> <br>
<span class="optional">(optional)</span><br> <input type="file" id="screenshot1" name="screenshots[]" accept="image/*">
<br>
<input type="file" id="screenshot2" name="screenshots[]" accept="image/*">
<br>
<input type="file" id="screenshot3" name="screenshots[]" accept="image/*">
<br>
<input type="file" id="screenshot4" name="screenshots[]" accept="image/*">
<br>
<label for="description">Description:</label><br> <label for="description">Description:</label><br>
<textarea id="description" name="description" cols="80" rows="20" required></textarea><br> <textarea id="description" name="description" cols="80" rows="20" required></textarea><br>