mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
javascript to auto redirect
This commit is contained in:
parent
54843c9200
commit
be5386f382
1 changed files with 7 additions and 3 deletions
|
@ -75,17 +75,21 @@ border: 1px solid;
|
|||
|
||||
<body>
|
||||
<br>
|
||||
<h3>If not redirected to Internet in a Box, <BR>Please click Continue Button.</h3>
|
||||
<h3>Redirecting to Internet in a Box ...</h3>
|
||||
<h3>If not redirected automatically, <BR>Please click Continue Button.</h3>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<form method='get' action='$authaction'>
|
||||
<form method='get' action='$authaction' name='redirectForm'>
|
||||
<input type='hidden' name='tok' value='$tok'>
|
||||
<input type='hidden' name='redir' value='http://{{ iiab_hostname }}.{{ iiab_domain }}{{ iiab_home_url }}'>
|
||||
<input type='submit' value='Continue to Internet in a Box'>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
<script type="text/javascript">
|
||||
setTimeout(function () {
|
||||
document.forms["redirectForm"].submit();
|
||||
}, 1000);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue