WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit f68d1f6

Browse files
committed
fix: hide unfinished features
1 parent 077ac97 commit f68d1f6

File tree

6 files changed

+109
-109
lines changed

6 files changed

+109
-109
lines changed

client/components/admin/admin-pages-edit.vue

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@
3939
v-list-item-icon
4040
v-icon(color='indigo') mdi-pencil
4141
v-list-item-title Edit
42-
v-list-item(@click='', disabled)
43-
v-list-item-icon
44-
v-icon(color='grey') mdi-cube-scan
45-
v-list-item-title Re-Render
46-
v-list-item(@click='', disabled)
47-
v-list-item-icon
48-
v-icon(color='grey') mdi-earth-remove
49-
v-list-item-title Unpublish
42+
//- v-list-item(@click='', disabled)
43+
//- v-list-item-icon
44+
//- v-icon(color='grey') mdi-cube-scan
45+
//- v-list-item-title Re-Render
46+
//- v-list-item(@click='', disabled)
47+
//- v-list-item-icon
48+
//- v-icon(color='grey') mdi-earth-remove
49+
//- v-list-item-title Unpublish
5050
v-list-item(:href='`/s/` + page.locale + `/` + page.path')
5151
v-list-item-icon
5252
v-icon(color='indigo') mdi-code-tags
@@ -55,14 +55,14 @@
5555
v-list-item-icon
5656
v-icon(color='indigo') mdi-history
5757
v-list-item-title View History
58-
v-list-item(@click='', disabled)
59-
v-list-item-icon
60-
v-icon(color='grey') mdi-content-duplicate
61-
v-list-item-title Duplicate
62-
v-list-item(@click='', disabled)
63-
v-list-item-icon
64-
v-icon(color='grey') mdi-content-save-move-outline
65-
v-list-item-title Move / Rename
58+
//- v-list-item(@click='', disabled)
59+
//- v-list-item-icon
60+
//- v-icon(color='grey') mdi-content-duplicate
61+
//- v-list-item-title Duplicate
62+
//- v-list-item(@click='', disabled)
63+
//- v-list-item-icon
64+
//- v-icon(color='grey') mdi-content-save-move-outline
65+
//- v-list-item-title Move / Rename
6666
v-dialog(v-model='deletePageDialog', max-width='500')
6767
template(v-slot:activator='{ on }')
6868
v-list-item(v-on='on')

client/components/admin/admin-pages.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
v-spacer
1111
v-btn.animated.fadeInDown.wait-p1s(icon, color='grey', outlined, @click='refresh')
1212
v-icon.grey--text mdi-refresh
13-
v-btn.animated.fadeInDown.mx-3(color='primary', outlined, @click='recyclebin', disabled)
14-
v-icon(left) mdi-delete-outline
15-
span Recycle Bin
13+
//- v-btn.animated.fadeInDown.mx-3(color='primary', outlined, @click='recyclebin', disabled)
14+
//- v-icon(left) mdi-delete-outline
15+
//- span Recycle Bin
1616
v-btn.animated.fadeInDown(color='primary', depressed, large, to='pages/visualize')
1717
v-icon(left) mdi-graph
1818
span Visualize

client/components/admin/admin-users-create.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@
7070
v-model='mustChangePwd'
7171
hide-details
7272
)
73-
v-checkbox(
74-
color='primary'
75-
label='Send a welcome email'
76-
hide-details
77-
v-model='sendWelcomeEmail'
78-
disabled
79-
)
73+
//- v-checkbox(
74+
//- color='primary'
75+
//- label='Send a welcome email'
76+
//- hide-details
77+
//- v-model='sendWelcomeEmail'
78+
//- disabled
79+
//- )
8080
v-card-chin
8181
v-spacer
8282
v-btn(text, @click='isShown = false') Cancel

client/components/admin/admin-users-edit.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -337,12 +337,12 @@
337337
.caption.grey--text.mt-3 {{$t('profile:activity.lastLoginOn')}}
338338
.body-2: strong {{ user.lastLoginAt | moment('LLLL') }}
339339

340-
v-card.mt-3.animated.fadeInUp.wait-p6s
341-
v-toolbar(color='teal', dense, dark, flat)
342-
v-icon.mr-2 mdi-file-document-box-multiple-outline
343-
span Content
344-
v-card-text
345-
em.caption.grey--text Coming soon
340+
//- v-card.mt-3.animated.fadeInUp.wait-p6s
341+
//- v-toolbar(color='teal', dense, dark, flat)
342+
//- v-icon.mr-2 mdi-file-document-box-multiple-outline
343+
//- span Content
344+
//- v-card-text
345+
//- em.caption.grey--text Coming soon
346346
347347
v-dialog(v-model='deleteUserDialog', max-width='500')
348348
v-card

