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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user