fix: hide unfinished features

pull/7843/merge
NGPixel 8 months ago
parent 077ac97b2d
commit f68d1f60ca
No known key found for this signature in database
GPG Key ID: 12523BF5716450E7

@ -39,14 +39,14 @@
v-list-item-icon v-list-item-icon
v-icon(color='indigo') mdi-pencil v-icon(color='indigo') mdi-pencil
v-list-item-title Edit v-list-item-title Edit
v-list-item(@click='', disabled) //- v-list-item(@click='', disabled)
v-list-item-icon //- v-list-item-icon
v-icon(color='grey') mdi-cube-scan //- v-icon(color='grey') mdi-cube-scan
v-list-item-title Re-Render //- v-list-item-title Re-Render
v-list-item(@click='', disabled) //- v-list-item(@click='', disabled)
v-list-item-icon //- v-list-item-icon
v-icon(color='grey') mdi-earth-remove //- v-icon(color='grey') mdi-earth-remove
v-list-item-title Unpublish //- v-list-item-title Unpublish
v-list-item(:href='`/s/` + page.locale + `/` + page.path') v-list-item(:href='`/s/` + page.locale + `/` + page.path')
v-list-item-icon v-list-item-icon
v-icon(color='indigo') mdi-code-tags v-icon(color='indigo') mdi-code-tags
@ -55,14 +55,14 @@
v-list-item-icon v-list-item-icon
v-icon(color='indigo') mdi-history v-icon(color='indigo') mdi-history
v-list-item-title View History v-list-item-title View History
v-list-item(@click='', disabled) //- v-list-item(@click='', disabled)
v-list-item-icon //- v-list-item-icon
v-icon(color='grey') mdi-content-duplicate //- v-icon(color='grey') mdi-content-duplicate
v-list-item-title Duplicate //- v-list-item-title Duplicate
v-list-item(@click='', disabled) //- v-list-item(@click='', disabled)
v-list-item-icon //- v-list-item-icon
v-icon(color='grey') mdi-content-save-move-outline //- v-icon(color='grey') mdi-content-save-move-outline
v-list-item-title Move / Rename //- v-list-item-title Move / Rename
v-dialog(v-model='deletePageDialog', max-width='500') v-dialog(v-model='deletePageDialog', max-width='500')
template(v-slot:activator='{ on }') template(v-slot:activator='{ on }')
v-list-item(v-on='on') v-list-item(v-on='on')

@ -10,9 +10,9 @@
v-spacer v-spacer
v-btn.animated.fadeInDown.wait-p1s(icon, color='grey', outlined, @click='refresh') v-btn.animated.fadeInDown.wait-p1s(icon, color='grey', outlined, @click='refresh')
v-icon.grey--text mdi-refresh v-icon.grey--text mdi-refresh
v-btn.animated.fadeInDown.mx-3(color='primary', outlined, @click='recyclebin', disabled) //- v-btn.animated.fadeInDown.mx-3(color='primary', outlined, @click='recyclebin', disabled)
v-icon(left) mdi-delete-outline //- v-icon(left) mdi-delete-outline
span Recycle Bin //- span Recycle Bin
v-btn.animated.fadeInDown(color='primary', depressed, large, to='pages/visualize') v-btn.animated.fadeInDown(color='primary', depressed, large, to='pages/visualize')
v-icon(left) mdi-graph v-icon(left) mdi-graph
span Visualize span Visualize

@ -70,13 +70,13 @@
v-model='mustChangePwd' v-model='mustChangePwd'
hide-details hide-details
) )
v-checkbox( //- v-checkbox(
color='primary' //- color='primary'
label='Send a welcome email' //- label='Send a welcome email'
hide-details //- hide-details
v-model='sendWelcomeEmail' //- v-model='sendWelcomeEmail'
disabled //- disabled
) //- )
v-card-chin v-card-chin
v-spacer v-spacer
v-btn(text, @click='isShown = false') Cancel v-btn(text, @click='isShown = false') Cancel

@ -337,12 +337,12 @@
.caption.grey--text.mt-3 {{$t('profile:activity.lastLoginOn')}} .caption.grey--text.mt-3 {{$t('profile:activity.lastLoginOn')}}
.body-2: strong {{ user.lastLoginAt | moment('LLLL') }} .body-2: strong {{ user.lastLoginAt | moment('LLLL') }}
v-card.mt-3.animated.fadeInUp.wait-p6s //- v-card.mt-3.animated.fadeInUp.wait-p6s
v-toolbar(color='teal', dense, dark, flat) //- v-toolbar(color='teal', dense, dark, flat)
v-icon.mr-2 mdi-file-document-box-multiple-outline //- v-icon.mr-2 mdi-file-document-box-multiple-outline
span Content //- span Content
v-card-text //- v-card-text
em.caption.grey--text Coming soon //- em.caption.grey--text Coming soon
v-dialog(v-model='deleteUserDialog', max-width='500') v-dialog(v-model='deleteUserDialog', max-width='500')
v-card v-card

