Commits (6)
......@@ -22,12 +22,12 @@
)
// toggle
q-btn.q-mr-sm(
q-btn.q-ml-sm(
v-if="f.type === 'toggle'",
@click="f.onToggle(f.model)",
:class="[getModel(f.model) ? 'bg-primary text-white' : 'bg-faded']",
:class="[getModel(f.model) ? 'bg-primary text-white' : '']",
:label="f.label",
round, size="md"
round, size="md", flat
)
q-icon(v-if="f.icon", :name="f.icon", :class="f.iconClass")
......@@ -155,6 +155,17 @@
// this.$store.commit('mosys/toggleAddCells')
// }
// },
{
type: 'toggle',
icon: 'fullscreen',
onToggle: () => {
this.$q.fullscreen.toggle()
}
},
{
type: 'toggle',
icon: 'grid_on'
},
{
type: 'toggle',
icon: 'add', // folder_open
......
......@@ -20,8 +20,8 @@
span(v-if="currentApp === 'users' && user") {{ user.profile ? user.profile.name : 'Unknown' }}
span(v-else, style="text-transform: capitalize;") {{ currentApp }}
// subnavigation
page-sub-nav
// subnavigation
page-sub-nav
// drawer
q-layout-drawer.bg-dark(v-model="menuDrawer", content-class="bg-dark", overlay,
......