fix: alert icons
This commit is contained in:
parent
5c1ff578a6
commit
8ad17daa0e
@ -2,6 +2,10 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
## [v1.0.0-beta.14] - Unreleased
|
||||||
|
### Added
|
||||||
|
- **Security**: Optional Two-Factor Authentication (2FA) protection
|
||||||
|
|
||||||
## [v1.0.0-beta.13] - Unreleased
|
## [v1.0.0-beta.13] - Unreleased
|
||||||
### Added
|
### Added
|
||||||
- **Admin**: Added Host Information section to System Info page
|
- **Admin**: Added Host Information section to System Info page
|
||||||
@ -9,7 +13,6 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
- **Editor**: Linebreaks are now rendered, can be disabled via config option
|
- **Editor**: Linebreaks are now rendered, can be disabled via config option
|
||||||
- **History**: History section to list all changes
|
- **History**: History section to list all changes
|
||||||
- **Localization**: German locale is now available (thanks to @joetjengerdes)
|
- **Localization**: German locale is now available (thanks to @joetjengerdes)
|
||||||
- **Security**: Optional Two-Factor Authentication (2FA) protection
|
|
||||||
- **UI**: Support for color themes, code blocks dark/light + colorize on/off
|
- **UI**: Support for color themes, code blocks dark/light + colorize on/off
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
computed: {
|
computed: {
|
||||||
shown() { return this.$store.state.alert.shown },
|
shown() { return this.$store.state.alert.shown },
|
||||||
style() { return 'is-' + this.$store.state.alert.style },
|
style() { return 'is-' + this.$store.state.alert.style },
|
||||||
icon() { return 'icon-' + this.$store.state.alert.icon },
|
icon() { return 'nc-icon-outline ' + this.$store.state.alert.icon },
|
||||||
msg() { return this.$store.state.alert.msg },
|
msg() { return this.$store.state.alert.msg },
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
clipboardSuccess () {
|
clipboardSuccess () {
|
||||||
this.$store.dispatch('alert', {
|
this.$store.dispatch('alert', {
|
||||||
style: 'blue',
|
style: 'blue',
|
||||||
icon: 'clipboard',
|
icon: 'business_notes',
|
||||||
msg: this.$t('modal.anchorsuccess')
|
msg: this.$t('modal.anchorsuccess')
|
||||||
})
|
})
|
||||||
this.$store.dispatch('anchor/close')
|
this.$store.dispatch('anchor/close')
|
||||||
@ -45,7 +45,7 @@
|
|||||||
clipboardError () {
|
clipboardError () {
|
||||||
this.$store.dispatch('alert', {
|
this.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'clipboard',
|
icon: 'business_notes',
|
||||||
msg: this.$t('modal.anchorerror')
|
msg: this.$t('modal.anchorerror')
|
||||||
})
|
})
|
||||||
this.$refs.anchorURLinput.select()
|
this.$refs.anchorURLinput.select()
|
||||||
|
@ -89,14 +89,14 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$store.dispatch('alert', {
|
this.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: self.$t('editor.codeblockloadingerror')
|
msg: self.$t('editor.codeblockloadingerror')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.$store.dispatch('alert', {
|
this.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: 'Error: ' + err.body.msg
|
msg: 'Error: ' + err.body.msg
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@ -111,7 +111,7 @@ export default {
|
|||||||
this.$store.dispatch('editor/insert', codeBlockText)
|
this.$store.dispatch('editor/insert', codeBlockText)
|
||||||
this.$store.dispatch('alert', {
|
this.$store.dispatch('alert', {
|
||||||
style: 'blue',
|
style: 'blue',
|
||||||
icon: 'inbox',
|
icon: 'files_archive-3d-check',
|
||||||
msg: this.$t('editor.codeblocksuccess')
|
msg: this.$t('editor.codeblocksuccess')
|
||||||
})
|
})
|
||||||
this.cancel()
|
this.cancel()
|
||||||
|
@ -173,7 +173,7 @@
|
|||||||
},
|
},
|
||||||
filesize (rawSize) {
|
filesize (rawSize) {
|
||||||
return this.$helpers.common.filesize(rawSize)
|
return this.$helpers.common.filesize(rawSize)
|
||||||
}
|
},
|
||||||
|
|
||||||
// -------------------------------------------
|
// -------------------------------------------
|
||||||
// INSERT LINK TO FILE
|
// INSERT LINK TO FILE
|
||||||
@ -251,7 +251,7 @@
|
|||||||
self.isLoading = false
|
self.isLoading = false
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'blue',
|
style: 'blue',
|
||||||
icon: 'folder2',
|
icon: 'files_folder-check',
|
||||||
msg: self.$t('modal.newfoldersuccess', { name: self.newFolderName })
|
msg: self.$t('modal.newfoldersuccess', { name: self.newFolderName })
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@ -285,7 +285,7 @@
|
|||||||
self.isLoading = false
|
self.isLoading = false
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: self.$t('editor.fileuploaderror', { err: data.msg })
|
msg: self.$t('editor.fileuploaderror', { err: data.msg })
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -323,7 +323,7 @@
|
|||||||
self.isLoading = false
|
self.isLoading = false
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: self.$t('modal.renamefileerror', { err: data.msg })
|
msg: self.$t('modal.renamefileerror', { err: data.msg })
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -345,14 +345,14 @@
|
|||||||
self.loadFiles()
|
self.loadFiles()
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'blue',
|
style: 'blue',
|
||||||
icon: 'arrow-right2',
|
icon: 'files_check',
|
||||||
msg: self.$t('editor.filemovesuccess')
|
msg: self.$t('editor.filemovesuccess')
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
self.isLoading = false
|
self.isLoading = false
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: self.$t('editor.filemoveerror', { err: data.msg })
|
msg: self.$t('editor.filemoveerror', { err: data.msg })
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -381,7 +381,7 @@
|
|||||||
self.loadFiles()
|
self.loadFiles()
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'blue',
|
style: 'blue',
|
||||||
icon: 'trash2',
|
icon: 'ui-1_trash',
|
||||||
msg: self.$t('editor.filedeletesuccess')
|
msg: self.$t('editor.filedeletesuccess')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@ -449,7 +449,7 @@
|
|||||||
self.isLoading = false
|
self.isLoading = false
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: self.$t('editor.fileerror')
|
msg: self.$t('editor.fileerror')
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
@ -470,7 +470,7 @@
|
|||||||
let moveFolders = this._.map(this.folders, (f) => {
|
let moveFolders = this._.map(this.folders, (f) => {
|
||||||
return {
|
return {
|
||||||
name: (f !== '') ? f : '/ (root)',
|
name: (f !== '') ? f : '/ (root)',
|
||||||
icon: 'icon-folder2',
|
icon: 'nc-icon-outline files_folder-15',
|
||||||
callback: (key, opt) => {
|
callback: (key, opt) => {
|
||||||
let moveFileId = self._.toString($(opt.$trigger).data('uid'))
|
let moveFileId = self._.toString($(opt.$trigger).data('uid'))
|
||||||
let moveFileDestFolder = self._.nth(self.folders, key)
|
let moveFileDestFolder = self._.nth(self.folders, key)
|
||||||
@ -497,7 +497,7 @@
|
|||||||
items: {
|
items: {
|
||||||
rename: {
|
rename: {
|
||||||
name: self.$t('editor.filerenameaction'),
|
name: self.$t('editor.filerenameaction'),
|
||||||
icon: 'icon-edit',
|
icon: 'nc-icon-outline files_vector',
|
||||||
callback: (key, opt) => {
|
callback: (key, opt) => {
|
||||||
self.renameFileId = self._.toString(opt.$trigger[0].dataset.uid)
|
self.renameFileId = self._.toString(opt.$trigger[0].dataset.uid)
|
||||||
self.renameFile()
|
self.renameFile()
|
||||||
@ -553,7 +553,7 @@
|
|||||||
self._.forEach(failedUpls, (u) => {
|
self._.forEach(failedUpls, (u) => {
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: self.$t('editor.fileuploaderror', { err: u.msg })
|
msg: self.$t('editor.fileuploaderror', { err: u.msg })
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@ -571,7 +571,7 @@
|
|||||||
} else {
|
} else {
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: self.$t('editor.fileuploaderror', { err: data.msg })
|
msg: self.$t('editor.fileuploaderror', { err: data.msg })
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -580,7 +580,7 @@
|
|||||||
error: (error) => {
|
error: (error) => {
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: self.$t('editor.fileuploaderror', { err: error.message })
|
msg: self.$t('editor.fileuploaderror', { err: error.message })
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
i.icon-vimeo
|
i.icon-vimeo
|
||||||
span Vimeo
|
span Vimeo
|
||||||
li
|
li
|
||||||
i.icon-film
|
i.nc-icon-outline.media-1_play-69
|
||||||
span Dailymotion
|
span Dailymotion
|
||||||
li
|
li
|
||||||
i.icon-video
|
i.icon-video
|
||||||
@ -81,7 +81,7 @@
|
|||||||
this.$store.dispatch('editor/insert', videoText)
|
this.$store.dispatch('editor/insert', videoText)
|
||||||
this.$store.dispatch('alert', {
|
this.$store.dispatch('alert', {
|
||||||
style: 'blue',
|
style: 'blue',
|
||||||
icon: 'video',
|
icon: 'media-1_action-74',
|
||||||
msg: self.$t('editor.videosuccess')
|
msg: self.$t('editor.videosuccess')
|
||||||
})
|
})
|
||||||
this.cancel()
|
this.cancel()
|
||||||
|
@ -34,14 +34,14 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: resp.msg
|
msg: resp.msg
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: 'Error: ' + err.body.msg
|
msg: 'Error: ' + err.body.msg
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@ -155,7 +155,7 @@ export default {
|
|||||||
if (!editor.codemirror.doc.somethingSelected()) {
|
if (!editor.codemirror.doc.somethingSelected()) {
|
||||||
return self.$store.dispatch('alert', {
|
return self.$store.dispatch('alert', {
|
||||||
style: 'orange',
|
style: 'orange',
|
||||||
icon: 'marquee',
|
icon: 'design_drag',
|
||||||
msg: 'Invalid selection. Select at least 1 character.'
|
msg: 'Invalid selection. Select at least 1 character.'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -29,13 +29,13 @@
|
|||||||
span {{ $t('history.commit') }}: #[strong {{ current.commit }}]
|
span {{ $t('history.commit') }}: #[strong {{ current.commit }}]
|
||||||
.column.history-info-actions
|
.column.history-info-actions
|
||||||
.button-group
|
.button-group
|
||||||
button.button.is-blue-grey()
|
button.button.is-blue-grey(@click='compareWith')
|
||||||
i.nc-icon-outline.design_path-intersect
|
i.nc-icon-outline.design_path-intersect
|
||||||
span {{ $t('history.comparewith') }}
|
span {{ $t('history.comparewith') }}
|
||||||
button.button.is-blue-grey()
|
button.button.is-blue-grey(@click='view')
|
||||||
i.nc-icon-outline.ui-1_eye-17
|
i.nc-icon-outline.ui-1_eye-17
|
||||||
span {{ $t('history.view') }}
|
span {{ $t('history.view') }}
|
||||||
button.button.is-blue-grey()
|
button.button.is-blue-grey(@click='revertToVersion')
|
||||||
i.nc-icon-outline.arrows-4_undo-29
|
i.nc-icon-outline.arrows-4_undo-29
|
||||||
span {{ $t('history.reverttoversion') }}
|
span {{ $t('history.reverttoversion') }}
|
||||||
toggle.is-dark(v-model='sidebyside', :desc='$t("history.sidebyside")')
|
toggle.is-dark(v-model='sidebyside', :desc='$t("history.sidebyside")')
|
||||||
@ -63,6 +63,27 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
compareWith() {
|
||||||
|
this.$store.dispatch('alert', {
|
||||||
|
style: 'purple',
|
||||||
|
icon: 'objects_astronaut',
|
||||||
|
msg: 'Sorry, this function is not available. Coming soon!'
|
||||||
|
})
|
||||||
|
},
|
||||||
|
view() {
|
||||||
|
this.$store.dispatch('alert', {
|
||||||
|
style: 'purple',
|
||||||
|
icon: 'objects_astronaut',
|
||||||
|
msg: 'Sorry, this function is not available. Coming soon!'
|
||||||
|
})
|
||||||
|
},
|
||||||
|
revertToVersion() {
|
||||||
|
this.$store.dispatch('alert', {
|
||||||
|
style: 'purple',
|
||||||
|
icon: 'objects_astronaut',
|
||||||
|
msg: 'Sorry, this function is not available. Coming soon!'
|
||||||
|
})
|
||||||
|
},
|
||||||
draw() {
|
draw() {
|
||||||
if (diffuiIsReady) {
|
if (diffuiIsReady) {
|
||||||
diffui.draw('#diff', {
|
diffui.draw('#diff', {
|
||||||
@ -90,7 +111,7 @@ export default {
|
|||||||
console.log(err)
|
console.log(err)
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: 'Error: ' + err.body.error
|
msg: 'Error: ' + err.body.error
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -84,7 +84,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: resp.msg
|
msg: resp.msg
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -92,7 +92,7 @@ export default {
|
|||||||
this.isLoading = false
|
this.isLoading = false
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: 'Error: ' + err.body.msg
|
msg: 'Error: ' + err.body.msg
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -47,7 +47,7 @@ export default {
|
|||||||
self.isLoading = false
|
self.isLoading = false
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: resp.msg
|
msg: resp.msg
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ export default {
|
|||||||
self.isLoading = false
|
self.isLoading = false
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: 'Error: ' + err.body.msg
|
msg: 'Error: ' + err.body.msg
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -39,20 +39,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
makeSelection: function () {
|
makeSelection() {
|
||||||
let self = this;
|
let self = this;
|
||||||
self._.delay(() => {
|
self._.delay(() => {
|
||||||
let startPos = (self._.includes(self.currentPath, '/') ? self._.lastIndexOf(self.movePath, '/') + 1 : 0
|
let startPos = (self._.includes(self.currentPath, '/')) ? self._.lastIndexOf(self.movePath, '/') + 1 : 0
|
||||||
self.$helpers.form.setInputSelection(self.$refs.movePageInput, startPos, self.movePath.length)
|
self.$helpers.form.setInputSelection(self.$refs.movePageInput, startPos, self.movePath.length)
|
||||||
}, 100)
|
}, 100)
|
||||||
},
|
},
|
||||||
cancel: function () {
|
cancel() {
|
||||||
this.$store.dispatch('modalMovePage/close')
|
this.$store.dispatch('modalMovePage/close')
|
||||||
},
|
},
|
||||||
move: function () {
|
move () {
|
||||||
this.isInvalid = false
|
this.isInvalid = false
|
||||||
let newDocPath = this.$helpers.pages.makeSafePath(this.movePath)
|
let newDocPath = this.$helpers.pages.makeSafePath(this.movePath)
|
||||||
if (this._.isEmpty(newDocPath) || newDocPath === this.currentPath || newDocPath === 'home') {) {
|
if (this._.isEmpty(newDocPath) || newDocPath === this.currentPath || newDocPath === 'home') {
|
||||||
this.isInvalid = true
|
this.isInvalid = true
|
||||||
} else {
|
} else {
|
||||||
this.isLoading = true
|
this.isLoading = true
|
||||||
@ -67,7 +67,7 @@
|
|||||||
this.loading = false
|
this.loading = false
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: resp.msg
|
msg: resp.msg
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -75,7 +75,7 @@
|
|||||||
this.loading = false
|
this.loading = false
|
||||||
self.$store.dispatch('alert', {
|
self.$store.dispatch('alert', {
|
||||||
style: 'red',
|
style: 'red',
|
||||||
icon: 'square-cross',
|
icon: 'ui-2_square-remove-09',
|
||||||
msg: 'Error: ' + err.body.msg
|
msg: 'Error: ' + err.body.msg
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-msg {
|
&-msg {
|
||||||
|
4
fuse.js
4
fuse.js
@ -83,7 +83,7 @@ globalTasks.then(() => {
|
|||||||
homeDir: './client',
|
homeDir: './client',
|
||||||
output: './assets/js/$name.js',
|
output: './assets/js/$name.js',
|
||||||
alias: ALIASES,
|
alias: ALIASES,
|
||||||
shim: SHIMS,
|
target: 'browser',
|
||||||
plugins: [
|
plugins: [
|
||||||
fsbx.EnvPlugin({ NODE_ENV: (dev) ? 'development' : 'production' }),
|
fsbx.EnvPlugin({ NODE_ENV: (dev) ? 'development' : 'production' }),
|
||||||
fsbx.VuePlugin(),
|
fsbx.VuePlugin(),
|
||||||
@ -114,7 +114,7 @@ globalTasks.then(() => {
|
|||||||
log: true
|
log: true
|
||||||
})
|
})
|
||||||
|
|
||||||
const bundleVendor = fuse.bundle('vendor').instructions('~ index.js') // eslint-disable-line no-unused-vars
|
const bundleVendor = fuse.bundle('vendor').shim(SHIMS).instructions('~ index.js') // eslint-disable-line no-unused-vars
|
||||||
const bundleApp = fuse.bundle('app').instructions('!> [index.js]')
|
const bundleApp = fuse.bundle('app').instructions('!> [index.js]')
|
||||||
// const bundleApp = fuse.bundle('app').instructions('> index.js')
|
// const bundleApp = fuse.bundle('app').instructions('> index.js')
|
||||||
const bundleSetup = fuse.bundle('configure').instructions('> configure.js')
|
const bundleSetup = fuse.bundle('configure').instructions('> configure.js')
|
||||||
|
10
package.json
10
package.json
@ -70,7 +70,7 @@
|
|||||||
"i18next-node-fs-backend": "~1.0.0",
|
"i18next-node-fs-backend": "~1.0.0",
|
||||||
"image-size": "~0.6.0",
|
"image-size": "~0.6.0",
|
||||||
"jimp": "~0.2.28",
|
"jimp": "~0.2.28",
|
||||||
"js-yaml": "~3.8.4",
|
"js-yaml": "~3.9.0",
|
||||||
"jsonwebtoken": "~7.4.1",
|
"jsonwebtoken": "~7.4.1",
|
||||||
"klaw": "~2.0.0",
|
"klaw": "~2.0.0",
|
||||||
"levelup": "~1.3.8",
|
"levelup": "~1.3.8",
|
||||||
@ -111,8 +111,8 @@
|
|||||||
"read-chunk": "~2.0.0",
|
"read-chunk": "~2.0.0",
|
||||||
"remove-markdown": "~0.2.0",
|
"remove-markdown": "~0.2.0",
|
||||||
"request": "~2.81.0",
|
"request": "~2.81.0",
|
||||||
"search-index-adder": "~0.3.8",
|
"search-index-adder": "~0.3.9",
|
||||||
"search-index-searcher": "~0.2.7",
|
"search-index-searcher": "~0.2.8",
|
||||||
"semver": "~5.3.0",
|
"semver": "~5.3.0",
|
||||||
"serve-favicon": "~2.4.3",
|
"serve-favicon": "~2.4.3",
|
||||||
"simplemde": "~1.11.2",
|
"simplemde": "~1.11.2",
|
||||||
@ -158,8 +158,8 @@
|
|||||||
"snyk": "~1.36.2",
|
"snyk": "~1.36.2",
|
||||||
"twemoji-awesome": "~1.0.6",
|
"twemoji-awesome": "~1.0.6",
|
||||||
"typescript": "~2.4.1",
|
"typescript": "~2.4.1",
|
||||||
"uglify-es": "~3.0.22",
|
"uglify-es": "~3.0.24",
|
||||||
"uglify-js": "~3.0.22",
|
"uglify-js": "~3.0.24",
|
||||||
"vee-validate": "~2.0.0-rc.6",
|
"vee-validate": "~2.0.0-rc.6",
|
||||||
"vue": "~2.3.4",
|
"vue": "~2.3.4",
|
||||||
"vue-clipboards": "~1.0.2",
|
"vue-clipboards": "~1.0.2",
|
||||||
|
@ -27,7 +27,7 @@ block adminContent
|
|||||||
label.label= t('admin:profile.displayname')
|
label.label= t('admin:profile.displayname')
|
||||||
p.control.is-fullwidth
|
p.control.is-fullwidth
|
||||||
input.input(type='text', placeholder=t('admin:profile.displaynameexample'), v-model='name')
|
input.input(type='text', placeholder=t('admin:profile.displaynameexample'), v-model='name')
|
||||||
section
|
//-section
|
||||||
label.label #{t('admin:profile.tfa')}: #[strong.is-red(v-cloak) {{ tfaStatus }}]
|
label.label #{t('admin:profile.tfa')}: #[strong.is-red(v-cloak) {{ tfaStatus }}]
|
||||||
button.button.is-blue(@click='$store.dispatch("modalProfile2fa/open")', :disabled='tfaIsActive')
|
button.button.is-blue(@click='$store.dispatch("modalProfile2fa/open")', :disabled='tfaIsActive')
|
||||||
i.nc-icon-outline.ui-1_circle-add
|
i.nc-icon-outline.ui-1_circle-add
|
||||||
@ -59,4 +59,4 @@ block adminContent
|
|||||||
label.label= t('admin:profile.lastprofileupdate')
|
label.label= t('admin:profile.lastprofileupdate')
|
||||||
p.control= moment(user.updatedAt).format('LL')
|
p.control= moment(user.updatedAt).format('LL')
|
||||||
|
|
||||||
modal-profile-2fa
|
//-modal-profile-2fa
|
||||||
|
@ -5,3 +5,5 @@ block adminContent
|
|||||||
h1.title#title= t('nav.syssettings')
|
h1.title#title= t('nav.syssettings')
|
||||||
h2.subtitle= t('admin:settings.subtitle')
|
h2.subtitle= t('admin:settings.subtitle')
|
||||||
i.pageicon.nc-icon-outline.ui-1_settings-gear-63
|
i.pageicon.nc-icon-outline.ui-1_settings-gear-63
|
||||||
|
.form-sections
|
||||||
|
section Coming soon
|
||||||
|
@ -18,7 +18,7 @@ block content
|
|||||||
.columns.is-gapless
|
.columns.is-gapless
|
||||||
.column.editor-area
|
.column.editor-area
|
||||||
textarea(ref='editorTextArea', v-pre)= pageData.markdown
|
textarea(ref='editorTextArea', v-pre)= pageData.markdown
|
||||||
.column.editor-sd
|
//- .column.editor-sd
|
||||||
.editor-sd-item Images
|
.editor-sd-item Images
|
||||||
.editor-sd-item Files
|
.editor-sd-item Files
|
||||||
|
|
||||||
|
42
yarn.lock
42
yarn.lock
@ -404,13 +404,13 @@ async@1.5, async@^1.4.0, async@^1.5, async@~1.5:
|
|||||||
version "1.5.2"
|
version "1.5.2"
|
||||||
resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
|
resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
|
||||||
|
|
||||||
async@2.1.4:
|
async@2.1.4, async@^2.1.4:
|
||||||
version "2.1.4"
|
version "2.1.4"
|
||||||
resolved "https://registry.yarnpkg.com/async/-/async-2.1.4.tgz#2d2160c7788032e4dd6cbe2502f1f9a2c8f6cde4"
|
resolved "https://registry.yarnpkg.com/async/-/async-2.1.4.tgz#2d2160c7788032e4dd6cbe2502f1f9a2c8f6cde4"
|
||||||
dependencies:
|
dependencies:
|
||||||
lodash "^4.14.0"
|
lodash "^4.14.0"
|
||||||
|
|
||||||
async@^2.1.4, async@^2.3.0:
|
async@^2.3.0:
|
||||||
version "2.5.0"
|
version "2.5.0"
|
||||||
resolved "https://registry.yarnpkg.com/async/-/async-2.5.0.tgz#843190fd6b7357a0b9e1c956edddd5ec8462b54d"
|
resolved "https://registry.yarnpkg.com/async/-/async-2.5.0.tgz#843190fd6b7357a0b9e1c956edddd5ec8462b54d"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -2143,9 +2143,9 @@ esprima@^2.6.0, esprima@^2.7.1:
|
|||||||
version "2.7.3"
|
version "2.7.3"
|
||||||
resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581"
|
resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581"
|
||||||
|
|
||||||
esprima@^3.1.1:
|
esprima@^4.0.0:
|
||||||
version "3.1.3"
|
version "4.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633"
|
resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804"
|
||||||
|
|
||||||
esquery@^1.0.0:
|
esquery@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
@ -3831,12 +3831,12 @@ js-yaml@3.5.4:
|
|||||||
argparse "^1.0.2"
|
argparse "^1.0.2"
|
||||||
esprima "^2.6.0"
|
esprima "^2.6.0"
|
||||||
|
|
||||||
js-yaml@^3.5.3, js-yaml@^3.7.0, js-yaml@^3.8.4, js-yaml@~3.8.4:
|
js-yaml@^3.5.3, js-yaml@^3.7.0, js-yaml@^3.8.4, js-yaml@~3.9.0:
|
||||||
version "3.8.4"
|
version "3.9.0"
|
||||||
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.8.4.tgz#520b4564f86573ba96662af85a8cafa7b4b5a6f6"
|
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.9.0.tgz#4ffbbf25c2ac963b8299dc74da7e3740de1c18ce"
|
||||||
dependencies:
|
dependencies:
|
||||||
argparse "^1.0.7"
|
argparse "^1.0.7"
|
||||||
esprima "^3.1.1"
|
esprima "^4.0.0"
|
||||||
|
|
||||||
jsbn@~0.1.0:
|
jsbn@~0.1.0:
|
||||||
version "0.1.1"
|
version "0.1.1"
|
||||||
@ -6217,9 +6217,9 @@ scss-tokenizer@^0.2.3:
|
|||||||
js-base64 "^2.1.8"
|
js-base64 "^2.1.8"
|
||||||
source-map "^0.4.2"
|
source-map "^0.4.2"
|
||||||
|
|
||||||
search-index-adder@~0.3.8:
|
search-index-adder@~0.3.9:
|
||||||
version "0.3.8"
|
version "0.3.9"
|
||||||
resolved "https://registry.yarnpkg.com/search-index-adder/-/search-index-adder-0.3.8.tgz#2e992507305b4996de63801c38fb9bb2a029fe03"
|
resolved "https://registry.yarnpkg.com/search-index-adder/-/search-index-adder-0.3.9.tgz#a94b5fc5b27f1827c43eab599c760dcc4c29599d"
|
||||||
dependencies:
|
dependencies:
|
||||||
JSONStream "^1.2.1"
|
JSONStream "^1.2.1"
|
||||||
async "^2.3.0"
|
async "^2.3.0"
|
||||||
@ -6230,9 +6230,9 @@ search-index-adder@~0.3.8:
|
|||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
leveldown "^1.7.1"
|
leveldown "^1.7.1"
|
||||||
|
|
||||||
search-index-searcher@~0.2.7:
|
search-index-searcher@~0.2.8:
|
||||||
version "0.2.7"
|
version "0.2.8"
|
||||||
resolved "https://registry.yarnpkg.com/search-index-searcher/-/search-index-searcher-0.2.7.tgz#b891127c9ccdfefc5b11cdd752c5d2e524dd4f58"
|
resolved "https://registry.yarnpkg.com/search-index-searcher/-/search-index-searcher-0.2.8.tgz#4a289f9f6b9c2b6dc064e46cffbd8a3bc830a83b"
|
||||||
dependencies:
|
dependencies:
|
||||||
bunyan "^1.8.1"
|
bunyan "^1.8.1"
|
||||||
intersect-arrays-to-stream "^0.0.3"
|
intersect-arrays-to-stream "^0.0.3"
|
||||||
@ -7080,9 +7080,9 @@ uc.micro@^1.0.1, uc.micro@^1.0.3:
|
|||||||
version "1.0.3"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.3.tgz#7ed50d5e0f9a9fb0a573379259f2a77458d50192"
|
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.3.tgz#7ed50d5e0f9a9fb0a573379259f2a77458d50192"
|
||||||
|
|
||||||
uglify-es@~3.0.22:
|
uglify-es@~3.0.24:
|
||||||
version "3.0.23"
|
version "3.0.24"
|
||||||
resolved "https://registry.yarnpkg.com/uglify-es/-/uglify-es-3.0.23.tgz#9682c6ae347269ad6b0628bd8b3d6a3b391707c0"
|
resolved "https://registry.yarnpkg.com/uglify-es/-/uglify-es-3.0.24.tgz#fab5dccff6108df71d9573012ef65c740cb97cdc"
|
||||||
dependencies:
|
dependencies:
|
||||||
commander "~2.9.0"
|
commander "~2.9.0"
|
||||||
source-map "~0.5.1"
|
source-map "~0.5.1"
|
||||||
@ -7096,9 +7096,9 @@ uglify-js@2.7.5, uglify-js@^2.6, uglify-js@^2.6.1:
|
|||||||
uglify-to-browserify "~1.0.0"
|
uglify-to-browserify "~1.0.0"
|
||||||
yargs "~3.10.0"
|
yargs "~3.10.0"
|
||||||
|
|
||||||
uglify-js@~3.0.22:
|
uglify-js@~3.0.24:
|
||||||
version "3.0.23"
|
version "3.0.24"
|
||||||
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.0.23.tgz#a58c6b97e6d6763d94dbc265fe8e8c1725e64666"
|
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.0.24.tgz#ee93400ad9857fb7a1671778db83f6a23f033121"
|
||||||
dependencies:
|
dependencies:
|
||||||
commander "~2.9.0"
|
commander "~2.9.0"
|
||||||
source-map "~0.5.1"
|
source-map "~0.5.1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user