Removed generated css; Renamed SASS files that are @use only (imported) to have an _ prefix as per spec; Tried to customize the SMUI sass, but was having problems with compiling not finding the SMUI source files; Added initial cut of asset check out system.

This commit is contained in:
2022-08-01 09:18:04 -07:00
parent 603f395ef0
commit bd2caacf77
19 changed files with 1968 additions and 3784 deletions

View File

@@ -13,9 +13,9 @@
// When the URL changes, run the code... in this case to scroll to the top.
router.subscribe(_ => window.scrollTo(0, 0));
let canManageLaptops = false;
let isAdmin = false;
$: currentUser = useTracker(() => Meteor.user());
$: canManageLaptops = false;
$: isAdmin = false;
Tracker.autorun(() => {
// For some reason currentUser is always null here, and is not reactive (user changes and this does not get re-called).
@@ -65,9 +65,9 @@
{/if}
{#if canManageLaptops}
<a href="/users">Users</a>
<a href="/assets">Assets</a>
{/if}
{#if isAdmin}
<a href="/assets">Assets</a>
<a href="/admin">Admin</a>
{/if}
</nav>