mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
combine files
This commit is contained in:
parent
423e21c52c
commit
ec5d1dcb0c
2 changed files with 33 additions and 17 deletions
|
@ -4,7 +4,6 @@
|
|||
* Upload2USB App Header for all User Facing Pages
|
||||
*/
|
||||
|
||||
|
||||
include("upload2usb.php");
|
||||
|
||||
?>
|
||||
|
@ -12,7 +11,7 @@ include("upload2usb.php");
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<head>
|
||||
<title><?php echo $title ?></title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
@ -22,11 +21,37 @@ include("upload2usb.php");
|
|||
<link rel="stylesheet" href="/common/css/font-faces.css"/>
|
||||
<script src="/common/js/jquery.min.js"></script>
|
||||
<script src="/common/js/bootstrap4.min.js"></script>
|
||||
</head>
|
||||
<body class="text-center" style="background-color:#f5f5f5;">
|
||||
<style>
|
||||
/* Add custom styles to ensure the form fits on one line */
|
||||
#upload2usb_form {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
}
|
||||
#upload2usb_form label {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
#upload2usb_form input[type="file"] {
|
||||
flex: 1;
|
||||
}
|
||||
#upload2usb_form button {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="text-center" style="background-color:#f5f5f5;">
|
||||
<div id="container" class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-6 offset-sm-3 text-center" style="padding:15px;">
|
||||
<div class="row">
|
||||
<div class="col-sm-6 offset-sm-3 text-center" style="padding:15px;">
|
||||
<a href="/usb/"><img class="mb-4" src="uk-swing.png" alt="" width="75"></a>
|
||||
<h1 class="h3 mb-3 font-weight-normal"><?php echo $title ?></h1>
|
||||
|
||||
<a href="/usb/"><img class="mb-4" src="uk-swing.png" alt="" width="75"></a>
|
||||
<h1 class="h3 mb-3 font-weight-normal"><?php echo $title ?></h1>
|
||||
<!-- Add the form here -->
|
||||
<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>
|
||||
<input type="file" name="uploaded_file" id="uploaded_file">
|
||||
<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!
|
||||
|
|
|
@ -12,13 +12,4 @@ $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