Initial commit
This commit is contained in:
commit
5ed6195cc1
41 changed files with 3429 additions and 0 deletions
16
views/redirect.blade.php
Normal file
16
views/redirect.blade.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
@extends('layout.master')
|
||||
|
||||
@section('content')
|
||||
<p>{{ $message }}</p>
|
||||
<p>You will be redirected to homepage in <span id="sec">10</span> seconds.</p>
|
||||
|
||||
<script>
|
||||
setInterval(function () {
|
||||
var sec = document.getElementById('sec');
|
||||
sec.textContent -= 1;
|
||||
if (sec.textContent == 0) {
|
||||
window.location = '/';
|
||||
}
|
||||
}, 1000);
|
||||
</script>
|
||||
@endsection
|
Loading…
Add table
Add a link
Reference in a new issue