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

@@ -6,22 +6,22 @@
import Students from "/imports/ui/Admin/Students.svelte";
import Staff from "/imports/ui/Admin/Staff.svelte";
let activeTab = null;
let activeTab = "Sites";
</script>
<div class="container">
<TabBar tabs={[{id:'sites', label:'Sites'}, {id:'students', label:'Students'}, {id:'staff', label:'Staff'}, {id:'assetTypes', label:'Asset Types'}]} minWidth let:tab bind:active={activeTab}>
<TabBar tabs={['Sites','Students','Staff','Asset Types']} minWidth let:tab bind:active={activeTab}>
<Tab {tab}>
<Label>{tab.label}</Label>
<Label>{tab}</Label>
</Tab>
</TabBar>
{#if activeTab && activeTab.id === 'sites'}
{#if activeTab === 'Sites'}
<Sites></Sites>
{:else if activeTab && activeTab.id === 'students'}
{:else if activeTab === 'Students'}
<Students></Students>
{:else if activeTab && activeTab.id === 'staff'}
{:else if activeTab === 'Staff'}
<Staff></Staff>
{:else if activeTab && activeTab.id === 'assetTypes'}
{:else if activeTab === 'Asset Types'}
<AssetTypes></AssetTypes>
{/if}
</div>