diff --git a/app/client/main.js b/app/client/main.js index 365c9cd4..d4491d98 100644 --- a/app/client/main.js +++ b/app/client/main.js @@ -1 +1,2 @@ import "/imports/ui/vueSetup.js"; +import "/imports/styles/stylesIndex.js"; diff --git a/app/imports/ui/components/LabeledFab.vue b/app/imports/ui/components/LabeledFab.vue index 83370dc7..3c345db1 100644 --- a/app/imports/ui/components/LabeledFab.vue +++ b/app/imports/ui/components/LabeledFab.vue @@ -1,21 +1,47 @@ - - - - {{icon}} - - - + + + {{icon}} + + {{label}} - - + + + + diff --git a/app/imports/ui/components/Sidebar.vue b/app/imports/ui/components/Sidebar.vue index a693b7ba..13610ec7 100644 --- a/app/imports/ui/components/Sidebar.vue +++ b/app/imports/ui/components/Sidebar.vue @@ -1,7 +1,7 @@ - + {{userName}} @@ -17,7 +17,7 @@ @@ -77,9 +77,9 @@ }, links(){ return [ - {title: "Home", icon: "home", href: "/"}, - {title: "Characters", icon: "group", href: "/characterList", vif: Meteor.userId()}, - {title: "Send Feedback", icon: "bug_report", href: "/feedback"}, + {title: "Home", icon: "home", to: "/"}, + {title: "Characters", icon: "group", to: "characterList", vif: Meteor.userId()}, + {title: "Send Feedback", icon: "bug_report", to: "feedback"}, {title: "Patreon", icon: "", href: "https://www.patreon.com/dicecloud"}, {title: "Github", icon: "", href: "https://github.com/ThaumRystra/DiceCloud1"}, ]; diff --git a/app/imports/ui/pages/CharacterList.vue b/app/imports/ui/pages/CharacterList.vue index 176f5e7c..c2bfa1c1 100644 --- a/app/imports/ui/pages/CharacterList.vue +++ b/app/imports/ui/pages/CharacterList.vue @@ -1,81 +1,75 @@ - - - - Characters - - - - - - - {{character.initial}} - - - - {{character.name}} - - - - - - - - {{party.name}} - - - - - - - - - - - - + Characters + + + + + + + {{character.initial}} + + + + {{character.name}} + + + + + + {{party.name}} + + + + + + + + + + + + + add close - - New Character - - group - - - - New Party - - group - - + + diff --git a/app/imports/ui/styles/speedDial.css b/app/imports/ui/styles/speedDial.css new file mode 100644 index 00000000..b7694705 --- /dev/null +++ b/app/imports/ui/styles/speedDial.css @@ -0,0 +1,3 @@ +.v-speed-dial__list{ + margin-bottom: 12px; +} diff --git a/app/imports/ui/styles/stylesIndex.js b/app/imports/ui/styles/stylesIndex.js new file mode 100644 index 00000000..39a0ca67 --- /dev/null +++ b/app/imports/ui/styles/stylesIndex.js @@ -0,0 +1 @@ +import "./speedDial.css"; diff --git a/app/imports/ui/vueSetup.js b/app/imports/ui/vueSetup.js index d2e7a1b5..400dd4f6 100644 --- a/app/imports/ui/vueSetup.js +++ b/app/imports/ui/vueSetup.js @@ -25,7 +25,7 @@ Vue.use(VueMeteorTracker); // App start Meteor.startup(() => { // Create the router instance - const router = routerFactory.create() + const router = routerFactory.create(); // Start the Vue app new Vue({