mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
usb_lib/upload/*.php, usb_lib/tasks/install.yml: Moving app from upload2usb/ to upload/; Fixing UK image on upload-file page; Minor formatting changes
This commit is contained in:
parent
99ff433a90
commit
956257f6cb
5 changed files with 8 additions and 7 deletions
|
@ -35,7 +35,7 @@ $file_count = getFileCount(getTargetFolderPath(0));
|
|||
<img class="mb-4" src="uk-swing.png" alt="" width="75">
|
||||
<h1 class="h3 mb-3 font-weight-normal">Internet in a Box Upload to USB</h1>
|
||||
|
||||
<label for="upload2usb" style="font-weight:bold;padding-bottom:10px;">Upload your file here!</label>
|
||||
<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;">Submit</button>
|
||||
</form>
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
|
@ -56,7 +56,7 @@ $file_count = getFileCount($target_folder_path)
|
|||
<div class="row">
|
||||
<div class="col-sm-6 offset-sm-3 text-center" style="padding:15px;">
|
||||
|
||||
<img class="mb-4" src="unleash-kids-swing.png" alt="" width="75">
|
||||
<img class="mb-4" src="uk-swing.png" alt="" width="75">
|
||||
<h1 class="h3 mb-3 font-weight-normal">Internet in a Box Upload to USB</h1>
|
||||
<?php echo $upload_msg ?> <br/>
|
||||
<?php echo $file_count ?> files have been submitted today!
|
|
@ -16,6 +16,7 @@ function getTargetUSBDriveLocation () {
|
|||
if (empty($removable_usb_path)) {
|
||||
return "/library/www/html/local_content/";
|
||||
} else {
|
||||
// error_log ("REMOVABLE USB PATH: " . $removable_usb_path);
|
||||
return $removable_usb_path . "/";
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue