feat: Adds employee form and table view, begins user form and table view.
This commit is contained in:
35
Resources/Views/home.leaf
Normal file
35
Resources/Views/home.leaf
Normal file
@@ -0,0 +1,35 @@
|
||||
<div id="content">
|
||||
<header>
|
||||
<div class="container">
|
||||
#extend("logo")
|
||||
#extend("navbar")
|
||||
</div>
|
||||
</header>
|
||||
<section class="content">
|
||||
<div class="container">
|
||||
<nav>
|
||||
<ul class="nav-links">
|
||||
<li>
|
||||
<a hx-get="/users"
|
||||
hx-target="#home-content"
|
||||
hx-swap="outerHTML"
|
||||
>
|
||||
Users
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a hx-get="/employees"
|
||||
hx-target="#home-content"
|
||||
hx-swap="outerHTML"
|
||||
>
|
||||
Employees
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div id="home-content" class="container">
|
||||
<p>We're in!</p>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
Reference in New Issue
Block a user