mirror of https://github.com/Requarks/wiki.git
NGPixel
6 years ago
10 changed files with 196 additions and 21 deletions
Split View
Diff Options
-
53client/components/admin-auth.vue
-
2client/components/admin-dashboard.vue
-
2client/components/admin-general.vue
-
4client/components/admin-locale.vue
-
54client/components/admin-search.vue
-
4client/components/admin-system.vue
-
4client/components/admin-theme.vue
-
86client/components/admin-users.vue
-
2client/components/admin.vue
-
6client/scss/base/base.scss
@ -0,0 +1,53 @@ |
|||
<template lang='pug'> |
|||
v-card(flat) |
|||
v-card(color='grey lighten-5') |
|||
.pa-3.pt-4 |
|||
.headline.primary--text Authentication |
|||
.subheading.grey--text Configure the authentication settings of your wiki |
|||
v-tabs(color='grey lighten-4', grow, slider-color='primary', show-arrows) |
|||
v-tab(key='settings'): v-icon settings |
|||
v-tab(key='db') Local |
|||
v-tab(key='algolia') Auth0 |
|||
v-tab(key='elasticsearch') Azure AD |
|||
v-tab(key='solr') Discord |
|||
v-tab(key='solr') Dropbox |
|||
v-tab(key='solr') Facebook |
|||
v-tab(key='solr') GitHub |
|||
v-tab(key='solr') Google |
|||
v-tab(key='solr') LDAP |
|||
v-tab(key='solr') Microsoft |
|||
v-tab(key='solr') OAuth2 Generic |
|||
v-tab(key='solr') Slack |
|||
v-tab(key='solr') Twitch |
|||
|
|||
v-tab-item(key='settings') |
|||
v-card.pa-3 |
|||
v-form |
|||
v-checkbox(v-for='(engine, n) in engines', v-model='auths', :key='n', :label='engine.text', :value='engine.value', color='primary') |
|||
v-divider |
|||
v-btn(color='primary') |
|||
v-icon(left) chevron_right |
|||
| Set Providers |
|||
|
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
data() { |
|||
return { |
|||
engines: [ |
|||
{ text: 'Local', value: 'local' }, |
|||
{ text: 'Auth0', value: 'auth0' }, |
|||
{ text: 'Algolia', value: 'algolia' }, |
|||
{ text: 'Elasticsearch', value: 'elasticsearch' }, |
|||
{ text: 'Solr', value: 'solr' } |
|||
], |
|||
auths: ['local'] |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style lang='scss'> |
|||
|
|||
</style> |
@ -0,0 +1,54 @@ |
|||
<template lang='pug'> |
|||
v-card(flat) |
|||
v-card(color='grey lighten-5') |
|||
.pa-3.pt-4 |
|||
.headline.primary--text Search Engine |
|||
.subheading.grey--text Configure the search capabilities of your wiki |
|||
v-tabs(color='grey lighten-4', grow, slider-color='primary', show-arrows) |
|||
v-tab(key='settings'): v-icon settings |
|||
v-tab(key='db') Database |
|||
v-tab(key='algolia') Algolia |
|||
v-tab(key='elasticsearch') Elasticsearch |
|||
v-tab(key='solr') Solr |
|||
|
|||
v-tab-item(key='settings') |
|||
v-card.pa-3 |
|||
v-form |
|||
v-radio-group(v-model='selectedEngine') |
|||
v-radio(v-for='(engine, n) in engines', :key='n', :label='engine.text', :value='engine.value', color='primary') |
|||
v-divider |
|||
v-btn(color='primary') |
|||
v-icon(left) chevron_right |
|||
| Set Engine |
|||
v-tab-item(key='db') |
|||
v-card.pa-3 TODO |
|||
v-tab-item(key='algolia') |
|||
v-card.pa-3 TODO |
|||
v-tab-item(key='elasticsearch') |
|||
v-card.pa-3 TODO |
|||
v-tab-item(key='solr') |
|||
v-card.pa-3 TODO |
|||
|
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
data() { |
|||
return { |
|||
engines: [ |
|||
{ text: 'Disabled', value: 'disabled' }, |
|||
{ text: 'Database (built-in)', value: 'db' }, |
|||
{ text: 'Algolia', value: 'algolia' }, |
|||
{ text: 'Elasticsearch', value: 'elasticsearch' }, |
|||
{ text: 'Solr', value: 'solr' } |
|||
], |
|||
selectedEngine: 'db', |
|||
darkMode: false |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style lang='scss'> |
|||
|
|||
</style> |
Write
Preview
Loading…
Cancel
Save