mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-08 16:20:02 +00:00
Split up core configuration
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
2df250aad9
commit
5818aafbc4
4 changed files with 14 additions and 4 deletions
|
@ -34,7 +34,10 @@ export default defineComponent({
|
||||||
header: this.$t('menu.headers.core'),
|
header: this.$t('menu.headers.core'),
|
||||||
links: [
|
links: [
|
||||||
{ icon: 'fas fa-chart-area', name: this.$t('menu.dashboard'), target: 'dashboard' },
|
{ icon: 'fas fa-chart-area', name: this.$t('menu.dashboard'), target: 'dashboard' },
|
||||||
{ icon: 'fas fa-cog', name: this.$t('menu.generalSettings'), target: 'generalSettings' },
|
{ icon: 'fas fa-robot', name: this.$t('menu.botAuth'), target: 'botAuth' },
|
||||||
|
{ icon: 'fas fa-tv', name: this.$t('menu.channels'), target: 'channels' },
|
||||||
|
{ icon: 'fas fa-user-gear', name: this.$t('menu.editors'), target: 'editors' },
|
||||||
|
{ icon: 'fas fa-id-card-clip', name: this.$t('menu.tokens'), target: 'tokens' },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
:value="value"
|
:value="value"
|
||||||
:value-extra-class="valueClass"
|
:value-extra-class="valueClass"
|
||||||
:caption="$t('dashboard.botScopes.caption')"
|
:caption="$t('dashboard.botScopes.caption')"
|
||||||
|
:click-route="{name:'botAuth'}"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -24,10 +24,13 @@
|
||||||
"modules": "Modules"
|
"modules": "Modules"
|
||||||
},
|
},
|
||||||
"autoMessages": "Auto-Messages",
|
"autoMessages": "Auto-Messages",
|
||||||
|
"botAuth": "Bot Authorization",
|
||||||
|
"channels": "Channels",
|
||||||
"dashboard": "Dashboard",
|
"dashboard": "Dashboard",
|
||||||
"generalSettings": "General Settings",
|
"editors": "Editors",
|
||||||
"raffles": "Raffles",
|
"raffles": "Raffles",
|
||||||
"rules": "Rules"
|
"rules": "Rules",
|
||||||
|
"tokens": "Access-Tokens"
|
||||||
},
|
},
|
||||||
"nav": {
|
"nav": {
|
||||||
"signOut": "Sign-Out"
|
"signOut": "Sign-Out"
|
||||||
|
|
|
@ -6,7 +6,10 @@ const routes = [
|
||||||
{ component: Dashboard, name: 'dashboard', path: '/' },
|
{ component: Dashboard, name: 'dashboard', path: '/' },
|
||||||
|
|
||||||
// General settings
|
// General settings
|
||||||
{ component: {}, name: 'generalSettings', path: '/general-settings' },
|
{ component: {}, name: 'botAuth', path: '/bot-auth' },
|
||||||
|
{ component: {}, name: 'channels', path: '/channels' },
|
||||||
|
{ component: {}, name: 'editors', path: '/editors' },
|
||||||
|
{ component: {}, name: 'tokens', path: '/tokens' },
|
||||||
|
|
||||||
// Auto-Messages
|
// Auto-Messages
|
||||||
{ component: {}, name: 'autoMessagesList', path: '/auto-messages' },
|
{ component: {}, name: 'autoMessagesList', path: '/auto-messages' },
|
||||||
|
|
Loading…
Reference in a new issue