client/components/editor/editor-modal-media.vue

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -83,31 +83,31 @@
8383
v-btn(icon, v-on='on', tile, small, @click.left='currentFileId = props.item.id')
8484
v-icon(color='grey darken-2') mdi-dots-horizontal
8585
v-list(nav, style='border-top: 5px solid #444;')
86-
v-list-item(@click='', disabled)
87-
v-list-item-avatar(size='24')
88-
v-icon(color='teal') mdi-text-short
89-
v-list-item-content {{$t('common:actions.properties')}}
90-
template(v-if='props.item.kind === `IMAGE`')
91-
v-list-item(@click='previewDialog = true', disabled)
92-
v-list-item-avatar(size='24')
93-
v-icon(color='green') mdi-image-search-outline
94-
v-list-item-content {{$t('common:actions.preview')}}
95-
v-list-item(@click='', disabled)
96-
v-list-item-avatar(size='24')
97-
v-icon(color='indigo') mdi-crop-rotate
98-
v-list-item-content {{$t('common:actions.edit')}}
99-
v-list-item(@click='', disabled)
100-
v-list-item-avatar(size='24')
101-
v-icon(color='purple') mdi-flash-circle
102-
v-list-item-content {{$t('common:actions.optimize')}}
86+
//- v-list-item(@click='', disabled)
87+
//- v-list-item-avatar(size='24')
88+
//- v-icon(color='teal') mdi-text-short
89+
//- v-list-item-content {{$t('common:actions.properties')}}
90+
//- template(v-if='props.item.kind === `IMAGE`')
91+
//- v-list-item(@click='previewDialog = true', disabled)
92+
//- v-list-item-avatar(size='24')
93+
//- v-icon(color='green') mdi-image-search-outline
94+
//- v-list-item-content {{$t('common:actions.preview')}}
95+
//- v-list-item(@click='', disabled)
96+
//- v-list-item-avatar(size='24')
97+
//- v-icon(color='indigo') mdi-crop-rotate
98+
//- v-list-item-content {{$t('common:actions.edit')}}
99+
//- v-list-item(@click='', disabled)
100+
//- v-list-item-avatar(size='24')
101+
//- v-icon(color='purple') mdi-flash-circle
102+
//- v-list-item-content {{$t('common:actions.optimize')}}
103103
v-list-item(@click='openRenameDialog')
104104
v-list-item-avatar(size='24')
105105
v-icon(color='orange') mdi-keyboard-outline
106106
v-list-item-content {{$t('common:actions.rename')}}
107-
v-list-item(@click='', disabled)
108-
v-list-item-avatar(size='24')
109-
v-icon(color='blue') mdi-file-move
110-
v-list-item-content {{$t('common:actions.move')}}
107+
//- v-list-item(@click='', disabled)
108+
//- v-list-item-avatar(size='24')
109+
//- v-icon(color='blue') mdi-file-move
110+
//- v-list-item-content {{$t('common:actions.move')}}
111111
v-list-item(@click='deleteDialog = true')
112112
v-list-item-avatar(size='24')
113113
v-icon(color='red') mdi-file-hidden
@@ -154,25 +154,25 @@
154154
v-spacer
155155
v-btn.px-4(color='teal', dark, @click='upload') {{$t('common:actions.upload')}}
156156

157-
v-card.mt-3.radius-7.animated.fadeInRight.wait-p4s(:light='!$vuetify.theme.dark', :dark='$vuetify.theme.dark')
158-
v-card-text.pb-0
159-
v-toolbar.radius-7(:color='$vuetify.theme.dark ? `teal` : `teal lighten-5`', dense, flat)
160-
v-icon.mr-3(:color='$vuetify.theme.dark ? `white` : `teal`') mdi-cloud-download
161-
.body-2(:class='$vuetify.theme.dark ? `white--text` : `teal--text`') {{$t('editor:assets.fetchImage')}}
162-
v-spacer
163-
v-chip(label, color='white', small).teal--text coming soon
164-
v-text-field.mt-3(
165-
v-model='remoteImageUrl'
166-
outlined
167-
color='teal'
168-
single-line
169-
placeholder='https://example.com/image.jpg'
170-
)
171-
v-divider
172-
v-card-actions.pa-3
173-
.caption.grey--text.text-darken-2 Max 5 MB
174-
v-spacer
175-
v-btn.px-4(color='teal', disabled) {{$t('common:actions.fetch')}}
157+
//- v-card.mt-3.radius-7.animated.fadeInRight.wait-p4s(:light='!$vuetify.theme.dark', :dark='$vuetify.theme.dark')
158+
//- v-card-text.pb-0
159+
//- v-toolbar.radius-7(:color='$vuetify.theme.dark ? `teal` : `teal lighten-5`', dense, flat)
160+
//- v-icon.mr-3(:color='$vuetify.theme.dark ? `white` : `teal`') mdi-cloud-download
161+
//- .body-2(:class='$vuetify.theme.dark ? `white--text` : `teal--text`') {{$t('editor:assets.fetchImage')}}
162+
//- v-spacer
163+
//- v-chip(label, color='white', small).teal--text coming soon
164+
//- v-text-field.mt-3(
165+
//- v-model='remoteImageUrl'
166+
//- outlined
167+
//- color='teal'
168+
//- single-line
169+
//- placeholder='https://example.com/image.jpg'
170+
//- )
171+
//- v-divider
172+
//- v-card-actions.pa-3
173+
//- .caption.grey--text.text-darken-2 Max 5 MB
174+
//- v-spacer
175+
//- v-btn.px-4(color='teal', disabled) {{$t('common:actions.fetch')}}
176176
177177
v-card.mt-3.radius-7.animated.fadeInRight.wait-p4s(:light='!$vuetify.theme.dark', :dark='$vuetify.theme.dark')
178178
v-card-text.pb-0

