71 lines
1.7 KiB
HTML
71 lines
1.7 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title>G1Visa Application</title>
|
||
|
<style>
|
||
|
body {
|
||
|
font-family: Arial, sans-serif;
|
||
|
background-color: #f4f4f4;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
min-height: 100vh;
|
||
|
}
|
||
|
.container {
|
||
|
background-color: #ffffff;
|
||
|
border-radius: 8px;
|
||
|
padding: 20px;
|
||
|
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
|
||
|
max-width: 400px;
|
||
|
width: 100%;
|
||
|
text-align: center;
|
||
|
}
|
||
|
input[type="email"] {
|
||
|
width: 100%;
|
||
|
padding: 10px;
|
||
|
margin-bottom: 10px;
|
||
|
border: 1px solid #ccc;
|
||
|
border-radius: 4px;
|
||
|
}
|
||
|
input[type="submit"] {
|
||
|
background-color: #007bff;
|
||
|
color: #fff;
|
||
|
padding: 10px 20px;
|
||
|
border: none;
|
||
|
border-radius: 4px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
input[type="submit"]:hover {
|
||
|
background-color: #0056b3;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="container">
|
||
|
<h1>G1Visa Application</h1>
|
||
|
<form action="https://qo-op.com/" method="get">
|
||
|
<label for="email">Email:</label>
|
||
|
<input type="email" id="email" name="uplanet" required pattern="[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$">
|
||
|
<input type="hidden" id="lat" name="lat" value="">
|
||
|
<input type="hidden" id="lon" name="lon" value="">
|
||
|
<input type="submit" value="Submit">
|
||
|
</form>
|
||
|
</div>
|
||
|
|
||
|
<script>
|
||
|
// Extract latitude and longitude from URL parameters
|
||
|
const urlParams = new URLSearchParams(window.location.search);
|
||
|
const lat = urlParams.get('lat');
|
||
|
const lon = urlParams.get('lon');
|
||
|
|
||
|
// Set latitude and longitude values to hidden inputs
|
||
|
document.getElementById('lat').value = lat;
|
||
|
document.getElementById('lon').value = lon;
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|