@ -83,31 +83,31 @@
v-btn(icon, v-on='on', tile, small, @click.left='currentFileId = props.item.id') v-btn(icon, v-on='on', tile, small, @click.left='currentFileId = props.item.id')
v-icon(color='grey darken-2') mdi-dots-horizontal v-icon(color='grey darken-2') mdi-dots-horizontal
v-list(nav, style='border-top: 5px solid #444;') v-list(nav, style='border-top: 5px solid #444;')
v-list-item(@click='', disabled) //- v-list-item(@click='', disabled)
v-list-item-avatar(size='24') //- v-list-item-avatar(size='24')
v-icon(color='teal') mdi-text-short //- v-icon(color='teal') mdi-text-short
v-list-item-content {{$t('common:actions.properties')}} //- v-list-item-content {{$t('common:actions.properties')}}
template(v-if='props.item.kind === `IMAGE`') //- template(v-if='props.item.kind === `IMAGE`')
v-list-item(@click='previewDialog = true', disabled) //- v-list-item(@click='previewDialog = true', disabled)
v-list-item-avatar(size='24') //- v-list-item-avatar(size='24')
v-icon(color='green') mdi-image-search-outline //- v-icon(color='green') mdi-image-search-outline
v-list-item-content {{$t('common:actions.preview')}} //- v-list-item-content {{$t('common:actions.preview')}}
v-list-item(@click='', disabled) //- v-list-item(@click='', disabled)
v-list-item-avatar(size='24') //- v-list-item-avatar(size='24')
v-icon(color='indigo') mdi-crop-rotate //- v-icon(color='indigo') mdi-crop-rotate
v-list-item-content {{$t('common:actions.edit')}} //- v-list-item-content {{$t('common:actions.edit')}}
v-list-item(@click='', disabled) //- v-list-item(@click='', disabled)
v-list-item-avatar(size='24') //- v-list-item-avatar(size='24')
v-icon(color='purple') mdi-flash-circle //- v-icon(color='purple') mdi-flash-circle
v-list-item-content {{$t('common:actions.optimize')}} //- v-list-item-content {{$t('common:actions.optimize')}}
v-list-item(@click='openRenameDialog') v-list-item(@click='openRenameDialog')
v-list-item-avatar(size='24') v-list-item-avatar(size='24')
v-icon(color='orange') mdi-keyboard-outline v-icon(color='orange') mdi-keyboard-outline
v-list-item-content {{$t('common:actions.rename')}} v-list-item-content {{$t('common:actions.rename')}}
v-list-item(@click='', disabled) //- v-list-item(@click='', disabled)
v-list-item-avatar(size='24') //- v-list-item-avatar(size='24')
v-icon(color='blue') mdi-file-move //- v-icon(color='blue') mdi-file-move
v-list-item-content {{$t('common:actions.move')}} //- v-list-item-content {{$t('common:actions.move')}}
v-list-item(@click='deleteDialog = true') v-list-item(@click='deleteDialog = true')
v-list-item-avatar(size='24') v-list-item-avatar(size='24')
v-icon(color='red') mdi-file-hidden v-icon(color='red') mdi-file-hidden
@ -154,25 +154,25 @@
v-spacer v-spacer
v-btn.px-4(color='teal', dark, @click='upload') {{$t('common:actions.upload')}} v-btn.px-4(color='teal', dark, @click='upload') {{$t('common:actions.upload')}}
v-card.mt-3.radius-7.animated.fadeInRight.wait-p4s(:light='!$vuetify.theme.dark', :dark='$vuetify.theme.dark') //- v-card.mt-3.radius-7.animated.fadeInRight.wait-p4s(:light='!$vuetify.theme.dark', :dark='$vuetify.theme.dark')
v-card-text.pb-0 //- v-card-text.pb-0
v-toolbar.radius-7(:color='$vuetify.theme.dark ? `teal` : `teal lighten-5`', dense, flat) //- v-toolbar.radius-7(:color='$vuetify.theme.dark ? `teal` : `teal lighten-5`', dense, flat)
v-icon.mr-3(:color='$vuetify.theme.dark ? `white` : `teal`') mdi-cloud-download //- v-icon.mr-3(:color='$vuetify.theme.dark ? `white` : `teal`') mdi-cloud-download
.body-2(:class='$vuetify.theme.dark ? `white--text` : `teal--text`') {{$t('editor:assets.fetchImage')}} //- .body-2(:class='$vuetify.theme.dark ? `white--text` : `teal--text`') {{$t('editor:assets.fetchImage')}}
v-spacer //- v-spacer
v-chip(label, color='white', small).teal--text coming soon //- v-chip(label, color='white', small).teal--text coming soon
v-text-field.mt-3( //- v-text-field.mt-3(
v-model='remoteImageUrl' //- v-model='remoteImageUrl'
outlined //- outlined
color='teal' //- color='teal'
single-line //- single-line
placeholder='https://example.com/image.jpg' //- placeholder='https://example.com/image.jpg'
) //- )
v-divider //- v-divider
v-card-actions.pa-3 //- v-card-actions.pa-3
.caption.grey--text.text-darken-2 Max 5 MB //- .caption.grey--text.text-darken-2 Max 5 MB
v-spacer //- v-spacer
v-btn.px-4(color='teal', disabled) {{$t('common:actions.fetch')}} //- v-btn.px-4(color='teal', disabled) {{$t('common:actions.fetch')}}
v-card.mt-3.radius-7.animated.fadeInRight.wait-p4s(:light='!$vuetify.theme.dark', :dark='$vuetify.theme.dark') v-card.mt-3.radius-7.animated.fadeInRight.wait-p4s(:light='!$vuetify.theme.dark', :dark='$vuetify.theme.dark')
v-card-text.pb-0 v-card-text.pb-0

