22 lines
739 B
PHP
22 lines
739 B
PHP
<!doctype html>
|
|
<html lang="id">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Admin Dashboard</title>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
</head>
|
|
<body class="p-4">
|
|
<div class="container">
|
|
<div class="d-flex justify-content-between align-items-center mb-4">
|
|
<h3>Admin Dashboard</h3>
|
|
<form action="{{ route('admin.logout') }}" method="POST">
|
|
@csrf
|
|
<button class="btn btn-outline-danger">Logout</button>
|
|
</form>
|
|
</div>
|
|
<div class="alert alert-success">Berhasil login sebagai <strong>{{ auth('admin')->user()->name }}</strong></div>
|
|
</div>
|
|
</body>
|
|
</html>
|