Started on library page UI
This commit is contained in:
11
app/imports/ui/library/LibraryContentsContainer.vue
Normal file
11
app/imports/ui/library/LibraryContentsContainer.vue
Normal file
@@ -0,0 +1,11 @@
|
||||
<template lang="html">
|
||||
<tree-node-list :children="libraryChildren" :group="library._id"s/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="css" scoped>
|
||||
</style>
|
||||
29
app/imports/ui/pages/Library.vue
Normal file
29
app/imports/ui/pages/Library.vue
Normal file
@@ -0,0 +1,29 @@
|
||||
<template lang="html">
|
||||
<toolbar-layout>
|
||||
<span slot="toolbar">Library</span>
|
||||
<v-card class="ma-4">
|
||||
<library-contents-container>
|
||||
<v-card-text v-else-if="$subReady.library">
|
||||
You aren't subscribed to any libraries :O
|
||||
</v-card-text>
|
||||
<v-card-text v-if="!$subReady.library" class="layout row justify-center">
|
||||
<v-progress-circular indeterminate/>
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
<v-btn fixed fab bottom right
|
||||
color="primary"
|
||||
@click="insertLibrary"
|
||||
data-id="insert-library-fab"
|
||||
>
|
||||
<v-icon>add</v-icon>
|
||||
</v-btn>
|
||||
</toolbar-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="css" scoped>
|
||||
</style>
|
||||
Reference in New Issue
Block a user