54 lines
1.3 KiB
PHP
54 lines
1.3 KiB
PHP
@extends('layout.front')
|
|
|
|
@section('container')
|
|
|
|
|
|
<div class="container mt-5 mb-5">
|
|
<div class="row d-flex justify-content-center">
|
|
<div class="col-lg-6">
|
|
<div class="card">
|
|
<div class="card-body text-center">
|
|
|
|
@if(Session::get('pesan') != NULL)
|
|
<div class="alert alert-danger" role="alert">
|
|
{{Session::get('pesan')}}
|
|
</div>
|
|
@endif
|
|
@php
|
|
Session::remove('pesan');
|
|
@endphp
|
|
|
|
<img src="{{asset('assets/bt4/logo-MasukSini.png')}}">
|
|
<h3>Verifikasi akun anda</h3>
|
|
<p>Silahkan masukkan token anda di form berikut</p>
|
|
<input type="text" id="token" class="form-control" placeholder="token">
|
|
<button class="btn btn-primary w-100 mt-3" id="send">Verivy Account</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
@endsection
|
|
|
|
@section('js')
|
|
|
|
<script>
|
|
|
|
var token = location.pathname.split('verify-user/')[1];
|
|
|
|
document.getElementById('send').addEventListener('click', function(){
|
|
|
|
var randomkey = document.getElementById('token').value;
|
|
|
|
location.href = '/verify-token-now/'+token+'/'+randomkey;
|
|
|
|
}, false)
|
|
|
|
|
|
|
|
</script>
|
|
|
|
@endsection |