add the file name field

This commit is contained in:
blek 2023-09-30 12:28:34 +10:00
parent c9d94b60da
commit ea4573f8f3
Signed by: blek
GPG Key ID: 14546221E3595D0C
2 changed files with 18 additions and 0 deletions

View File

@ -220,3 +220,14 @@ p {
display: block;
padding: 8px;
}
input[type=text],
input[type=password],
input[type=email] {
background: var(--header-fg-color);
color: var(--header-color);
border: 0px solid transparent;
border-radius: 5px;
padding: 2px 4px;
outline: none;
}

View File

@ -28,6 +28,13 @@
<label for="bfile-formupload-delete-dl">After 30 minutes OR a download</label>
</li>
</ul>
<p>
<input id="bfile-formupload-file-name-checkbox" type="checkbox" name="named">
<label for="bfile-formupload-file-name-checkbox">
I also want my file named:
</label>
<input type="text" name="filename"></input>
</p>
<p>
<input type="file" name="file" id="bfile-formupload-file" style="display: none" />
<label for="bfile-formupload-file">