client/components/editor/editor-modal-properties.vue

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
v-tab {{$t('editor:props.info')}}
2222
v-tab {{$t('editor:props.scheduling')}}
2323
v-tab(:disabled='!hasScriptPermission') {{$t('editor:props.scripts')}}
24-
v-tab(disabled) {{$t('editor:props.social')}}
24+
//- v-tab(disabled) {{$t('editor:props.social')}}
2525
v-tab(:disabled='!hasStylePermission') {{$t('editor:props.styles')}}
2626
v-tab-item(transition='fade-transition', reverse-transition='fade-transition')
2727
v-card-text.pt-5
@@ -196,42 +196,42 @@
196196
.editor-props-codeeditor-hint
197197
.caption {{$t('editor:props.htmlHint')}}
198198

199-
v-tab-item(transition='fade-transition', reverse-transition='fade-transition')
200-
v-card-text
201-
.overline {{$t('editor:props.socialFeatures')}}
202-
v-switch(
203-
:label='$t(`editor:props.allowComments`)'
204-
v-model='isPublished'
205-
color='primary'
206-
:hint='$t(`editor:props.allowCommentsHint`)'
207-
persistent-hint
208-
inset
209-
)
210-
v-switch(
211-
:label='$t(`editor:props.allowRatings`)'
212-
v-model='isPublished'
213-
color='primary'
214-
:hint='$t(`editor:props.allowRatingsHint`)'
215-
persistent-hint
216-
disabled
217-
inset
218-
)
219-
v-switch(
220-
:label='$t(`editor:props.displayAuthor`)'
221-
v-model='isPublished'
222-
color='primary'
223-
:hint='$t(`editor:props.displayAuthorHint`)'
224-
persistent-hint
225-
inset
226-
)
227-
v-switch(
228-
:label='$t(`editor:props.displaySharingBar`)'
229-
v-model='isPublished'
230-
color='primary'
231-
:hint='$t(`editor:props.displaySharingBarHint`)'
232-
persistent-hint
233-
inset
234-
)
199+
//- v-tab-item(transition='fade-transition', reverse-transition='fade-transition')
200+
//- v-card-text
201+
//- .overline {{$t('editor:props.socialFeatures')}}
202+
//- v-switch(
203+
//- :label='$t(`editor:props.allowComments`)'
204+
//- v-model='isPublished'
205+
//- color='primary'
206+
//- :hint='$t(`editor:props.allowCommentsHint`)'
207+
//- persistent-hint
208+
//- inset
209+
//- )
210+
//- v-switch(
211+
//- :label='$t(`editor:props.allowRatings`)'
212+
//- v-model='isPublished'
213+
//- color='primary'
214+
//- :hint='$t(`editor:props.allowRatingsHint`)'
215+
//- persistent-hint
216+
//- disabled
217+
//- inset
218+
//- )
219+
//- v-switch(
220+
//- :label='$t(`editor:props.displayAuthor`)'
221+
//- v-model='isPublished'
222+
//- color='primary'
223+
//- :hint='$t(`editor:props.displayAuthorHint`)'
224+
//- persistent-hint
225+
//- inset
226+
//- )
227+
//- v-switch(
228+
//- :label='$t(`editor:props.displaySharingBar`)'
229+
//- v-model='isPublished'
230+
//- color='primary'
231+
//- :hint='$t(`editor:props.displaySharingBarHint`)'
232+
//- persistent-hint
233+
//- inset
234+
//- )
235235
236236
v-tab-item(:transition='false', :reverse-transition='false')
237237
.editor-props-codeeditor-title

0 commit comments

Comments
 (0)