muted nm-dmg tier colors, updated navbar/search/menu to follow new "brand", modified auth for features, new homepage
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
---
|
||||
import BackToTop from "./BackToTop.astro"
|
||||
---
|
||||
<div class="container-fluid container-sm mt-3">
|
||||
<div class="row mb-4">
|
||||
<div class="col-md-2">
|
||||
<div class="h5 d-none">Inventory management placeholder</div>
|
||||
@@ -43,6 +44,7 @@ import BackToTop from "./BackToTop.astro"
|
||||
</button>
|
||||
|
||||
<BackToTop />
|
||||
</div>
|
||||
|
||||
<script is:inline>
|
||||
(function () {
|
||||
@@ -646,6 +648,15 @@ import BackToTop from "./BackToTop.astro"
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
initInventoryForms();
|
||||
|
||||
const pending = sessionStorage.getItem('pendingSearch');
|
||||
if (pending) {
|
||||
sessionStorage.removeItem('pendingSearch');
|
||||
const input = document.getElementById('searchInput');
|
||||
if (input) input.value = pending;
|
||||
// The form's hx-trigger="load" will fire automatically on page load,
|
||||
// picking up the pre-populated input value — no manual trigger needed.
|
||||
}
|
||||
});
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user