|
|
@ -12,44 +12,44 @@
|
|
|
|
:width='2'
|
|
|
|
:width='2'
|
|
|
|
v-show='searchLoading'
|
|
|
|
v-show='searchLoading'
|
|
|
|
)
|
|
|
|
)
|
|
|
|
.d-flex(style='min-height:400px;')
|
|
|
|
//- .d-flex(style='min-height:400px;')
|
|
|
|
v-flex(xs4).grey(:class='darkMode ? `darken-4` : `lighten-3`')
|
|
|
|
//- v-flex(xs4).grey(:class='darkMode ? `darken-4` : `lighten-3`')
|
|
|
|
v-toolbar(color='grey darken-3', dark, dense, flat)
|
|
|
|
//- v-toolbar(color='grey darken-3', dark, dense, flat)
|
|
|
|
.body-2 Folders
|
|
|
|
//- .body-2 Folders
|
|
|
|
v-spacer
|
|
|
|
//- v-spacer
|
|
|
|
v-btn(icon): v-icon create_new_folder
|
|
|
|
//- v-btn(icon): v-icon create_new_folder
|
|
|
|
v-treeview(
|
|
|
|
//- v-treeview(
|
|
|
|
v-model='tree'
|
|
|
|
//- v-model='tree'
|
|
|
|
:items='treeFolders'
|
|
|
|
//- :items='treeFolders'
|
|
|
|
:load-children='fetchFolders'
|
|
|
|
//- :load-children='fetchFolders'
|
|
|
|
activatable
|
|
|
|
//- activatable
|
|
|
|
open-on-click
|
|
|
|
//- open-on-click
|
|
|
|
hoverable
|
|
|
|
//- hoverable
|
|
|
|
)
|
|
|
|
//- )
|
|
|
|
template(slot='prepend', slot-scope='{ item, open, leaf }')
|
|
|
|
//- template(slot='prepend', slot-scope='{ item, open, leaf }')
|
|
|
|
v-icon {{ open ? 'folder_open' : 'folder' }}
|
|
|
|
//- v-icon {{ open ? 'folder_open' : 'folder' }}
|
|
|
|
v-flex(xs8)
|
|
|
|
//- v-flex(xs8)
|
|
|
|
v-toolbar(color='grey darken-2', dark, dense, flat)
|
|
|
|
//- v-toolbar(color='grey darken-2', dark, dense, flat)
|
|
|
|
.body-2 Pages
|
|
|
|
//- .body-2 Pages
|
|
|
|
v-spacer
|
|
|
|
//- v-spacer
|
|
|
|
v-btn(icon): v-icon forward
|
|
|
|
//- v-btn(icon): v-icon forward
|
|
|
|
v-btn(icon): v-icon delete
|
|
|
|
//- v-btn(icon): v-icon delete
|
|
|
|
v-list(dense)
|
|
|
|
//- v-list(dense)
|
|
|
|
v-list-tile
|
|
|
|
//- v-list-tile
|
|
|
|
v-list-tile-avatar: v-icon insert_drive_file
|
|
|
|
//- v-list-tile-avatar: v-icon insert_drive_file
|
|
|
|
v-list-tile-title File A
|
|
|
|
//- v-list-tile-title File A
|
|
|
|
v-divider
|
|
|
|
//- v-divider
|
|
|
|
v-list-tile
|
|
|
|
//- v-list-tile
|
|
|
|
v-list-tile-avatar: v-icon insert_drive_file
|
|
|
|
//- v-list-tile-avatar: v-icon insert_drive_file
|
|
|
|
v-list-tile-title File B
|
|
|
|
//- v-list-tile-title File B
|
|
|
|
v-divider
|
|
|
|
//- v-divider
|
|
|
|
v-list-tile
|
|
|
|
//- v-list-tile
|
|
|
|
v-list-tile-avatar: v-icon insert_drive_file
|
|
|
|
//- v-list-tile-avatar: v-icon insert_drive_file
|
|
|
|
v-list-tile-title File C
|
|
|
|
//- v-list-tile-title File C
|
|
|
|
v-divider
|
|
|
|
//- v-divider
|
|
|
|
v-list-tile
|
|
|
|
//- v-list-tile
|
|
|
|
v-list-tile-avatar: v-icon insert_drive_file
|
|
|
|
//- v-list-tile-avatar: v-icon insert_drive_file
|
|
|
|
v-list-tile-title File D
|
|
|
|
//- v-list-tile-title File D
|
|
|
|
v-card-actions.grey.pa-2(:class='darkMode ? `darken-3-d5` : `lighten-1`')
|
|
|
|
v-card-actions.grey.pa-2(:class='darkMode ? `darken-3-d5` : `lighten-1`')
|
|
|
|
v-select(
|
|
|
|
v-select(
|
|
|
|
solo
|
|
|
|
solo
|
|
|
@ -80,6 +80,8 @@
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import { get } from 'vuex-pathify'
|
|
|
|
import { get } from 'vuex-pathify'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* global siteLangs, siteConfig */
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
props: {
|
|
|
|
value: {
|
|
|
|
value: {
|
|
|
@ -110,7 +112,7 @@ export default {
|
|
|
|
currentPath: 'new-page',
|
|
|
|
currentPath: 'new-page',
|
|
|
|
tree: [],
|
|
|
|
tree: [],
|
|
|
|
treeChildren: [],
|
|
|
|
treeChildren: [],
|
|
|
|
namespaces: ['en']
|
|
|
|
namespaces: siteLangs.length ? siteLangs.map(ns => ns.code) : [siteConfig.lang]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
computed: {
|
|
|
|