feat: UI improvements

This commit is contained in:
Nicolas Giard
2018-11-12 00:51:34 -05:00
parent 763bf4b903
commit e067fe3abd
4 changed files with 96 additions and 35 deletions

View File

@@ -106,6 +106,8 @@
v-list-tile(@click='logout')
v-list-tile-action: v-icon(color='red') exit_to_app
v-list-tile-title Logout
page-selector(mode='create', v-model='newPageModal')
</template>
<script>
@@ -129,7 +131,8 @@ export default {
menuIsShown: true,
searchIsLoading: false,
searchIsShown: true,
search: ''
search: '',
newPageModal: false
}
},
computed: {
@@ -155,7 +158,7 @@ export default {
this.searchIsLoading = true
},
pageNew () {
this.newPageModal = true
},
pageEdit () {
window.location.assign(`/e/${this.path}`)