pipi
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||
use Illuminate\Notifications\Notifiable;
|
||||
|
||||
class User extends Authenticatable
|
||||
class User extends Authenticatable implements MustVerifyEmail
|
||||
{
|
||||
use HasFactory, Notifiable;
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 87 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 121 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 92 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
@@ -3,8 +3,8 @@
|
||||
@section('content')
|
||||
{{-- @include('layouts.headers.guest') --}}
|
||||
|
||||
<div class="user-login-5">
|
||||
<div class="row" style="max-width:100%;">
|
||||
<div class="user-login-5" style="max-width:100%;">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="container text-center mt-7">
|
||||
<img class="login-logo login-6" src="{{ asset('argon') }}/login/logo_arrahn_baru.png">
|
||||
@@ -71,11 +71,42 @@
|
||||
|
||||
<br>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div>
|
||||
<div >
|
||||
<img class="login-bg" src="{{ asset('argon') }}/login/bg3.jpg">
|
||||
</div>
|
||||
<div class="col-md-6 col-xl-6" style="padding:0 !important;max-width:100% !important;" >
|
||||
{{-- <img class="login-bg" src="{{ asset('argon') }}/login/bg3.jpg"> --}}
|
||||
|
||||
|
||||
<!-- Slideshow container -->
|
||||
<div class="slideshow-container">
|
||||
|
||||
<!-- Full-width images with number and caption text -->
|
||||
<div class="mySlides ">
|
||||
<div class="numbertext">1 / 3</div>
|
||||
<img class="login-bg" src="{{ asset('argon') }}/login/backg1.jpg" style="width:100%">
|
||||
<div class="text">Caption Text</div>
|
||||
</div>
|
||||
|
||||
<div class="mySlides ">
|
||||
<div class="numbertext">2 / 3</div>
|
||||
<img class="login-bg" src="{{ asset('argon') }}/login/backg2.jpg" style="width:100%">
|
||||
<div class="text">Caption Two</div>
|
||||
</div>
|
||||
|
||||
<div class="mySlides ">
|
||||
<div class="numbertext">3 / 3</div>
|
||||
<img class="login-bg" src="{{ asset('argon') }}/login/backg3.jpg" style="width:100%">
|
||||
<div class="text">Caption Three</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<br>
|
||||
|
||||
{{-- <!-- The dots/circles -->
|
||||
<div style="text-align:center">
|
||||
<span class="dot" onclick="currentSlide(1)"></span>
|
||||
<span class="dot" onclick="currentSlide(2)"></span>
|
||||
<span class="dot" onclick="currentSlide(3)"></span>
|
||||
</div> --}}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -144,6 +175,21 @@
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
var slideIndex = 0;
|
||||
showSlides();
|
||||
|
||||
function showSlides() {
|
||||
var i;
|
||||
var slides = document.getElementsByClassName("mySlides");
|
||||
for (i = 0; i < slides.length; i++) {
|
||||
slides[i].style.display = "none";
|
||||
}
|
||||
slideIndex++;
|
||||
if (slideIndex > slides.length) {slideIndex = 1}
|
||||
slides[slideIndex-1].style.display = "block";
|
||||
setTimeout(showSlides, 10000); // Change image every 2 seconds
|
||||
}
|
||||
</script>
|
||||
<!-- END : LOGIN PAGE 5-2 -->
|
||||
<!--[if lt IE 9]>
|
||||
|
||||
@@ -17,21 +17,20 @@
|
||||
<div class="form-group {{ $errors->has('otp') ? ' has-danger' : '' }}">
|
||||
<input placeholder="One-Time-Password" class="form-control{{ $errors->has('otp') ? ' is-invalid' : '' }}" type="text" name="otp" value="{{ old('otp') }}" id="login-otp" required autofocus aria-required="true">
|
||||
</div>
|
||||
@if ($errors->has('otp'))
|
||||
<span class="invalid-feedback" style="display: block;" role="alert">
|
||||
<strong>{{ $errors->first('otp') }}</strong>
|
||||
<span id="spanotp" class="text-danger" role="alert">
|
||||
<strong id="errorotp"></strong>
|
||||
</span>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
<div class="col-xs-6 col-xl-6">
|
||||
<div class="form-group {{ $errors->has('icno') ? ' has-danger' : '' }}">
|
||||
<input type="text" placeholder="Nombor Kad Pengenalan" class="form-control{{ $errors->has('icno') ? ' is-invalid' : '' }}" id="login-icno" name="icno" required aria-required="true">
|
||||
</div>
|
||||
@if ($errors->has('icno'))
|
||||
<span class="invalid-feedback" style="display: block;" role="alert">
|
||||
<strong>{{ $errors->first('icno') }}</strong>
|
||||
|
||||
<span id="spanic" class="text-danger invisible" role="alert">
|
||||
<strong id="erroricno">ss</strong>
|
||||
</span>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -40,7 +39,7 @@
|
||||
|
||||
</div>
|
||||
<div class="col-sm-8 col-xs-6 text-right">
|
||||
<button class="btn btn-success login pull-right" type="button" onclick="checkpelanggan();">Seterusnya</button>
|
||||
<button id="seterusbtn" class="btn btn-success login pull-right" type="button" onclick="checkpelanggan();">Seterusnya</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -174,8 +173,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<span class="text-danger text-xl-center font-weight-bold">*Diminta untuk semak maklumat pelanggan terlebih dahulu!</span><br>
|
||||
<button type="submit" class="btn btn-success mt-2">Betul</button>
|
||||
<button type="button" class="btn btn-danger mt-2" onclick="$('#makpel').addClass('invisible');$('#makpel').removeClass('visible');">Salah</button>
|
||||
<button id="betulbtn" type="submit" class="btn btn-success mt-2">Betul</button>
|
||||
<button type="button" class="btn btn-danger mt-2" onclick="backfunc()">Salah</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@@ -238,6 +237,21 @@
|
||||
var otp_verify = $('#login-otp').val();
|
||||
var otp_icno = $('#login-icno').val();
|
||||
|
||||
if(otp_verify == null || otp_verify == '')
|
||||
{
|
||||
console.log('tiada otp');
|
||||
$('#errorotp').text('sila isikan otp anda!');
|
||||
$('#spanotp').addClass('visible');
|
||||
$('#spanotp').removeClass('invisible');
|
||||
}
|
||||
|
||||
if(otp_icno == null || otp_icno == '')
|
||||
{
|
||||
$('#erroricno').text('sila isikan icno anda!');
|
||||
$('#spanic').addClass('visible');
|
||||
$('#spanic').removeClass('invisible');
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url:'http://localhost:8000/api/otp/check/'+ otp_verify,
|
||||
method:'GET',
|
||||
@@ -275,6 +289,12 @@
|
||||
});
|
||||
|
||||
|
||||
$('#spanic').addClass('invisible');
|
||||
$('#spanic').removeClass('visible');
|
||||
$('#spanic').addClass('invisible');
|
||||
$('#spanic').removeClass('visible');
|
||||
$("#seterusbtn").prop("disabled",true);
|
||||
|
||||
$('#makpel').addClass('visible');
|
||||
$('#makpel').removeClass('invisible');
|
||||
|
||||
@@ -288,6 +308,13 @@
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
function backfunc()
|
||||
{
|
||||
$('#makpel').addClass('invisible');
|
||||
$('#makpel').removeClass('visible');
|
||||
$("#seterusbtn").prop("disabled",false);
|
||||
}
|
||||
|
||||
// $('body').on('click', '.loading', function() {
|
||||
|
||||
@@ -36,8 +36,6 @@
|
||||
<script src="{{ asset('argon') }}/js/bootstrap-notify.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
<style>
|
||||
div.checker span {
|
||||
background-image: url("assets/global/plugins/uniform/images/sprite.png");
|
||||
}
|
||||
@@ -105,9 +103,76 @@
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
* {box-sizing: border-box;}
|
||||
.mySlides {display: none;}
|
||||
img {vertical-align: middle;}
|
||||
|
||||
</style>
|
||||
/* Slideshow container */
|
||||
.slideshow-container {
|
||||
max-width: 1000px;
|
||||
position: relative;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
/* Caption text */
|
||||
.text {
|
||||
color: #f2f2f2;
|
||||
font-size: 15px;
|
||||
padding: 8px 12px;
|
||||
position: absolute;
|
||||
bottom: 8px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Number text (1/3 etc) */
|
||||
.numbertext {
|
||||
color: #f2f2f2;
|
||||
font-size: 12px;
|
||||
padding: 8px 12px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
/* The dots/bullets/indicators */
|
||||
.dot {
|
||||
height: 15px;
|
||||
width: 15px;
|
||||
margin: 0 2px;
|
||||
background-color: #bbb;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
transition: background-color 0.6s ease;
|
||||
}
|
||||
|
||||
.active {
|
||||
background-color: #717171;
|
||||
}
|
||||
|
||||
/* Fading animation */
|
||||
.fade {
|
||||
-webkit-animation-name: fade;
|
||||
-webkit-animation-duration: 1.5s;
|
||||
animation-name: fade;
|
||||
animation-duration: 1.5s;
|
||||
}
|
||||
|
||||
@-webkit-keyframes fade {
|
||||
from {opacity: .4}
|
||||
to {opacity: 1}
|
||||
}
|
||||
|
||||
@keyframes fade {
|
||||
from {opacity: .4}
|
||||
to {opacity: 1}
|
||||
}
|
||||
|
||||
/* On smaller screens, decrease text size */
|
||||
@media only screen and (max-width: 300px) {
|
||||
.text {font-size: 11px}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
+2
-3
@@ -19,7 +19,7 @@ Route::get('/', function () {
|
||||
|
||||
|
||||
Route::get('/home', [App\Http\Controllers\HomeController::class, 'index'])->name('home');
|
||||
Auth::routes();
|
||||
Auth::routes(['verify' => true]);
|
||||
|
||||
Route::get('/home', 'App\Http\Controllers\HomeController@index')->name('home');
|
||||
|
||||
@@ -34,7 +34,6 @@ Route::group(['middleware' => 'auth'], function () {
|
||||
Route::put('profile/password', ['as' => 'profile.password', 'uses' => 'App\Http\Controllers\ProfileController@password']);
|
||||
});
|
||||
|
||||
Auth::routes();
|
||||
|
||||
Route::get('/home', 'App\Http\Controllers\HomeController@index')->name('home');
|
||||
|
||||
@@ -42,7 +41,7 @@ Route::get('/home', 'App\Http\Controllers\HomeController@index')->name('home');
|
||||
Route::get('/authenticateregister', 'App\Http\Controllers\Auth\RegisterController@firsttimer')->name('auth.registerfirst');
|
||||
Route::post('/registering', 'App\Http\Controllers\Auth\RegisterController@tempatregister')->name('auth.tempatregister');
|
||||
|
||||
Route::group(['middleware' => 'auth'], function () {
|
||||
Route::group(['middleware' => 'auth','verified'], function () {
|
||||
|
||||
Route::get('/semaksag', 'App\Http\Controllers\SemakController@SemakSAG')->name('semaksag');
|
||||
Route::post('/senaraisag', 'App\Http\Controllers\SemakController@SenaraiSAG')->name('senaraisag');
|
||||
|
||||
Reference in New Issue
Block a user