Add custom theme into admin select

pull/7149/head
Maksym Mishchanchuk 3 years ago
parent d461906b0b
commit 2d86963fdc
No known key found for this signature in database
GPG Key ID: F91FB5B2F93C2AB7

@ -144,7 +144,8 @@ export default {
return {
loading: false,
themes: [
{ text: 'Default', author: 'requarks.io', value: 'default', isInstalled: true, installDate: '', updatedAt: '' }
{ text: 'Default', author: 'requarks.io', value: 'default', isInstalled: true, installDate: '', updatedAt: '' },
{ text: 'Splynx', author: 'splynx.com', value: 'splynx', isInstalled: true, installDate: '', updatedAt: '' },
],
iconsets: [
{ text: 'Material Design Icons (default)', value: 'mdi' },

@ -515,6 +515,13 @@ export default {
},
breadcrumbs() {
return [{ path: '/', name: 'Home' }].concat(_.reduce(this.path.split('/'), (result, value, key) => {
if (value.match(/[\d+]\_[\d+]/)) {
value = value.replace('_', '.')
} else {
value = value.replaceAll('_', ' ')
value = value.charAt(0).toUpperCase() + value.slice(1);
}
result.push({
path: _.get(_.last(result), 'path', `/${this.locale}`) + `/${value}`,
name: value

@ -0,0 +1,25 @@
name: splynx
author: splynx.com
site: https://wiki.splynx.com/
version: 1.0.0
requirements:
minimum: '>= 2.0.0'
maximum: '< 3.0.0'
props:
accentColor:
type: String
title: Accent Color
hint: Color used in the sidebar navigation and other elements.
order: 1
default: blue darken-2
control: color-material
tocPosition:
type: String
title: Table of Contents Position
hint: Select whether the table of contents is shown on the left, right or not at all.
order: 2
default: left
enum:
- left
- right
- hidden

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Loading…
Cancel
Save