misc: updated dependencies + UI fixes

This commit is contained in:
Nicolas Giard
2018-09-04 00:46:24 -04:00
parent 5e109802c6
commit e284822875
12 changed files with 1293 additions and 1230 deletions

View File

@@ -12,7 +12,7 @@
.body-2.grey--text.text--darken-1 Select which authentication strategies to enable:
.caption.grey--text.pb-2 Some strategies require additional configuration in their dedicated tab (when selected).
v-form
v-checkbox.my-1(
v-checkbox.my-0(
v-for='strategy in strategies'
v-model='strategy.isEnabled'
:key='strategy.key'

View File

@@ -44,7 +44,7 @@
)
v-card-chin
v-spacer
v-btn(color='primary')
v-btn(color='primary', @click='save')
v-icon(left) chevron_right
span Save
v-flex(lg6 xs12)
@@ -82,7 +82,33 @@
)
v-card-chin
v-spacer
v-btn(color='primary')
v-btn(color='primary', @click='save')
v-icon(left) chevron_right
span Save
v-card.mt-3
v-toolbar(color='primary', dark, dense, flat)
v-toolbar-title
.subheading Features
v-card-text
v-switch(
v-model='featurePageRatings'
label='Page Ratings'
color='primary'
persistent-hint
hint='Allow users to rate pages.'
)
v-divider.mt-3
v-switch(
v-model='featurePersonalWiki'
label='Personal Wikis'
color='primary'
persistent-hint
hint='Allow users to have their own personal wiki.'
)
v-card-chin
v-spacer
v-btn(color='primary', @click='save')
v-icon(left) chevron_right
span Save
@@ -98,12 +124,23 @@ export default {
metaRobotsSelection: ['Index', 'Follow'],
metaRobots: ['Index', 'Follow', 'No Index', 'No Follow'],
useSquareLogo: false,
displayMascot: true
displayMascot: true,
featurePageRatings: false,
featurePersonalWiki: true
}
},
computed: {
siteTitle: sync('site/title'),
company: sync('site/company')
},
methods: {
async save () {
this.$store.commit('showNotification', {
message: 'Configuration saved successfully.',
style: 'success',
icon: 'check'
})
}
}
}
</script>

View File

@@ -12,7 +12,7 @@
.body-2.grey--text.text--darken-1 Select which logging service to enable:
.caption.grey--text.pb-2 Some loggers require additional configuration in their dedicated tab (when selected).
v-form
v-checkbox.my-1(
v-checkbox.my-0(
v-for='(logger, n) in loggers'
v-model='logger.isEnabled'
:key='logger.key'

View File

@@ -12,7 +12,7 @@
.body-2.grey--text.text--darken-1 Select which storage targets to enable:
.caption.grey--text.pb-2 Some storage targets require additional configuration in their dedicated tab (when selected).
v-form
v-checkbox.my-1(
v-checkbox.my-0(
v-for='tgt in targets'
v-model='tgt.isEnabled'
:key='tgt.key'

View File

@@ -139,8 +139,8 @@
</template>
<script>
import IconGithubCircle from 'mdi/github-circle'
import IconHomeAlert from 'mdi/home-alert'
import IconGithubCircle from 'mdi/GithubCircle'
import IconHomeAlert from 'mdi/HomeAlert'
export default {
components: {