diff --git a/client/components/admin/admin-editor.vue b/client/components/admin/admin-editor.vue
index 78eee914..2396560a 100644
--- a/client/components/admin/admin-editor.vue
+++ b/client/components/admin/admin-editor.vue
@@ -1,6 +1,6 @@
- v-card(flat)
- v-card(flat, :color='$vuetify.dark ? "grey darken-4" : "grey lighten-5"').pa-3.pt-4
+ v-card(tile, :color='$vuetify.dark ? "grey darken-4" : "grey lighten-5"')
+ .pa-3.pt-4
.headline.primary--text Editor
.subheading.grey--text Configure the content editor
v-tabs(:color='$vuetify.dark ? "primary" : "grey lighten-4"', fixed-tabs, :slider-color='$vuetify.dark ? "white" : "primary"', show-arrows)
@@ -8,21 +8,24 @@
v-tab(key='code') Markdown
v-tab-item(key='settings', :transition='false', :reverse-transition='false')
- v-card.pa-3
+ v-card.pa-3(flat, tile)
+ .body-2.grey--text.text--darken-1 Select which editors to enable:
+ .caption.grey--text.pb-2 Some editors require additional configuration in their dedicated tab (when selected).
v-form
v-radio-group(v-model='selectedEditor')
v-radio(v-for='(editor, n) in editors', :key='n', :label='editor.text', :value='editor.value', color='primary')
- v-divider
- v-btn(color='primary')
- v-icon(left) chevron_right
- | Set Editor
- v-btn(icon)
- v-icon.grey--text refresh
v-tab-item(key='code', :transition='false', :reverse-transition='false')
- v-card.pa-3
+ v-card.pa-3(flat, tile)
v-form
v-subheader Editor Configuration
- .body-1 This editor has no configuration options you can modify.
+ .body-1.ml-3 This editor has no configuration options you can modify.
+ v-card-chin
+ v-btn(color='primary', @click='save')
+ v-icon(left) chevron_right
+ span Apply Configuration
+ v-spacer
+ v-btn(icon, @click='refresh')
+ v-icon.grey--text refresh
@@ -35,6 +38,10 @@ export default {
],
selectedEditor: 'code'
}
+ },
+ methods: {
+ save() {},
+ refresh() {}
}
}
diff --git a/client/components/admin/admin-logging.vue b/client/components/admin/admin-logging.vue
index 3905c0f3..9b4fd95b 100644
--- a/client/components/admin/admin-logging.vue
+++ b/client/components/admin/admin-logging.vue
@@ -1,6 +1,6 @@
- v-card(flat)
- v-card(flat, :color='$vuetify.dark ? "grey darken-4" : "grey lighten-5"').pa-3.pt-4
+ v-card(tile, :color='$vuetify.dark ? "grey darken-4" : "grey lighten-5"')
+ .pa-3.pt-4
.headline.primary--text Logging
.subheading.grey--text Configure the system logger(s)
v-tabs(:color='$vuetify.dark ? "primary" : "grey lighten-4"', fixed-tabs, :slider-color='$vuetify.dark ? "white" : "primary"', show-arrows)
@@ -8,7 +8,7 @@
v-tab(v-for='svc in activeServices', :key='svc.key') {{ svc.title }}
v-tab-item(key='settings', :transition='false', :reverse-transition='false')
- v-card.pa-3
+ v-card.pa-3(flat, tile)
.body-2.pb-2 Select which logging service to enable:
v-form
v-checkbox(
@@ -21,29 +21,27 @@
:disabled='svc.key === `console`'
hide-details
)
- v-divider
- v-btn(color='primary')
- v-icon(left) chevron_right
- | Set Services
- v-btn(color='black', dark, @click='toggleConsole')
- v-icon(left) keyboard
- | View Console
- v-btn(color='black', dark)
- v-icon(left) layers_clear
- | Purge Logs
- v-btn(icon, @click='refresh')
- v-icon.grey--text refresh
v-tab-item(v-for='(svc, n) in activeServices', :key='svc.key', :transition='false', :reverse-transition='false')
- v-card.pa-3
+ v-card.pa-3(flat, tile)
v-form
v-subheader Service Configuration
.body-1(v-if='!svc.props || svc.props.length < 1') This logging service has no configuration options you can modify.
v-text-field(v-else, v-for='prop in svc.props', :key='prop', :label='prop', prepend-icon='mode_edit')
- v-divider
- v-btn(color='primary')
- v-icon(left) chevron_right
- | Save Configuration
+
+ v-card-chin
+ v-btn(color='primary', @click='save')
+ v-icon(left) chevron_right
+ span Apply Configuration
+ v-btn(color='black', dark, @click='toggleConsole')
+ v-icon(left) keyboard
+ span View Console
+ v-btn(color='black', dark)
+ v-icon(left) layers_clear
+ span Purge Logs
+ v-spacer
+ v-btn(icon, @click='refresh')
+ v-icon.grey--text refresh
logging-console(v-model='showConsole')
diff --git a/client/components/admin/admin-search.vue b/client/components/admin/admin-search.vue
index ecf56bbe..df6a2062 100644
--- a/client/components/admin/admin-search.vue
+++ b/client/components/admin/admin-search.vue
@@ -1,6 +1,6 @@
- v-card(flat)
- v-card(flat, tile, :color='$vuetify.dark ? "grey darken-4" : "grey lighten-5"').pa-3.pt-4
+ v-card(tile, :color='$vuetify.dark ? "grey darken-4" : "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='$vuetify.dark ? "primary" : "grey lighten-4"', fixed-tabs, :slider-color='$vuetify.dark ? "white" : "primary"', show-arrows)
@@ -11,17 +11,12 @@
v-tab(key='solr') Solr
v-tab-item(key='settings')
- v-card.pa-3
+ v-card.pa-3(flat, tile)
v-form
+ .body-2.grey--text.text--darken-1 Select the search engine to use:
+ .caption.grey--text.pb-2 Some engines require additional configuration in their dedicated tab (when selected).
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-btn(color='black', dark)
- v-icon(left) refresh
- | Rebuild Index
v-tab-item(key='db')
v-card.pa-3 TODO
v-tab-item(key='algolia')
@@ -31,6 +26,17 @@
v-tab-item(key='solr')
v-card.pa-3 TODO
+ v-card-chin
+ v-btn(color='primary', @click='save')
+ v-icon(left) chevron_right
+ span Apply Configuration
+ v-btn(color='black', dark)
+ v-icon(left) refresh
+ | Rebuild Index
+ v-spacer
+ v-btn(icon, @click='refresh')
+ v-icon.grey--text refresh
+