initial
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
include 'config.php';
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Upload Database Dump</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header>
|
||||
<h1>Upload Database Dump</h1>
|
||||
</header>
|
||||
<div class="upload-form">
|
||||
<form action="upload_handler.php" method="post" enctype="multipart/form-data">
|
||||
<label for="db_identifier">Database Identifier:</label>
|
||||
<select name="db_identifier" id="db_identifier" required>
|
||||
<?php
|
||||
foreach ($fullNames as $identifier => $fullName) {
|
||||
echo "<option value='$identifier'>$fullName</option>";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<label for="file">Select archive file (.tar.gz):</label>
|
||||
<input type="file" name="file" id="file" accept=".tar.gz" required>
|
||||
<button type="submit">Upload</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user