This repository has been archived on 2025-02-20. You can view files and clone it, but cannot push or open issues or pull requests.
Files
cavecomm/templates/alias_Redirect.html
Tina_Azure 1a1908a814 Redirection template
Handle @alias via the redirection template
2023-04-05 02:24:42 +02:00

45 lines
991 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
</style>
</head>
<body>
<h1>Redirecting:</h1>
<script type="text/javascript">
function formAutoSubmit () {
var frm = document.getElementById("redirectBtn");
frm.click();
}
window.onload = formAutoSubmit;
</script>
<form action="/" method="post">
<button type="submit" class="button">Return to freelancer selection</button>
</form>
<form id="redirectForm" action="{{route}}" method="post">
<button id="redirectBtn" type="submit" name="{{routeparameter}}" value="{{routevalue}}" class="button">Redirecting to: {{route}}</button>
</form>
</body>
</html>