mirror of https://github.com/Requarks/wiki.git
5 changed files with 66 additions and 27 deletions
Unified View
Diff Options
-
8.babelrc
-
2client/index.js
-
14client/js/app.js
-
32client/js/components/editor-code.vue
-
37client/js/components/editor-modal-document.vue
@ -1,6 +1,6 @@ |
|||||
'use strict' |
'use strict' |
||||
|
|
||||
require('vuetify/src/stylus/app.styl') |
require('vuetify/src/stylus/main.styl') |
||||
require('./scss/app.scss') |
require('./scss/app.scss') |
||||
require('./js/compatibility.js') |
require('./js/compatibility.js') |
||||
require('offline-plugin/runtime').install() |
require('offline-plugin/runtime').install() |
||||
|
@ -0,0 +1,37 @@ |
|||||
|
<template lang='pug'> |
||||
|
v-bottom-sheet(v-model='isOpened', inset) |
||||
|
v-toolbar(color='blue-grey', flat) |
||||
|
v-icon(color='white') sort_by_alpha |
||||
|
v-toolbar-title.white--text Document Properties |
||||
|
v-spacer |
||||
|
v-btn(icon, dark) |
||||
|
v-icon close |
||||
|
v-card.pa-3(tile) |
||||
|
v-card-text |
||||
|
v-form |
||||
|
v-text-field(label='Title', autofocus, loading='primary') |
||||
|
v-text-field(label='Short Description') |
||||
|
v-card-actions |
||||
|
v-btn(color='green', dark) Save |
||||
|
v-btn Cancel |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
props: { |
||||
|
isOpened: { |
||||
|
type: Boolean, |
||||
|
default: false |
||||
|
} |
||||
|
}, |
||||
|
data() { |
||||
|
return { |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang='scss'> |
||||
|
|
||||
|
</style> |
xxxxxxxxxx