ibnu
1 year ago
29 changed files with 1117 additions and 520 deletions
@ -0,0 +1,107 @@
|
||||
<?php |
||||
|
||||
namespace App\Http\Controllers; |
||||
|
||||
use App\Models\m_warehouse; |
||||
use Illuminate\Http\Request; |
||||
use Illuminate\Support\Facades\Auth; |
||||
|
||||
class WarehouseController extends Controller |
||||
{ |
||||
/** |
||||
* Display a listing of the resource. |
||||
*/ |
||||
public function index() |
||||
{ |
||||
$warehouses = m_warehouse::all(); |
||||
return view('MasterData.warehouse', compact('warehouses')); |
||||
} |
||||
/** |
||||
* Show the form for creating a new resource. |
||||
*/ |
||||
public function create() |
||||
{ |
||||
// |
||||
} |
||||
|
||||
/** |
||||
* Store a newly created resource in storage. |
||||
*/ |
||||
public function store(Request $request) |
||||
{ |
||||
// dd('oke'); |
||||
// dd($request); |
||||
$request->validate([ |
||||
'name' => 'required', |
||||
'description' => 'required', |
||||
'address' => 'required', |
||||
]); |
||||
try { |
||||
$currentUser = Auth::user(); |
||||
$validatedData = $request->except('_token'); |
||||
$validatedData['created_by'] = $currentUser->fullname; // Menggunakan nama pengguna sebagai created_by |
||||
$validatedData['updated_by'] = $currentUser->fullname; // Menggunakan nama pengguna sebagai updated_by |
||||
m_warehouse::create($validatedData); |
||||
return redirect()->back()->with('success', 'Data gudang berhasil ditambah.'); |
||||
} catch (\Throwable $th) { |
||||
return redirect()->back()->with('error', 'Data gudang gagal ditambah.'); |
||||
} |
||||
return redirect()->back()->with('success', 'Data gudang berhasil ditambah.'); |
||||
} |
||||
|
||||
/** |
||||
* Display the specified resource. |
||||
*/ |
||||
public function show($id) |
||||
{ |
||||
// dd('oke'); |
||||
} |
||||
|
||||
/** |
||||
* Show the form for editing the specified resource. |
||||
*/ |
||||
public function edit() |
||||
{ |
||||
// dd('oke'); |
||||
} |
||||
|
||||
/** |
||||
* Update the specified resource in storage. |
||||
*/ |
||||
public function update(Request $request, $id) |
||||
{ |
||||
// dd('oke'); |
||||
$request->validate([ |
||||
'name' => 'required', |
||||
'description' => 'required', |
||||
'address' => 'required', |
||||
]); |
||||
// dd($request); |
||||
try { |
||||
$warehouse = m_warehouse::findOrFail($id); |
||||
$warehouse->update($request->all()); |
||||
|
||||
// Menambahkan nama pengguna yang melakukan pembaruan |
||||
$userData['updated_by'] = Auth::user()->fullname; |
||||
|
||||
return redirect()->back()->with('success', 'Data Gudang Berhasil Diperbaharui'); |
||||
} catch (\Throwable $th) { |
||||
return redirect()->back()->with('error', 'Data Gudang Gagal Diperbaharui'); |
||||
} |
||||
} |
||||
|
||||
/** |
||||
* Remove the specified resource from storage. |
||||
*/ |
||||
public function destroy($id) |
||||
{ |
||||
// dd("oke"); |
||||
try { |
||||
$asset = m_warehouse::findOrFail($id); |
||||
$asset->delete(); |
||||
return redirect()->back()->with('success', 'Data Gudang berhasil dihapus'); |
||||
} catch (\Throwable $th) { |
||||
return redirect()->back()->with('error', 'Data Gudang gagal dihapus'); |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,61 @@
|
||||
@extends('layouts.main') |
||||
@section('title', 'Setting Platform') |
||||
@section('content') |
||||
<div class="container-fluid"> |
||||
|
||||
<div class="card"> |
||||
<div class="card-body"> |
||||
<h1 class="h3 mb-1 text-gray-800 mb-3">Detail Asset</h1> |
||||
<hr class="border"> |
||||
<div class="form-group"> |
||||
<label for="name" class="col-form-label">Nama Asset:</label> |
||||
<input class="form-control" name="name" type="text" id="name" value="{{ $asset->name }}" |
||||
placeholder="Masukan Nama Asset" required readonly> |
||||
|
||||
<label for="description" class="col-form-label">Deskripsi Asset:</label> |
||||
<textarea class="form-control" name="description" id="description" placeholder="Masukkan Deskripsi Asset" required |
||||
readonly>{{ $asset->description }}</textarea> |
||||
|
||||
<label for="qr_count" class="col-form-label">QR:</label> |
||||
<div> |
||||
{{-- <img src="{{ asset($asset->qr_count) }}" alt="QR Code" /> --}} |
||||
{!! QrCode::size(75)->generate( |
||||
'Name: ' . |
||||
$asset->name . |
||||
"\n" . |
||||
'Description: ' . |
||||
$asset->description . |
||||
"\n" . |
||||
'QR Code: ' . |
||||
$asset->qr_count . |
||||
"\n" . |
||||
'Date: ' . |
||||
$asset->date . |
||||
"\n" . |
||||
'Warehouse ID: ' . |
||||
$asset->warehouse_id, |
||||
) !!} |
||||
|
||||
</div> |
||||
|
||||
<label for="date" class="col-form-label">Tanggal:</label> |
||||
<input class="form-control" name="date" type="date" id="date" |
||||
value="{{ \Carbon\Carbon::parse($asset->date)->format('Y-m-d') }}" |
||||
placeholder="Masukan Tanggal Asset" required readonly> |
||||
|
||||
<label for="warehouse_id" class="col-form-label">Gudang:</label> |
||||
<select class="form-control" name="warehouse_id" id="warehouse_id" disabled> |
||||
<option disabled selected>Pilih Asal Gudang</option> |
||||
@foreach ($warehouse as $data_warehouse) |
||||
<option value="{{ $data_warehouse->id }}" |
||||
@if ($data_warehouse->id == $asset->warehouse_id) selected |
||||
@else @endif> |
||||
{{ $data_warehouse->name }}</option> |
||||
@endforeach |
||||
</select> |
||||
</div> |
||||
<a href="{{ route('asset.index') }}" class="btn btn-primary ">Kembali</a> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
@endsection |
@ -0,0 +1,147 @@
|
||||
@extends('layouts.main') |
||||
@section('title', 'Manajemen User') |
||||
@section('content') |
||||
{{-- <h1>Halaman Manajement User</h1> --}} |
||||
<div class="container-fluid"> |
||||
<!-- <h1 class="h3 mb-2 text-gray-800">Tabel User</h1> |
||||
<div class="mb-4"> |
||||
<p>Our User Tables are enhanced with the help of the DataTables plugin. This is a powerful tool that allows you |
||||
to explore return data in a more interactive and efficient way</p> |
||||
{{-- <a href="#" class="btn btn-success btn-icon-split" data-toggle="modal" data-target="#tambahDataModal"> |
||||
<span class="text">+ Tambah data</span> --}} |
||||
</a> |
||||
</div> --> |
||||
<div class="card shadow mb-4"> |
||||
<div class="card-header py-3"> |
||||
<div class="row"> |
||||
<div class="col-6"> |
||||
<h5 class="m-0 font-weight-bold text-primary mt-2">Data User</h5> |
||||
</div> |
||||
<div class="col-6 text-right"> |
||||
<a href="#" class="btn btn-success btn-icon-split" data-toggle="modal" |
||||
data-target="#tambahDataModal"> |
||||
<span class="text">+ Tambah data</span> |
||||
</a> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div class="card-body"> |
||||
<div class="table-responsive"> |
||||
<table class="table table-bordered" id="tablebarang" width="100%" cellspacing="0"> |
||||
<thead> |
||||
<tr> |
||||
<th>No</th> |
||||
<th>Nama</th> |
||||
<th>Email</th> |
||||
<th>No. HP</th> |
||||
<th>Alamat</th> |
||||
<th>Ditugaskan</th> |
||||
<th class="text-center">Action</th> |
||||
</tr> |
||||
</thead> |
||||
<tfoot> |
||||
<tr> |
||||
<th>No</th> |
||||
<th>Nama</th> |
||||
<th>Email</th> |
||||
<th>No. HP</th> |
||||
<th>Alamat</th> |
||||
<th>Ditugaskan</th> |
||||
<th class="text-center">Action</th> |
||||
</tr> |
||||
</tfoot> |
||||
<tbody> |
||||
@php |
||||
$noUser = 1; |
||||
@endphp |
||||
@forelse ($user as $data) |
||||
<tr> |
||||
<td class="text-center">{{ $noUser++ }}</td> |
||||
<td>{{ $data->fullname }}</td> |
||||
<td>{{ $data->email }}</td> |
||||
<td>{{ isset($data->no_hp) ? $data->no_hp : '-' }}</td> |
||||
<td>{{ isset($data->address) ? $data->address : '-' }}</td> |
||||
<td>{{ $data->warehouse->name }}</td> |
||||
<td class="text-center"> |
||||
<a href="{{ route('user.show', [$data->id]) }}"> |
||||
<i class="fa fa-edit mr-2" style="font-size: 20px"></i> |
||||
</a> |
||||
<a href="{{ route('hapusUser.destroy', $data->id) }}" |
||||
onclick="return confirm('Apakah Anda yakin ingin menghapus data ini?')"> |
||||
<i class="fa fa-trash text-danger mr-2" style="font-size: 20px"></i> |
||||
</a> |
||||
</td> |
||||
</tr> |
||||
@empty |
||||
<p>Data Kosong</p> |
||||
@endforelse |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
<!-- Modal Tambah Asset--> |
||||
<div class="modal fade" id="tambahDataModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" |
||||
aria-hidden="true"> |
||||
<div class="modal-dialog" role="document"> |
||||
<div class="modal-content"> |
||||
<div class="modal-header"> |
||||
<h5 class="modal-title" id="exampleModalLabel">Tambah Data</h5> |
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> |
||||
<span aria-hidden="true">×</span> |
||||
</button> |
||||
</div> |
||||
<div class="modal-body"> |
||||
<form action="{{ route('user.store') }}" method="POST" enctype="multipart/form-data"> |
||||
@csrf |
||||
<div class="form-group"> |
||||
<label for="username" class="col-form-label">Username:</label> |
||||
<input class="form-control" name="username" type="text" id="username" |
||||
value="{{ old('username') }}" placeholder="Masukan Username user" required> |
||||
|
||||
<label for="fullname" class="col-form-label">Nama Lengkap:</label> |
||||
<input class="form-control" name="fullname" type="text" id="fullname" |
||||
value="{{ old('fullname') }}" placeholder="Masukan Nama Lengkap user" pattern="[^0-9]+" |
||||
oninput="this.value=this.value.replace(/[0-9]/g,'');" required> |
||||
|
||||
<label for="email" class="col-form-label">Email:</label> |
||||
<input class="form-control" name="email" type="email" id="email" |
||||
value="{{ old('email') }}" placeholder="Masukan email user" required> |
||||
|
||||
<label for="divisi" class="col-form-label">Divisi:</label> |
||||
<input class="form-control" name="divisi" type="text" id="divisi" |
||||
value="{{ old('divisi') }}" placeholder="Masukan Divisi user" pattern="[^0-9]+" |
||||
oninput="this.value=this.value.replace(/[0-9]/g,'');" required> |
||||
|
||||
<label for="role_id" class="col-form-label">Hak Akses:</label> |
||||
<select class="form-control" name="role_id" id="role_id" required> |
||||
<option disabled selected>Pilih Hak Akses User</option> |
||||
@foreach ($role as $dt_role) |
||||
<option value="{{ $dt_role->id }}">{{ $dt_role->name }}</option> |
||||
@endforeach |
||||
</select> |
||||
|
||||
<label for="warehouse_id" class="col-form-label">Ditugaskan:</label> |
||||
<select class="form-control" name="warehouse_id" id="warehouse_id" required> |
||||
<option disabled selected>Pilih Hak Akses User</option> |
||||
@foreach ($warehouse as $dt_warehouse) |
||||
<option value="{{ $dt_warehouse->id }}">{{ $dt_warehouse->name }}</option> |
||||
@endforeach |
||||
</select> |
||||
|
||||
<label for="password" class="col-form-label">Password:</label> |
||||
<input class="form-control" name="password" type="text" id="password" |
||||
value="{{ old('password') }}" placeholder="Masukan password user" required> |
||||
</div> |
||||
<div class="modal-footer"> |
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Tutup</button> |
||||
<button type="submit" class="btn btn-primary">Simpan</button> |
||||
</div> |
||||
</form> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
@endsection |
@ -0,0 +1,151 @@
|
||||
@extends('layouts.main') |
||||
@section('title', 'Update Data User') |
||||
@section('content') |
||||
<div class="container-fluid"> |
||||
<div class="card shadow mb-4"> |
||||
<div class="card-header py-3"> |
||||
<div class="row"> |
||||
<div class="col-6"> |
||||
<h5 class="m-0 font-weight-bold text-primary mt-2">Data Asset</h5> |
||||
</div> |
||||
<div class="col-6 text-right"> |
||||
<a href="#" class="btn btn-success btn-icon-split" data-toggle="modal" |
||||
data-target="#tambahDataModal"> |
||||
<span class="text">+ Tambah data</span> |
||||
</a> |
||||
{{-- <a href="{{ route('assetcetakpdf.cetakpdf') }}" class="btn btn-success btn-icon-split ml-auto" |
||||
target="_blank"> |
||||
<span class="text">Cetak PDF</span> |
||||
</a> |
||||
<a href="{{ route('assetexport.export') }}" class="btn btn-info btn-icon-split ml-auto" |
||||
target="_blank"> |
||||
<span class="text">Cetak Exel</span> --}} |
||||
</a> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div class="card-body"> |
||||
<div class="table-responsive"> |
||||
<table class="table table-bordered" id="tablebarang" width="100%" cellspacing="0"> |
||||
<thead> |
||||
<tr> |
||||
<th class="text-center" style="width: 50px;">No.</th> |
||||
<th>Nama</th> |
||||
<th>Deskripsi</th> |
||||
<th>Alamat</th> |
||||
<th class="text-center">Action</th> |
||||
</tr> |
||||
</thead> |
||||
<tfoot> |
||||
<tr> |
||||
<th class="text-center" style="width: 50px;">No.</th> |
||||
<th>Nama</th> |
||||
<th>Deskripsi</th> |
||||
<th>Alamat</th> |
||||
<th class="text-center">Action</th> |
||||
</tr> |
||||
</tfoot> |
||||
<tbody> |
||||
@php |
||||
$nowarehouses = 1; |
||||
@endphp |
||||
@foreach ($warehouses as $data) |
||||
<tr> |
||||
<td class="text-center" style="width: 50px;">{{ $nowarehouses++ }}</td> |
||||
<td>{{ $data->name }}</td> |
||||
<td>{{ $data->description }}</td> |
||||
<td>{{ $data->address }}</td> |
||||
<td class="text-center"> |
||||
<a href="#" data-toggle="modal" |
||||
data-target="#editDataModal{{ $data['id'] }}"> |
||||
<i class="fa fa-edit mr-2" style="font-size: 20px"></i> |
||||
</a> |
||||
<a href="{{ route('hapuswarehouse.destroy', $data->id) }}" |
||||
onclick="return confirm('Apakah Anda yakin ingin menghapus data ini?')"> |
||||
<i class="fa fa-trash text-danger mr-2" style="font-size: 20px"></i> |
||||
</a> |
||||
</td> |
||||
</tr> |
||||
@endforeach |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
|
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
<!-- Modal Tambah--> |
||||
<div class="modal fade" id="tambahDataModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" |
||||
aria-hidden="true"> |
||||
<div class="modal-dialog" role="document"> |
||||
<div class="modal-content"> |
||||
<div class="modal-header"> |
||||
<h5 class="modal-title" id="exampleModalLabel">Tambah Data</h5> |
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> |
||||
<span aria-hidden="true">×</span> |
||||
</button> |
||||
</div> |
||||
<div class="modal-body"> |
||||
<form action="{{ route('warehouse.store') }}" method="POST" enctype="multipart/form-data"> |
||||
@csrf |
||||
<div class="form-group"> |
||||
<label for="name" class="col-form-label">Nama:</label> |
||||
<input class="form-control" name="name" type="text" id="name" |
||||
value="{{ old('name') }}" placeholder="Masukan Nama Gudang" required> |
||||
|
||||
<label for="description" class="col-form-label">Deskripsi:</label> |
||||
<textarea class="form-control" name="description" id="description" placeholder="Masukkan Deskripsi Gudang" required>{{ old('description') }}</textarea> |
||||
|
||||
<label for="address" class="col-form-label">Alamat:</label> |
||||
<textarea class="form-control" name="address" id="address" placeholder="Masukkan Alamat Gudang" required>{{ old('address') }}</textarea> |
||||
</div> |
||||
<div class="modal-footer"> |
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Tutup</button> |
||||
<button type="submit" class="btn btn-primary">Simpan</button> |
||||
</div> |
||||
</form> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
<!-- Modal Edit Data--> |
||||
@foreach ($warehouses as $data) |
||||
<div class="modal fade" id="editDataModal{{ $data['id'] }}" tabindex="-1" role="dialog" |
||||
aria-labelledby="exampleModalLabel" aria-hidden="true"> |
||||
<div class="modal-dialog" role="document"> |
||||
<div class="modal-content"> |
||||
<div class="modal-header"> |
||||
<h5 class="modal-title" id="exampleModalLabel">Edit Data Asset</h5> |
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> |
||||
<span aria-hidden="true">×</span> |
||||
</button> |
||||
</div> |
||||
<div class="modal-body"> |
||||
<form action="{{ route('warehouse.update', $data->id) }}" method="POST" |
||||
enctype="multipart/form-data"> |
||||
@csrf |
||||
@method('PUT') |
||||
<div class="form-group"> |
||||
<label for="name" class="col-form-label">Nama:</label> |
||||
<input class="form-control" name="name" type="text" id="name" |
||||
value="{{ $data->name }}" placeholder="Masukan Nama Gudang" required> |
||||
|
||||
<label for="description" class="col-form-label">Deskripsi:</label> |
||||
<textarea class="form-control" name="description" id="description" placeholder="Masukkan Deskripsi Gudang" required>{{ $data->description }}</textarea> |
||||
|
||||
<label for="address" class="col-form-label">Alamat:</label> |
||||
<textarea class="form-control" name="address" id="address" placeholder="Masukkan Alamat Gudang" required>{{ $data->address }}</textarea> |
||||
</div> |
||||
<div class="modal-footer"> |
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Tutup</button> |
||||
<button type="submit" class="btn btn-primary">Simpan</button> |
||||
</div> |
||||
</form> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
@endforeach |
||||
@endsection |
@ -1,86 +0,0 @@
|
||||
@extends('layouts.main') |
||||
@section('title', 'Manajemen User') |
||||
@section('content') |
||||
{{-- <h1>Halaman Manajement User</h1> --}} |
||||
<div class="container-fluid"> |
||||
<!-- <h1 class="h3 mb-2 text-gray-800">Tabel User</h1> |
||||
<div class="mb-4"> |
||||
<p>Our User Tables are enhanced with the help of the DataTables plugin. This is a powerful tool that allows you |
||||
to explore return data in a more interactive and efficient way</p> |
||||
{{-- <a href="#" class="btn btn-success btn-icon-split" data-toggle="modal" data-target="#tambahDataModal"> |
||||
<span class="text">+ Tambah data</span> --}} |
||||
</a> |
||||
</div> --> |
||||
<div class="card shadow mb-4"> |
||||
<div class="card-header py-3"> |
||||
<div class="row"> |
||||
<div class="col-6"> |
||||
<h5 class="m-0 font-weight-bold text-primary mt-2">Data User</h5> |
||||
</div> |
||||
<div class="col-6 text-right"> |
||||
<a href="#" class="btn btn-success btn-icon-split" data-toggle="modal" data-target="#tambahDataModal"> |
||||
<span class="text">+ Tambah data</span> |
||||
</a> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div class="card-body"> |
||||
<div class="table-responsive"> |
||||
<table class="table table-bordered" id="tablebarang" width="100%" cellspacing="0"> |
||||
<thead> |
||||
<tr> |
||||
<th>No</th> |
||||
<th>Nama</th> |
||||
<th>Email</th> |
||||
<th>No. HP</th> |
||||
<th>Alamat</th> |
||||
<th>Ditugaskan</th> |
||||
<th class="text-center">Action</th> |
||||
</tr> |
||||
</thead> |
||||
<tfoot> |
||||
<tr> |
||||
<th>No</th> |
||||
<th>Nama</th> |
||||
<th>Email</th> |
||||
<th>No. HP</th> |
||||
<th>Alamat</th> |
||||
<th>Ditugaskan</th> |
||||
<th class="text-center">Action</th> |
||||
</tr> |
||||
</tfoot> |
||||
<tbody> |
||||
@php |
||||
$noUser = 1; |
||||
@endphp |
||||
@forelse ($user as $data) |
||||
<tr> |
||||
<td>{{ $noUser++ }}</td> |
||||
<td>{{ $data->fullname }}</td> |
||||
<td>{{ $data->email }}</td> |
||||
<td>{{ $data->no_hp }}</td> |
||||
<td>{{ $data->address }}</td> |
||||
<td>{{ $data->warehouse->name }}</td> |
||||
<td class="text-center"> |
||||
<a href="{{ route('user.show', [$data->id]) }}"> |
||||
<i class="fa fa-edit mr-2" style="font-size: 20px"></i> |
||||
</a> |
||||
{{-- <a href="{{ route('hapusUser.destroy', $data->id) }}"> |
||||
<i class="fa fa-trash text-danger mr-2" style="font-size: 20px"></i> |
||||
</a> --}} |
||||
<a href="{{ route('hapusUser.destroy', $data->id) }}" |
||||
onclick="return confirm('Apakah Anda yakin ingin menghapus data ini?')"> |
||||
<i class="fa fa-trash text-danger mr-2" style="font-size: 20px"></i> |
||||
</a> |
||||
</td> |
||||
</tr> |
||||
@empty |
||||
<p>Data Kosong</p> |
||||
@endforelse |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
@endsection |
@ -1,103 +0,0 @@
|
||||
<!DOCTYPE html> |
||||
<html lang="en"> |
||||
|
||||
<head> |
||||
|
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
||||
<meta name="description" content=""> |
||||
<meta name="author" content=""> |
||||
|
||||
<title>Login SIOPAS</title> |
||||
|
||||
<!-- Custom fonts for this template--> |
||||
<link href="{{ asset('assets/vendor/fontawesome-free/css/all.min.css') }}" rel="stylesheet" type="text/css"> |
||||
<link |
||||
href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" |
||||
rel="stylesheet"> |
||||
|
||||
<!-- Custom styles for this template--> |
||||
<link href="{{ asset('assets/css/sb-admin-2.min.css') }}" rel="stylesheet"> |
||||
|
||||
</head> |
||||
|
||||
<body class="bg-gradient-primary"> |
||||
|
||||
<div class="container"> |
||||
|
||||
<!-- Outer Row --> |
||||
<div class="row justify-content-center"> |
||||
|
||||
<div class="col-xl-10 col-lg-12 col-md-9"> |
||||
|
||||
<div class="card o-hidden border-0 shadow-lg my-5"> |
||||
<div class="card-body p-0"> |
||||
<!-- Nested Row within Card Body --> |
||||
<div class="row"> |
||||
<div class="col-lg-6 d-none d-lg-block bg-login-image"></div> |
||||
<div class="col-lg-6"> |
||||
<div class="p-5"> |
||||
<div class="text-center"> |
||||
<h1 class="h4 text-gray-900 mb-4">Welcome Back!</h1> |
||||
</div> |
||||
<form class="user"> |
||||
<div class="form-group"> |
||||
<input type="email" class="form-control form-control-user" |
||||
id="exampleInputEmail" aria-describedby="emailHelp" |
||||
placeholder="Enter Email Address..."> |
||||
</div> |
||||
<div class="form-group"> |
||||
<input type="password" class="form-control form-control-user" |
||||
id="exampleInputPassword" placeholder="Password"> |
||||
</div> |
||||
<div class="form-group"> |
||||
<div class="custom-control custom-checkbox small"> |
||||
<input type="checkbox" class="custom-control-input" id="customCheck"> |
||||
<label class="custom-control-label" for="customCheck">Remember |
||||
Me</label> |
||||
</div> |
||||
</div> |
||||
<a href="{{ url('/') }}" class="btn btn-primary btn-user btn-block"> |
||||
Login |
||||
</a> |
||||
<hr> |
||||
<a href="#" class="btn btn-google btn-user btn-block"> |
||||
<i class="fab fa-google fa-fw"></i> Login with Google |
||||
</a> |
||||
<a href="#" class="btn btn-facebook btn-user btn-block"> |
||||
<i class="fab fa-facebook-f fa-fw"></i> Login with Facebook |
||||
</a> |
||||
</form> |
||||
<hr> |
||||
<div class="text-center"> |
||||
<a class="small" href="{{ url('/forgot_password') }}">Forgot Password?</a> |
||||
</div> |
||||
<div class="text-center"> |
||||
<a class="small" href="{{ url('/register') }}">Create an Account!</a> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
</div> |
||||
|
||||
</div> |
||||
|
||||
</div> |
||||
|
||||
<!-- Bootstrap core JavaScript--> |
||||
<script src="{{ asset('assets/vendor/jquery/jquery.min.js') }}"></script> |
||||
<script src="{{ asset('assets/vendor/bootstrap/js/bootstrap.bundle.min.js') }}"></script> |
||||
|
||||
<!-- Core plugin JavaScript--> |
||||
<script src="{{ asset('assets/vendor/jquery-easing/jquery.easing.min.js') }}"></script> |
||||
|
||||
<!-- Custom scripts for all pages--> |
||||
<script src="{{ asset('assets/js/sb-admin-2.min.js') }}"></script> |
||||
|
||||
</body> |
||||
|
||||
</html> |
Loading…
Reference in new issue