feat: api docs editor (wip) + deps update
This commit is contained in:
@@ -52,21 +52,49 @@
|
||||
:hint='$t(`admin:theme.darkModeHint`)'
|
||||
)
|
||||
|
||||
//- v-card.mt-3.animated.fadeInUp.wait-p1s
|
||||
//- v-toolbar(color='primary', dark, dense, flat)
|
||||
//- v-toolbar-title.subtitle-1 {{$t(`admin:theme.options`)}}
|
||||
//- v-spacer
|
||||
//- v-chip(label, color='white', small).primary--text coming soon
|
||||
//- v-card-text
|
||||
//- v-select(
|
||||
//- :items='iconsets'
|
||||
//- outlined
|
||||
//- prepend-icon='mdi-border-vertical'
|
||||
//- v-model='config.iconset'
|
||||
//- label='Table of Contents Position'
|
||||
//- persistent-hint
|
||||
//- hint='Select whether the table of contents is shown on the left, right or not at all.'
|
||||
//- )
|
||||
v-card.mt-3.animated.fadeInUp.wait-p1s
|
||||
v-toolbar(color='primary', dark, dense, flat)
|
||||
v-toolbar-title.subtitle-1 {{$t(`admin:theme.options`)}}
|
||||
v-spacer
|
||||
v-chip(label, color='white', small).primary--text coming soon
|
||||
v-card-text
|
||||
v-select(
|
||||
:items='[]'
|
||||
outlined
|
||||
prepend-icon='mdi-border-vertical'
|
||||
v-model='config.iconset'
|
||||
label='Table of Contents Position'
|
||||
persistent-hint
|
||||
hint='Select whether the table of contents is shown on the left, right or not at all.'
|
||||
disabled
|
||||
)
|
||||
|
||||
v-flex(lg6 xs12)
|
||||
v-card.animated.fadeInUp.wait-p2s
|
||||
v-toolbar(color='teal', dark, dense, flat)
|
||||
v-toolbar-title.subtitle-1 {{$t('admin:theme.downloadThemes')}}
|
||||
v-spacer
|
||||
v-chip(label, color='white', small).teal--text coming soon
|
||||
v-data-table(
|
||||
:headers='headers',
|
||||
:items='themes',
|
||||
hide-default-footer,
|
||||
item-key='value',
|
||||
:items-per-page='1000'
|
||||
)
|
||||
template(v-slot:item='thm')
|
||||
td
|
||||
strong {{thm.item.text}}
|
||||
td
|
||||
span {{ thm.item.author }}
|
||||
td.text-xs-center
|
||||
v-progress-circular(v-if='thm.item.isDownloading', indeterminate, color='blue', size='20', :width='2')
|
||||
v-btn(v-else-if='thm.item.isInstalled && thm.item.installDate < thm.item.updatedAt', icon)
|
||||
v-icon.blue--text mdi-cached
|
||||
v-btn(v-else-if='thm.item.isInstalled', icon)
|
||||
v-icon.green--text mdi-check-bold
|
||||
v-btn(v-else, icon)
|
||||
v-icon.grey--text mdi-cloud-download
|
||||
|
||||
v-card.mt-3.animated.fadeInUp.wait-p2s
|
||||
v-toolbar(color='primary', dark, dense, flat)
|
||||
@@ -102,32 +130,6 @@
|
||||
:hint='$t(`admin:theme.bodyHtmlInjectionHint`)'
|
||||
auto-grow
|
||||
)
|
||||
v-flex(lg6 xs12)
|
||||
v-card.animated.fadeInUp.wait-p2s
|
||||
v-toolbar(color='teal', dark, dense, flat)
|
||||
v-toolbar-title.subtitle-1 {{$t('admin:theme.downloadThemes')}}
|
||||
v-spacer
|
||||
v-chip(label, color='white', small).teal--text coming soon
|
||||
v-data-table(
|
||||
:headers='headers',
|
||||
:items='themes',
|
||||
hide-default-footer,
|
||||
item-key='value',
|
||||
:items-per-page='1000'
|
||||
)
|
||||
template(v-slot:item='thm')
|
||||
td
|
||||
strong {{thm.item.text}}
|
||||
td
|
||||
span {{ thm.item.author }}
|
||||
td.text-xs-center
|
||||
v-progress-circular(v-if='thm.item.isDownloading', indeterminate, color='blue', size='20', :width='2')
|
||||
v-btn(v-else-if='thm.item.isInstalled && thm.item.installDate < thm.item.updatedAt', icon)
|
||||
v-icon.blue--text mdi-cached
|
||||
v-btn(v-else-if='thm.item.isInstalled', icon)
|
||||
v-icon.green--text mdi-check-bold
|
||||
v-btn(v-else, icon)
|
||||
v-icon.grey--text mdi-cloud-download
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
@@ -304,6 +304,7 @@ export default {
|
||||
gitUserName: '',
|
||||
gitRepoPath: './data/repo',
|
||||
progress: 0,
|
||||
successGroups: 0,
|
||||
successUsers: 0,
|
||||
successPages: 0,
|
||||
showFailedUsers: false,
|
||||
|
Reference in New Issue
Block a user