feat: Reorganizing views
This commit is contained in:
@@ -13,26 +13,22 @@
|
||||
<ul class="nav-links">
|
||||
<li>
|
||||
<a hx-get="/users"
|
||||
hx-target="#home-content"
|
||||
hx-swap="outerHTML"
|
||||
hx-target="body"
|
||||
hx-push-url="true"
|
||||
#if(route == "users"): hx-trigger="revealed" #endif
|
||||
>
|
||||
Users
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a hx-get="/employees"
|
||||
hx-target="#home-content"
|
||||
hx-swap="outerHTML"
|
||||
hx-target="body"
|
||||
hx-push-url="true"
|
||||
#if(route == "employees"): hx-trigger="revealed" #endif
|
||||
>
|
||||
Employees
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a hx-get="/vendors?branches=true"
|
||||
<a hx-get="/vendors"
|
||||
hx-target="body"
|
||||
hx-push-url="true"
|
||||
>
|
||||
@@ -43,9 +39,6 @@
|
||||
</nav>
|
||||
</div>
|
||||
#import("homeContent")
|
||||
<!-- <div id="home-content" class="container"> -->
|
||||
<!-- <p>We're in!</p> -->
|
||||
<!-- </div> -->
|
||||
</section>
|
||||
</div>
|
||||
#endexport
|
||||
|
||||
Reference in New Issue
Block a user