mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
usb_lib / usbmount: Refine, lint, clarify
This commit is contained in:
parent
80bdfc677e
commit
6b4b94dae2
11 changed files with 26 additions and 29 deletions
24
roles/usb_lib/files/upload2usb/index.php
Normal file
24
roles/usb_lib/files/upload2usb/index.php
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
/*
|
||||
* index.php
|
||||
* Upload2USB App Index Page
|
||||
*/
|
||||
|
||||
$title = "Upload to USB";
|
||||
include("header.php");
|
||||
|
||||
//Check if folder for today exists, and get file count if it does
|
||||
$file_count = getFileCount(getTargetFolderPath(0));
|
||||
|
||||
?>
|
||||
|
||||
<form action="upload-file.php" id="upload2usb_form" method="post" enctype="multipart/form-data">
|
||||
<label for="upload2usb" style="font-weight:bold;padding-bottom:10px;">Upload your file here!</label><br/>
|
||||
<input type="file" name="uploaded_file" id="uploaded_file"><br/><br/>
|
||||
<button class="btn btn-dark" name="submit" type="submit" style="width:150px;">Upload</button>
|
||||
</form>
|
||||
<br/>
|
||||
<?php echo $file_count ?> files have been uploaded today!
|
||||
|
||||
|
||||
<?php include ("footer.php"); ?>
|
Loading…
Add table
Add a link
Reference in a new issue