Estiliza pagina de upload externo

This commit is contained in:
rodrigo committed 2025-01-01 21:46:55 -03:00
1 parent 7b9f9c3f1c
commit 65651846f5
1 file changed
+46 -1
+46 -1
View File
@@ -3,6 +3,51 @@
<head>
<meta charset="UTF-8">
<title>Upload de Arquivos</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 500px;
text-align: center;
}
h2 {
margin-bottom: 20px;
color: #333;
}
label {
display: block;
margin-bottom: 10px;
color: #555;
}
input[type="file"] {
margin-bottom: 20px;
}
button {
background-color: #007bff;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}
button:hover {
background-color: #0056b3;
}
</style>
<script>
function addViewportDimensions() {
var form = document.getElementById('uploadForm');
@@ -70,7 +115,7 @@
<body>
<div class="container">
<h2>Upload de Arquivos</h2>
<form id="uploadForm" action="./prova/upload.php" method="post" enctype="multipart/form-data">
<form id="uploadForm" action="./upload.php" method="post" enctype="multipart/form-data">
<label for="files">Selecione os arquivos para autenticar:</label><br><br>
<input type="file" name="files[]" id="files" multiple required><br><br>
<button type="submit">Autenticar</button>