feat: storage module refactor + UI fixes
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
v-model='cfg.value.value'
|
||||
prepend-icon='settings_applications'
|
||||
)
|
||||
v-divider
|
||||
v-divider.mt-3
|
||||
v-subheader.pl-0 Registration
|
||||
.pr-3
|
||||
v-switch.ml-3(
|
||||
|
@@ -9,14 +9,14 @@
|
||||
a(href='https://requarks.io', target='_blank') requarks.io
|
||||
a(href='https://github.com/Requarks/wiki/graphs/contributors', target='_blank') {{ $t('admin:contribute.openSourceContributors') }}
|
||||
.body-1.pt-3.pl-3 {{ $t('admin:contribute.needYourHelp') }}
|
||||
v-divider
|
||||
v-divider.mt-3
|
||||
v-subheader {{ $t('admin:contribute.fundOurWork') }}
|
||||
.body-1.pl-3 {{ $t('admin:contribute.openCollective') }}
|
||||
v-card-actions.mt-3.ml-2
|
||||
v-btn(depressed, color='primary', href='https://opencollective.com/wikijs')
|
||||
v-icon(left) local_atm
|
||||
span {{ $t('admin:contribute.makeADonation') }}
|
||||
v-divider
|
||||
v-divider.mt-3
|
||||
v-subheader {{ $t('admin:contribute.contribute') }}
|
||||
.body-1.pl-3
|
||||
ul
|
||||
@@ -26,7 +26,7 @@
|
||||
a(href='https://github.com/Requarks/wiki/issues', target='_blank') Github
|
||||
i18next(path='admin:contribute.helpTranslate', tag='li')
|
||||
a(href='https://gitter.im/Requarks/wiki', target='_blank') Gitter
|
||||
v-divider
|
||||
v-divider.mt-3
|
||||
v-subheader {{ $t('admin:contribute.spreadTheWord') }}
|
||||
.body-1.pl-3
|
||||
ul
|
||||
|
@@ -15,7 +15,7 @@
|
||||
v-subheader General
|
||||
.px-3
|
||||
v-text-field(label='Site Title', required, :counter='50', v-model='siteTitle', prepend-icon='public')
|
||||
v-divider
|
||||
v-divider.mt-3
|
||||
v-subheader SEO
|
||||
.px-3
|
||||
v-text-field(label='Site Description', :counter='255', prepend-icon='public')
|
||||
@@ -51,7 +51,7 @@
|
||||
persistent-hint
|
||||
hint='Check this option if a round logo frame doesn\'t work with your logo.'
|
||||
)
|
||||
v-divider
|
||||
v-divider.mt-3
|
||||
v-switch(
|
||||
v-model='displayMascot'
|
||||
label='Display Wiki.js Mascot'
|
||||
|
@@ -22,10 +22,10 @@
|
||||
v-spacer
|
||||
v-text-field(solo, append-icon='search', label='Search', single-line, hide-details, v-model='search')
|
||||
v-data-table(
|
||||
:items='groups',
|
||||
:headers='headers',
|
||||
:search='search',
|
||||
:pagination.sync='pagination',
|
||||
:items='groups'
|
||||
:headers='headers'
|
||||
:search='search'
|
||||
:pagination.sync='pagination'
|
||||
:rows-per-page-items='[15]'
|
||||
hide-actions
|
||||
)
|
||||
|
@@ -31,7 +31,7 @@
|
||||
v-list-tile-content
|
||||
v-list-tile-title(v-html='data.item.name')
|
||||
v-list-tile-sub-title(v-html='data.item.nativeName')
|
||||
v-divider
|
||||
v-divider.mt-3
|
||||
v-switch(
|
||||
v-model='autoUpdate'
|
||||
:label='$t("admin:locale.autoUpdate.label")'
|
||||
@@ -65,7 +65,7 @@
|
||||
)
|
||||
span {{ $t('admin:locale.namespacingPrefixWarning.title', { langCode: selectedLocale }) }}
|
||||
.caption.grey--text {{ $t('admin:locale.namespacingPrefixWarning.subtitle') }}
|
||||
v-divider
|
||||
v-divider.mt-3.mb-4
|
||||
v-select(
|
||||
:disabled='!namespacing'
|
||||
:items='installedLocales'
|
||||
|
@@ -169,7 +169,7 @@
|
||||
persistent-hint
|
||||
hint='Links will automatically be converted to clickable links.'
|
||||
)
|
||||
v-divider
|
||||
v-divider.mt-3
|
||||
v-switch(
|
||||
v-model='linkify'
|
||||
label='Automatically convert line breaks'
|
||||
@@ -177,7 +177,7 @@
|
||||
persistent-hint
|
||||
hint='Add linebreaks within paragraphs.'
|
||||
)
|
||||
v-divider
|
||||
v-divider.mt-3
|
||||
v-switch(
|
||||
v-model='linkify'
|
||||
label='Highlight code blocks'
|
||||
|
@@ -51,7 +51,7 @@
|
||||
v-model='cfg.value.value'
|
||||
prepend-icon='settings_applications'
|
||||
)
|
||||
v-divider
|
||||
v-divider.mt-3
|
||||
v-subheader.pl-0 Sync Direction
|
||||
.body-1.ml-3 Choose how content synchronization is handled for this storage target.
|
||||
.pr-3.pt-3
|
||||
|
@@ -25,7 +25,7 @@
|
||||
v-list-tile-action
|
||||
v-list-tile-action-text {{ $t('admin:system.published') }} {{ info.latestVersionReleaseDate | moment('from') }}
|
||||
|
||||
v-divider
|
||||
v-divider.mt-3
|
||||
|
||||
v-subheader {{ $t('admin:system.hostInfo') }}
|
||||
v-list-tile(avatar)
|
||||
@@ -76,7 +76,7 @@
|
||||
v-list-tile-content
|
||||
v-list-tile-title {{ info.nodeVersion }}
|
||||
|
||||
v-divider
|
||||
v-divider.mt-3
|
||||
|
||||
v-subheader Redis
|
||||
v-list-tile(avatar)
|
||||
@@ -89,7 +89,7 @@
|
||||
v-list-tile-action
|
||||
v-list-tile-action-text {{ $t('admin:system.ramUsage', { used: info.redisUsedRAM, total: info.redisTotalRAM }) }}
|
||||
|
||||
v-divider
|
||||
v-divider.mt-3
|
||||
|
||||
v-subheader {{ info.dbType }}
|
||||
v-list-tile(avatar)
|
||||
|
@@ -26,7 +26,7 @@
|
||||
v-list-tile-content
|
||||
v-list-tile-title(v-html='data.item.text')
|
||||
v-list-tile-sub-title(v-html='data.item.author')
|
||||
v-divider
|
||||
v-divider.mt-3
|
||||
v-switch(
|
||||
v-model='darkMode'
|
||||
label='Dark Mode'
|
||||
|
@@ -1,6 +1,5 @@
|
||||
@import "global";
|
||||
|
||||
@import "base/reset";
|
||||
@import "base/base";
|
||||
@import 'base/icons';
|
||||
|
||||
|
Reference in New Issue
Block a user