-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
408 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
namespace App\Http\Controllers; | ||
|
||
use Illuminate\Http\Request; | ||
use Inertia\Inertia; | ||
|
||
class AdminController extends Controller | ||
{ | ||
public function index() | ||
{ | ||
return Inertia::render('admin/index'); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<template> | ||
<div class="d-flex flex-column flex-shrink-0 p-3" style="width: 15rem; height: 100%; background-color: #262d42"> | ||
<a href="/" class="d-flex align-items-center mb-3 mb-md-0 me-md-auto link-light text-decoration-none"> | ||
<Icon icon="admin" size="24" color="white" /> | ||
<span class="fs-4 p-1">| Biblio Admin</span> | ||
</a> | ||
<hr> | ||
<ul class="nav nav-pills flex-column mb-auto"> | ||
<li class="nav-item"> | ||
<a href="#" class="nav-link active d-flex" aria-current="page" style="background-color: #003bb2;"> | ||
<Icon icon="full-house" size="16" color="white" /> Home </a> | ||
</li> | ||
<li> | ||
<a href="#" class="nav-link link-light d-flex"> | ||
<Icon icon="full-archive" size="16" color="white" /> Items </a> | ||
</li> | ||
<li> | ||
<a href="#" class="nav-link link-light d-flex"> | ||
<Icon icon="list" size="16" color="white" /> Reserveringen </a> | ||
</li> | ||
<li> | ||
<a href="#" class="nav-link link-light d-flex"> | ||
<Icon icon="full-people" size="16" color="white" /> Klanten </a> | ||
</li> | ||
<li> | ||
<a href="#" class="nav-link link-light d-flex"> | ||
<Icon icon="full-euro" size="16" color="white" /> Facturen </a> | ||
</li> | ||
</ul> | ||
<hr> | ||
<div class="dropdown"> | ||
<a href="#" class="d-flex align-items-center link-light text-decoration-none dropdown-toggle" id="dropdownUser2" data-bs-toggle="dropdown" aria-expanded="false"> | ||
<Icon icon="full-person" size="24" color="white" /> | ||
<strong class="p-1">{{ userData.name }}</strong> | ||
</a> | ||
<ul class="dropdown-menu text-small shadow" aria-labelledby="dropdownUser2"> | ||
<li><a class="dropdown-item" href="#">Profile</a></li> | ||
<li> | ||
<hr class="dropdown-divider"> | ||
</li> | ||
<li><a class="dropdown-item" href="#">Sign out</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import "https://code.jquery.com/jquery-3.7.1.js" | ||
import "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" | ||
import Icon from "@components/icon.vue"; | ||
export default { | ||
name: "AdminLayout", | ||
components: { | ||
Icon, | ||
}, | ||
props: { | ||
userData: { | ||
type: Object, | ||
required: true, | ||
default: () => ({ | ||
name: "John Doe", | ||
}), | ||
}, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
@import url("https://bootswatch.com/5/lumen/bootstrap.css"); | ||
</style> |
Oops, something went wrong.