update login & register
This commit is contained in:
@@ -37,17 +37,17 @@
|
|||||||
<form id="formAuthentication" class="mb-4" action="{{ route('auth.authenticate') }}" method="POST">
|
<form id="formAuthentication" class="mb-4" action="{{ route('auth.authenticate') }}" method="POST">
|
||||||
@csrf
|
@csrf
|
||||||
<div class="mb-6 form-control-validation">
|
<div class="mb-6 form-control-validation">
|
||||||
<label for="email" class="form-label">Email atau Username</label>
|
<label for="email" class="form-label">Email atau Nama Pengguna</label>
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
class="form-control"
|
class="form-control"
|
||||||
id="email"
|
id="email"
|
||||||
name="email_username"
|
name="email_username"
|
||||||
placeholder="Masukkan email atau username Anda"
|
placeholder="Masukkan email atau nama pengguna Anda"
|
||||||
autofocus />
|
autofocus />
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-6 form-password-toggle form-control-validation">
|
<div class="mb-6 form-password-toggle form-control-validation">
|
||||||
<label class="form-label" for="password">Password</label>
|
<label class="form-label" for="password">Kata Sandi</label>
|
||||||
<div class="input-group input-group-merge">
|
<div class="input-group input-group-merge">
|
||||||
<input
|
<input
|
||||||
type="password"
|
type="password"
|
||||||
@@ -63,15 +63,15 @@
|
|||||||
<div class="d-flex justify-content-between">
|
<div class="d-flex justify-content-between">
|
||||||
<div class="form-check mb-0 ms-2">
|
<div class="form-check mb-0 ms-2">
|
||||||
<input class="form-check-input" type="checkbox" id="remember-me" />
|
<input class="form-check-input" type="checkbox" id="remember-me" />
|
||||||
<label class="form-check-label" for="remember-me"> Remember Me </label>
|
<label class="form-check-label" for="remember-me"> Ingat saya </label>
|
||||||
</div>
|
</div>
|
||||||
<a href="auth-forgot-password-basic.html">
|
<a href="auth-forgot-password-basic.html">
|
||||||
<p class="mb-0">Lupa Password?</p>
|
<p class="mb-0">Lupa Kata Sandi?</p>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-6">
|
<div class="mb-6">
|
||||||
<button class="btn btn-primary d-grid w-100" type="submit">Login</button>
|
<button class="btn btn-primary d-grid w-100" type="submit">Masuk</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
@@ -8,32 +8,26 @@
|
|||||||
<span class="app-brand-logo demo">
|
<span class="app-brand-logo demo">
|
||||||
<span class="text-primary">
|
<span class="text-primary">
|
||||||
<svg width="32" height="24" viewBox="0 0 32 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="32" height="24" viewBox="0 0 32 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
|
||||||
<!-- Daun Kiri (Hijau transparan) -->
|
|
||||||
<path opacity="0.3"
|
<path opacity="0.3"
|
||||||
d="M16 2.5C16 2.5 5 6.5 5 15.5C5 20.5 11 23.5 16 23.5V2.5Z"
|
d="M16 2.5C16 2.5 5 6.5 5 15.5C5 20.5 11 23.5 16 23.5V2.5Z"
|
||||||
fill="#2E7D32" />
|
fill="#2E7D32" />
|
||||||
|
|
||||||
<!-- Daun Kanan (Hijau lebih solid) -->
|
|
||||||
<path opacity="0.6"
|
<path opacity="0.6"
|
||||||
d="M16 2.5C16 2.5 27 6.5 27 15.5C27 20.5 21 23.5 16 23.5V2.5Z"
|
d="M16 2.5C16 2.5 27 6.5 27 15.5C27 20.5 21 23.5 16 23.5V2.5Z"
|
||||||
fill="#2E7D32" />
|
fill="#2E7D32" />
|
||||||
|
|
||||||
<!-- Grafik Biru (bawah → tengah) -->
|
|
||||||
<path d="M2 19L10 11L15 15"
|
<path d="M2 19L10 11L15 15"
|
||||||
stroke="#0054A6"
|
stroke="#0054A6"
|
||||||
stroke-width="2.5"
|
stroke-width="2.5"
|
||||||
stroke-linecap="round"
|
stroke-linecap="round"
|
||||||
stroke-linejoin="round" />
|
stroke-linejoin="round" />
|
||||||
|
|
||||||
<!-- Grafik Merah (tengah → atas) -->
|
|
||||||
<path d="M15 15L27 4"
|
<path d="M15 15L27 4"
|
||||||
stroke="#ED1C24"
|
stroke="#ED1C24"
|
||||||
stroke-width="2.5"
|
stroke-width="2.5"
|
||||||
stroke-linecap="round"
|
stroke-linecap="round"
|
||||||
stroke-linejoin="round" />
|
stroke-linejoin="round" />
|
||||||
|
|
||||||
<!-- Titik target -->
|
|
||||||
<circle cx="27" cy="4" r="2.5" fill="#ED1C24" />
|
<circle cx="27" cy="4" r="2.5" fill="#ED1C24" />
|
||||||
</svg>
|
</svg>
|
||||||
</span>
|
</span>
|
||||||
@@ -45,20 +39,20 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<!-- /Logo -->
|
<!-- /Logo -->
|
||||||
<h4 class="mb-1">Adventure starts here 🚀</h4>
|
<h4 class="mb-1">Buat akun AgroMonev</h4>
|
||||||
<p class="mb-6">Make your app management easy and fun!</p>
|
<p class="mb-6">Lengkapi data berikut untuk membuat akun baru.</p>
|
||||||
|
|
||||||
<form id="formAuthentication" class="mb-6" action="{{ route('auth.createAccount') }}" method="POST">
|
<form id="formAuthentication" class="mb-6" action="{{ route('auth.createAccount') }}" method="POST">
|
||||||
@csrf
|
@csrf
|
||||||
<div class="mb-6 form-control-validation">
|
<div class="mb-6 form-control-validation">
|
||||||
<label for="username" class="form-label">Username</label>
|
<label for="username" class="form-label">Nama Pengguna</label>
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
class="form-control"
|
class="form-control"
|
||||||
id="username"
|
id="username"
|
||||||
name="username"
|
name="username"
|
||||||
value="{{ old('username') }}"
|
value="{{ old('username') }}"
|
||||||
placeholder="Enter your username"
|
placeholder="Masukkan nama pengguna"
|
||||||
autofocus />
|
autofocus />
|
||||||
@error('username')
|
@error('username')
|
||||||
<div class="invalid-feedback d-block">{{ $message }}</div>
|
<div class="invalid-feedback d-block">{{ $message }}</div>
|
||||||
@@ -66,13 +60,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="mb-6 form-control-validation">
|
<div class="mb-6 form-control-validation">
|
||||||
<label for="email" class="form-label">Email</label>
|
<label for="email" class="form-label">Email</label>
|
||||||
<input type="text" class="form-control" id="email" name="email" value="{{ old('email') }}" placeholder="Enter your email" />
|
<input type="text" class="form-control" id="email" name="email" value="{{ old('email') }}" placeholder="Masukkan email" />
|
||||||
@error('email')
|
@error('email')
|
||||||
<div class="invalid-feedback d-block">{{ $message }}</div>
|
<div class="invalid-feedback d-block">{{ $message }}</div>
|
||||||
@enderror
|
@enderror
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-6 form-password-toggle form-control-validation">
|
<div class="mb-6 form-password-toggle form-control-validation">
|
||||||
<label class="form-label" for="password">Password</label>
|
<label class="form-label" for="password">Kata Sandi</label>
|
||||||
<div class="input-group input-group-merge">
|
<div class="input-group input-group-merge">
|
||||||
<input
|
<input
|
||||||
type="password"
|
type="password"
|
||||||
@@ -88,7 +82,7 @@
|
|||||||
@enderror
|
@enderror
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-6 form-password-toggle form-control-validation">
|
<div class="mb-6 form-password-toggle form-control-validation">
|
||||||
<label class="form-label" for="password_confirmation">Confirm Password</label>
|
<label class="form-label" for="password_confirmation">Konfirmasi Kata Sandi</label>
|
||||||
<div class="input-group input-group-merge">
|
<div class="input-group input-group-merge">
|
||||||
<input
|
<input
|
||||||
type="password"
|
type="password"
|
||||||
@@ -104,23 +98,23 @@
|
|||||||
<div class="form-check mb-0 ms-2">
|
<div class="form-check mb-0 ms-2">
|
||||||
<input class="form-check-input" type="checkbox" id="terms-conditions" name="terms" />
|
<input class="form-check-input" type="checkbox" id="terms-conditions" name="terms" />
|
||||||
<label class="form-check-label" for="terms-conditions">
|
<label class="form-check-label" for="terms-conditions">
|
||||||
I agree to
|
Saya menyetujui
|
||||||
<a href="javascript:void(0);">privacy policy & terms</a>
|
<a href="javascript:void(0);">kebijakan privasi dan ketentuan layanan</a>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-primary d-grid w-100">Sign up</button>
|
<button type="submit" class="btn btn-primary d-grid w-100">Daftar</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<p class="text-center">
|
<p class="text-center">
|
||||||
<span>Already have an account?</span>
|
<span>Sudah memiliki akun?</span>
|
||||||
<a href="{{ route('login') }}">
|
<a href="{{ route('login') }}">
|
||||||
<span>Sign in instead</span>
|
<span>Masuk di sini</span>
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="divider my-6">
|
<div class="divider my-6">
|
||||||
<div class="divider-text">or</div>
|
<div class="divider-text">atau</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="d-flex justify-content-center">
|
<div class="d-flex justify-content-center">
|
||||||
|
|||||||
Reference in New Issue
Block a user