fix: hide unfinished features

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

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

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

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

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

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

Loading…
Cancel
Save