feat: favicon + manifest update + page selector locale switch fix
@ -93,9 +93,9 @@
|
|||||||
v-avatar.blue.white--text(tile, size='40', v-html='data.item.code.toUpperCase()')
|
v-avatar.blue.white--text(tile, size='40', v-html='data.item.code.toUpperCase()')
|
||||||
v-list-item-content
|
v-list-item-content
|
||||||
v-list-item-title(v-html='data.item.name')
|
v-list-item-title(v-html='data.item.name')
|
||||||
v-list-item-sub-title(v-html='data.item.nativeName')
|
v-list-item-subtitle(v-html='data.item.nativeName')
|
||||||
v-list-item-action
|
v-list-item-action
|
||||||
v-checkbox(:input-value='data.tile.props.value', color='primary', value)
|
v-checkbox(:input-value='data.attrs.inputValue', color='primary', value)
|
||||||
v-flex(lg6 xs12)
|
v-flex(lg6 xs12)
|
||||||
v-card.animated.fadeInUp.wait-p4s
|
v-card.animated.fadeInUp.wait-p4s
|
||||||
v-toolbar(color='teal', dark, dense, flat)
|
v-toolbar(color='teal', dark, dense, flat)
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
div(style='height:400px;')
|
div(style='height:400px;')
|
||||||
vue-scroll(:ops='scrollStyle')
|
vue-scroll(:ops='scrollStyle')
|
||||||
v-treeview(
|
v-treeview(
|
||||||
|
:key='`pageTree` + treeViewCacheId'
|
||||||
:active.sync='currentNode'
|
:active.sync='currentNode'
|
||||||
:open.sync='openNodes'
|
:open.sync='openNodes'
|
||||||
:items='tree'
|
:items='tree'
|
||||||
@ -55,7 +56,7 @@
|
|||||||
color='primary'
|
color='primary'
|
||||||
)
|
)
|
||||||
template(v-for='(page, idx) of currentPages')
|
template(v-for='(page, idx) of currentPages')
|
||||||
v-list-item(:key='page.id', :value='page.path')
|
v-list-item(:key='`page` + page.id', :value='page.path')
|
||||||
v-list-item-icon: v-icon mdi-file-document-box
|
v-list-item-icon: v-icon mdi-file-document-box
|
||||||
v-list-item-title {{page.title}}
|
v-list-item-title {{page.title}}
|
||||||
v-divider(v-if='idx < pages.length - 1')
|
v-divider(v-if='idx < pages.length - 1')
|
||||||
@ -131,6 +132,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
treeViewCacheId: 0,
|
||||||
searchLoading: false,
|
searchLoading: false,
|
||||||
currentLocale: siteConfig.lang,
|
currentLocale: siteConfig.lang,
|
||||||
currentFolderPath: '',
|
currentFolderPath: '',
|
||||||
@ -234,6 +236,22 @@ export default {
|
|||||||
if (!_.isEmpty(newValue)) {
|
if (!_.isEmpty(newValue)) {
|
||||||
this.currentPath = newValue
|
this.currentPath = newValue
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
currentLocale (newValue, oldValue) {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.tree = [
|
||||||
|
{
|
||||||
|
id: 0,
|
||||||
|
title: '/ (root',
|
||||||
|
children: []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
this.currentNode = [0]
|
||||||
|
this.openNodes = [0]
|
||||||
|
this.pages = []
|
||||||
|
this.all = []
|
||||||
|
this.treeViewCacheId += 1
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -2,10 +2,8 @@
|
|||||||
<browserconfig>
|
<browserconfig>
|
||||||
<msapplication>
|
<msapplication>
|
||||||
<tile>
|
<tile>
|
||||||
<square70x70logo src="/favicons/ms-icon-70x70.png"/>
|
|
||||||
<square150x150logo src="/favicons/ms-icon-150x150.png"/>
|
<square150x150logo src="/favicons/ms-icon-150x150.png"/>
|
||||||
<square310x310logo src="/favicons/ms-icon-310x310.png"/>
|
<TileColor>#1976d2</TileColor>
|
||||||
<TileColor>#ffffff</TileColor>
|
|
||||||
</tile>
|
</tile>
|
||||||
</msapplication>
|
</msapplication>
|
||||||
</browserconfig>
|
</browserconfig>
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 15 KiB |
BIN
client/static/favicons/android-chrome-192x192.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
BIN
client/static/favicons/android-chrome-256x256.png
Normal file
After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 13 KiB |
BIN
client/static/favicons/apple-touch-icon.png
Normal file
After Width: | Height: | Size: 7.5 KiB |
9
client/static/favicons/browserconfig.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<browserconfig>
|
||||||
|
<msapplication>
|
||||||
|
<tile>
|
||||||
|
<square150x150logo src="/mstile-150x150.png"/>
|
||||||
|
<TileColor>#1976d2</TileColor>
|
||||||
|
</tile>
|
||||||
|
</msapplication>
|
||||||
|
</browserconfig>
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 3.8 KiB |
BIN
client/static/favicons/mstile-150x150.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
1
client/static/favicons/safari-pinned-tab.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg version="1" xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 300.000000 300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2-.7 0-1.9.6-2.6 1.3zM254.5 144.1c-.4.6-.5 1.2-.2 1.5.2.3.7-.2 1-1.1.7-1.7.1-2-.8-.4zM257.6 147.3c.3 1 .9 1.5 1.2 1.2.3-.3 0-1.1-.7-1.8-1-.9-1.1-.8-.5.6zM251.9 148.7c-1.3 1.6-1.2 1.7.4.4.9-.7 1.7-1.5 1.7-1.7 0-.8-.8-.3-2.1 1.3z"/></svg>
|
After Width: | Height: | Size: 4.5 KiB |
@ -1,46 +1,20 @@
|
|||||||
{
|
{
|
||||||
"background_color": "#fbfbfc",
|
"name": "Wiki.js",
|
||||||
"display": "standalone",
|
"short_name": "Wiki.js",
|
||||||
"icons": [
|
|
||||||
{
|
|
||||||
"src": "\/favicons\/android-icon-36x36.png",
|
|
||||||
"sizes": "36x36",
|
|
||||||
"type": "image\/png",
|
|
||||||
"density": "0.75"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "\/favicons\/android-icon-48x48.png",
|
|
||||||
"sizes": "48x48",
|
|
||||||
"type": "image\/png",
|
|
||||||
"density": "1.0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "\/favicons\/android-icon-72x72.png",
|
|
||||||
"sizes": "72x72",
|
|
||||||
"type": "image\/png",
|
|
||||||
"density": "1.5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "\/favicons\/android-icon-96x96.png",
|
|
||||||
"sizes": "96x96",
|
|
||||||
"type": "image\/png",
|
|
||||||
"density": "2.0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "\/favicons\/android-icon-144x144.png",
|
|
||||||
"sizes": "144x144",
|
|
||||||
"type": "image\/png",
|
|
||||||
"density": "3.0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "\/favicons\/android-icon-192x192.png",
|
|
||||||
"sizes": "192x192",
|
|
||||||
"type": "image\/png",
|
|
||||||
"density": "4.0"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "Wiki",
|
|
||||||
"short_name": "Wiki",
|
|
||||||
"start_url": "/",
|
"start_url": "/",
|
||||||
"theme_color": "#0288d1"
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "/favicons/android-chrome-192x192.png",
|
||||||
|
"sizes": "192x192",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/favicons/android-chrome-256x256.png",
|
||||||
|
"sizes": "256x256",
|
||||||
|
"type": "image/png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"theme_color": "#1976d2",
|
||||||
|
"background_color": "#1976d2",
|
||||||
|
"display": "standalone"
|
||||||
}
|
}
|
||||||
|
@ -4,9 +4,9 @@ html
|
|||||||
meta(http-equiv='X-UA-Compatible', content='IE=edge')
|
meta(http-equiv='X-UA-Compatible', content='IE=edge')
|
||||||
meta(charset='UTF-8')
|
meta(charset='UTF-8')
|
||||||
meta(name='viewport', content='user-scalable=yes, width=device-width, initial-scale=1, maximum-scale=5')
|
meta(name='viewport', content='user-scalable=yes, width=device-width, initial-scale=1, maximum-scale=5')
|
||||||
meta(name='theme-color', content='#333333')
|
meta(name='theme-color', content='#1976d2')
|
||||||
meta(name='msapplication-TileColor', content='#333333')
|
meta(name='msapplication-TileColor', content='#1976d2')
|
||||||
meta(name='msapplication-TileImage', content='/favicons/ms-icon-144x144.png')
|
meta(name='msapplication-TileImage', content='/favicons/mstile-150x150.png')
|
||||||
|
|
||||||
title= pageMeta.title + ' | ' + config.title
|
title= pageMeta.title + ' | ' + config.title
|
||||||
|
|
||||||
@ -20,11 +20,11 @@ html
|
|||||||
meta(property='og:site_name', content=config.title)
|
meta(property='og:site_name', content=config.title)
|
||||||
|
|
||||||
//- Favicon
|
//- Favicon
|
||||||
each favsize in [57, 60, 72, 76, 114, 120, 144, 152, 180]
|
link(rel='apple-touch-icon', sizes='180x180', href='/apple-touch-icon.png')
|
||||||
link(rel='apple-touch-icon', sizes=favsize + 'x' + favsize, href='/favicons/apple-icon-' + favsize + 'x' + favsize + '.png')
|
|
||||||
link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-icon-192x192.png')
|
link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-icon-192x192.png')
|
||||||
each favsize in [32, 96, 16]
|
link(rel='icon', type='image/png', sizes='32x32', href='/favicons/favicon-32x32.png')
|
||||||
link(rel='icon', type='image/png', sizes=favsize + 'x' + favsize, href='/favicons/favicon-' + favsize + 'x' + favsize + '.png')
|
link(rel='icon', type='image/png', sizes='16x16', href='/favicons/favicon-16x16.png')
|
||||||
|
link(rel='mask-icon', href='/favicons/safari-pinned-tab.svg', color='#1976d2')
|
||||||
link(rel='manifest', href='/manifest.json')
|
link(rel='manifest', href='/manifest.json')
|
||||||
|
|
||||||
//- Icon Set
|
//- Icon Set
|
||||||
|
@ -4,9 +4,9 @@ html(lang=siteConfig.lang)
|
|||||||
meta(http-equiv='X-UA-Compatible', content='IE=edge')
|
meta(http-equiv='X-UA-Compatible', content='IE=edge')
|
||||||
meta(charset='UTF-8')
|
meta(charset='UTF-8')
|
||||||
meta(name='viewport', content='user-scalable=yes, width=device-width, initial-scale=1, maximum-scale=5')
|
meta(name='viewport', content='user-scalable=yes, width=device-width, initial-scale=1, maximum-scale=5')
|
||||||
meta(name='theme-color', content='#333333')
|
meta(name='theme-color', content='#1976d2')
|
||||||
meta(name='msapplication-TileColor', content='#333333')
|
meta(name='msapplication-TileColor', content='#1976d2')
|
||||||
meta(name='msapplication-TileImage', content='/favicons/ms-icon-144x144.png')
|
meta(name='msapplication-TileImage', content='/favicons/mstile-150x150.png')
|
||||||
|
|
||||||
title= pageMeta.title + ' | ' + config.title
|
title= pageMeta.title + ' | ' + config.title
|
||||||
|
|
||||||
@ -20,11 +20,11 @@ html(lang=siteConfig.lang)
|
|||||||
meta(property='og:site_name', content=config.title)
|
meta(property='og:site_name', content=config.title)
|
||||||
|
|
||||||
//- Favicon
|
//- Favicon
|
||||||
each favsize in [57, 60, 72, 76, 114, 120, 144, 152, 180]
|
link(rel='apple-touch-icon', sizes='180x180', href='/apple-touch-icon.png')
|
||||||
link(rel='apple-touch-icon', sizes=favsize + 'x' + favsize, href='/favicons/apple-icon-' + favsize + 'x' + favsize + '.png')
|
|
||||||
link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-icon-192x192.png')
|
link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-icon-192x192.png')
|
||||||
each favsize in [32, 96, 16]
|
link(rel='icon', type='image/png', sizes='32x32', href='/favicons/favicon-32x32.png')
|
||||||
link(rel='icon', type='image/png', sizes=favsize + 'x' + favsize, href='/favicons/favicon-' + favsize + 'x' + favsize + '.png')
|
link(rel='icon', type='image/png', sizes='16x16', href='/favicons/favicon-16x16.png')
|
||||||
|
link(rel='mask-icon', href='/favicons/safari-pinned-tab.svg', color='#1976d2')
|
||||||
link(rel='manifest', href='/manifest.json')
|
link(rel='manifest', href='/manifest.json')
|
||||||
|
|
||||||
//- Site Properties
|
//- Site Properties
|
||||||
|
@ -4,17 +4,17 @@ html
|
|||||||
meta(http-equiv='X-UA-Compatible', content='IE=edge')
|
meta(http-equiv='X-UA-Compatible', content='IE=edge')
|
||||||
meta(charset='UTF-8')
|
meta(charset='UTF-8')
|
||||||
meta(name='viewport', content='user-scalable=yes, width=device-width, initial-scale=1, maximum-scale=5')
|
meta(name='viewport', content='user-scalable=yes, width=device-width, initial-scale=1, maximum-scale=5')
|
||||||
meta(name='theme-color', content='#333333')
|
meta(name='theme-color', content='#1976d2')
|
||||||
meta(name='msapplication-TileColor', content='#333333')
|
meta(name='msapplication-TileColor', content='#1976d2')
|
||||||
meta(name='msapplication-TileImage', content='/favicons/ms-icon-144x144.png')
|
meta(name='msapplication-TileImage', content='/favicons/mstile-150x150.png')
|
||||||
title Wiki.js Setup
|
title Wiki.js Setup
|
||||||
|
|
||||||
//- Favicon
|
//- Favicon
|
||||||
each favsize in [57, 60, 72, 76, 114, 120, 144, 152, 180]
|
link(rel='apple-touch-icon', sizes='180x180', href='/apple-touch-icon.png')
|
||||||
link(rel='apple-touch-icon', sizes=favsize + 'x' + favsize, href='/favicons/apple-icon-' + favsize + 'x' + favsize + '.png')
|
|
||||||
link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-icon-192x192.png')
|
link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-icon-192x192.png')
|
||||||
each favsize in [32, 96, 16]
|
link(rel='icon', type='image/png', sizes='32x32', href='/favicons/favicon-32x32.png')
|
||||||
link(rel='icon', type='image/png', sizes=favsize + 'x' + favsize, href='/favicons/favicon-' + favsize + 'x' + favsize + '.png')
|
link(rel='icon', type='image/png', sizes='16x16', href='/favicons/favicon-16x16.png')
|
||||||
|
link(rel='mask-icon', href='/favicons/safari-pinned-tab.svg', color='#1976d2')
|
||||||
link(rel='manifest', href='/manifest.json')
|
link(rel='manifest', href='/manifest.json')
|
||||||
|
|
||||||
//- Site Lang
|
//- Site Lang
|
||||||
|