@ -21,7 +21,7 @@
v-tab {{$t('editor:props.info')}} v-tab {{$t('editor:props.info')}}
v-tab {{$t('editor:props.scheduling')}} v-tab {{$t('editor:props.scheduling')}}
v-tab(:disabled='!hasScriptPermission') {{$t('editor:props.scripts')}} v-tab(:disabled='!hasScriptPermission') {{$t('editor:props.scripts')}}
v-tab(disabled) {{$t('editor:props.social')}} //- v-tab(disabled) {{$t('editor:props.social')}}
v-tab(:disabled='!hasStylePermission') {{$t('editor:props.styles')}} v-tab(:disabled='!hasStylePermission') {{$t('editor:props.styles')}}
v-tab-item(transition='fade-transition', reverse-transition='fade-transition') v-tab-item(transition='fade-transition', reverse-transition='fade-transition')
v-card-text.pt-5 v-card-text.pt-5
@ -196,42 +196,42 @@
.editor-props-codeeditor-hint .editor-props-codeeditor-hint
.caption {{$t('editor:props.htmlHint')}} .caption {{$t('editor:props.htmlHint')}}
v-tab-item(transition='fade-transition', reverse-transition='fade-transition') //- v-tab-item(transition='fade-transition', reverse-transition='fade-transition')
v-card-text //- v-card-text
.overline {{$t('editor:props.socialFeatures')}} //- .overline {{$t('editor:props.socialFeatures')}}
v-switch( //- v-switch(
:label='$t(`editor:props.allowComments`)' //- :label='$t(`editor:props.allowComments`)'
v-model='isPublished' //- v-model='isPublished'
color='primary' //- color='primary'
:hint='$t(`editor:props.allowCommentsHint`)' //- :hint='$t(`editor:props.allowCommentsHint`)'
persistent-hint //- persistent-hint
inset //- inset
) //- )
v-switch( //- v-switch(
:label='$t(`editor:props.allowRatings`)' //- :label='$t(`editor:props.allowRatings`)'
v-model='isPublished' //- v-model='isPublished'
color='primary' //- color='primary'
:hint='$t(`editor:props.allowRatingsHint`)' //- :hint='$t(`editor:props.allowRatingsHint`)'
persistent-hint //- persistent-hint
disabled //- disabled
inset //- inset
) //- )
v-switch( //- v-switch(
:label='$t(`editor:props.displayAuthor`)' //- :label='$t(`editor:props.displayAuthor`)'
v-model='isPublished' //- v-model='isPublished'
color='primary' //- color='primary'
:hint='$t(`editor:props.displayAuthorHint`)' //- :hint='$t(`editor:props.displayAuthorHint`)'
persistent-hint //- persistent-hint
inset //- inset
) //- )
v-switch( //- v-switch(
:label='$t(`editor:props.displaySharingBar`)' //- :label='$t(`editor:props.displaySharingBar`)'
v-model='isPublished' //- v-model='isPublished'
color='primary' //- color='primary'
:hint='$t(`editor:props.displaySharingBarHint`)' //- :hint='$t(`editor:props.displaySharingBarHint`)'
persistent-hint //- persistent-hint
inset //- inset
) //- )
v-tab-item(:transition='false', :reverse-transition='false') v-tab-item(:transition='false', :reverse-transition='false')
.editor-props-codeeditor-title .editor-props-codeeditor-title

Loading…
Cancel
Save