File tree Expand file tree Collapse file tree 8 files changed +76
-7
lines changed Expand file tree Collapse file tree 8 files changed +76
-7
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,9 @@ module.exports = function (ctx) {
55
55
'QTabPanels' ,
56
56
'QTabPanel' ,
57
57
'QFab' ,
58
- 'QFabAction'
58
+ 'QFabAction' ,
59
+ 'QUploader' ,
60
+ 'QEditor'
59
61
] ,
60
62
61
63
directives : [
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div class =" snip" >
3
+ <q-editor
4
+ v-model =" editor"
5
+ :definitions =" {
6
+ bold: {label: 'Bold', icon: null, tip: 'My bold tooltip'}
7
+ }"
8
+ />
9
+ </div >
10
+ </template >
11
+
12
+ <script >
13
+ export default {
14
+ data () {
15
+ return {
16
+ editor: ' Here we are overriding the <b>bold</b> command to include a label instead of an icon and also changing its tooltip.'
17
+ }
18
+ }
19
+ }
20
+ </script >
21
+
22
+ <style >
23
+ .snip {
24
+ height : 150px ;
25
+ }
26
+ </style >
Original file line number Diff line number Diff line change 26
26
import Icons from ' ./Icons'
27
27
import ParentMultiselect from ' ../components/ParentMultiselect'
28
28
import { mapState , mapActions } from ' vuex'
29
- // import * as types from '../store/types.js'
30
29
31
30
export default {
32
31
name: ' HomeSidebar' ,
Original file line number Diff line number Diff line change 22
22
23
23
<q-tab-panels v-model =" tab" animated class =" bg-primary text-white" >
24
24
<q-tab-panel name =" code" >
25
- <div class =" text-h6" >Code Snippet</div >Code Snippet Component Here
26
- <br />asdfadsfasdf
27
25
</q-tab-panel >
28
26
29
27
<q-tab-panel name =" tree" >
40
38
41
39
<script >
42
40
import Tree from ' ./Tree'
41
+ // import CodeSnippet from './CodeSnippet'
43
42
44
43
export default {
45
44
components: {
46
45
Tree
46
+ // CodeSnippet
47
47
},
48
48
data () {
49
49
return {
Original file line number Diff line number Diff line change 2
2
<div id =" parent-select" >
3
3
<br />
4
4
<multiselect
5
- placeholder =" Choose Parent (if applicable) "
5
+ placeholder =" Parent Component "
6
6
:multiple =" false"
7
7
:close-on-select =" true"
8
8
:options =" options"
@@ -52,5 +52,9 @@ export default {
52
52
53
53
<style src="vue-multiselect/dist/vue-multiselect.min .css "></style >
54
54
<style scoped>
55
-
55
+ #parent-select {
56
+ height : 30px ;
57
+ margin : 0.75rem ;
58
+ width : 90% ;
59
+ }
56
60
</style >
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div class =" home-sidebar" >
3
+ <q-btn-group >
4
+ <q-btn color =" secondary" icon =" timeline" />
5
+ <q-btn color =" secondary" icon =" visibility" />
6
+ <q-btn color =" secondary" icon =" update" />
7
+ </q-btn-group >
8
+ </div >
9
+ </template >
10
+
11
+ <style >
12
+ .home-sidebar {
13
+ margin : 1rem ;
14
+ border-radius : 5px ;
15
+ }
16
+ </style >
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div class =" home-sidebar" >
3
+ <q-uploader
4
+ url =" http://localhost:4444/upload"
5
+ label =" Upload Image Mockups"
6
+ color =" teal"
7
+ flat
8
+ bordered
9
+ style =" max-width : 100% "
10
+ />
11
+ </div >
12
+ </template >
13
+
14
+ <style >
15
+ .home-sidebar {
16
+ margin : 1rem ;
17
+ border-radius : 5px ;
18
+ }
19
+ </style >
Original file line number Diff line number Diff line change 13
13
<q-drawer v-model =" left" side =" left" behavior =" desktop" bordered >
14
14
<!-- drawer content -->
15
15
<q-list >
16
+ <UploadImage />
16
17
<HomeSideDropDown />
17
18
<CreateComponent />
18
19
</q-list >
29
30
import HomeSideDropDown from ' ../components/HomeSideDropDown'
30
31
import Footer from ' ../components/Footer'
31
32
import CreateComponent from ' ../components/CreateComponent'
33
+ import UploadImage from ' ../components/UploadImage'
32
34
33
35
export default {
34
36
data () {
@@ -40,7 +42,8 @@ export default {
40
42
components: {
41
43
HomeSideDropDown,
42
44
Footer,
43
- CreateComponent
45
+ CreateComponent,
46
+ UploadImage
44
47
}
45
48
}
46
49
</script >
You can’t perform that action at this time.
0 commit comments