Fixed pug linting issues
This commit is contained in:
parent
3566a78cff
commit
15e4341fed
@ -9,7 +9,7 @@
|
|||||||
"requireLowerCaseTags": true,
|
"requireLowerCaseTags": true,
|
||||||
"requireSpaceAfterCodeOperator": true,
|
"requireSpaceAfterCodeOperator": true,
|
||||||
"requireStrictEqualityOperators": true,
|
"requireStrictEqualityOperators": true,
|
||||||
"validateAttributeQuoteMarks": true,
|
"validateAttributeQuoteMarks": "'",
|
||||||
"validateAttributeSeparator": ", ",
|
"validateAttributeSeparator": ", ",
|
||||||
"validateDivTags": true,
|
"validateDivTags": true,
|
||||||
"validateIndentation": 2
|
"validateIndentation": 2
|
||||||
|
@ -28,7 +28,7 @@ html
|
|||||||
body
|
body
|
||||||
#bg
|
#bg
|
||||||
each bg in _.sampleSize([1, 2, 3],3)
|
each bg in _.sampleSize([1, 2, 3],3)
|
||||||
div(style="background-image:url(/images/bg_" + bg + ".jpg);")
|
div(style='background-image:url(/images/bg_' + bg + '.jpg);')
|
||||||
#root
|
#root
|
||||||
h1= appconfig.title
|
h1= appconfig.title
|
||||||
h2 Login required
|
h2 Login required
|
||||||
@ -49,15 +49,15 @@ html
|
|||||||
else
|
else
|
||||||
span Log in using...
|
span Log in using...
|
||||||
if appconfig.auth.microsoft && appconfig.auth.microsoft.enabled
|
if appconfig.auth.microsoft && appconfig.auth.microsoft.enabled
|
||||||
button.ms(onclick="window.location.assign('/login/ms')")
|
button.ms(onclick='window.location.assign("/login/ms")')
|
||||||
i.fa.fa-windows
|
i.fa.fa-windows
|
||||||
span Microsoft Account
|
span Microsoft Account
|
||||||
if appconfig.auth.google && appconfig.auth.google.enabled
|
if appconfig.auth.google && appconfig.auth.google.enabled
|
||||||
button.google(onclick="window.location.assign('/login/google')")
|
button.google(onclick='window.location.assign("/login/google")')
|
||||||
i.fa.fa-google
|
i.fa.fa-google
|
||||||
span Google ID
|
span Google ID
|
||||||
if appconfig.auth.facebook && appconfig.auth.facebook.enabled
|
if appconfig.auth.facebook && appconfig.auth.facebook.enabled
|
||||||
button.facebook(onclick="window.location.assign('/login/facebook')")
|
button.facebook(onclick='window.location.assign("/login/facebook")')
|
||||||
i.fa.fa-facebook
|
i.fa.fa-facebook
|
||||||
span Facebook
|
span Facebook
|
||||||
#copyright
|
#copyright
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#alerts
|
#alerts
|
||||||
ul
|
ul
|
||||||
template(v-for="aItem in children", track-by='_uid')
|
template(v-for='aItem in children', track-by='_uid')
|
||||||
li(v-bind:class='aItem.class')
|
li(v-bind:class='aItem.class')
|
||||||
button(v-on:click='acknowledge(aItem._uid)')
|
button(v-on:click='acknowledge(aItem._uid)')
|
||||||
strong {{ aItem.title }}
|
strong {{ aItem.title }}
|
||||||
|
@ -6,4 +6,3 @@ footer.footer
|
|||||||
ul
|
ul
|
||||||
li: a(href='/')= t('footer.home')
|
li: a(href='/')= t('footer.home')
|
||||||
li: a(href='#root')= t('footer.top')
|
li: a(href='#root')= t('footer.top')
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
.nav-center
|
.nav-center
|
||||||
block rootNavCenter
|
block rootNavCenter
|
||||||
.nav-item
|
.nav-item
|
||||||
p.control(v-bind:class="{ 'is-loading': searchload > 0 }")
|
p.control(v-bind:class='{ "is-loading": searchload > 0 }')
|
||||||
input.input#search-input(type='text', v-model='searchq', @keyup.esc='closeSearch', @keyup.down='moveDownSearch', @keyup.up='moveUpSearch', @keyup.enter='moveSelectSearch', debounce='400', placeholder='Search...')
|
input.input#search-input(type='text', v-model='searchq', @keyup.esc='closeSearch', @keyup.down='moveDownSearch', @keyup.up='moveUpSearch', @keyup.enter='moveSelectSearch', debounce='400', placeholder='Search...')
|
||||||
span.nav-toggle
|
span.nav-toggle
|
||||||
span
|
span
|
||||||
@ -20,17 +20,15 @@
|
|||||||
block rootNavRight
|
block rootNavRight
|
||||||
i.nav-item#notifload
|
i.nav-item#notifload
|
||||||
|
|
||||||
transition(name="searchresults-anim", enter-active-class="slideInDown", leave-active-class="fadeOutUp")
|
transition(name='searchresults-anim', enter-active-class='slideInDown', leave-active-class='fadeOutUp')
|
||||||
.searchresults.animated(v-show='searchactive', v-cloak, style={'display':'none'})
|
.searchresults.animated(v-show='searchactive', v-cloak, style={'display':'none'})
|
||||||
p.searchresults-label Search Results
|
p.searchresults-label Search Results
|
||||||
ul.searchresults-list
|
ul.searchresults-list
|
||||||
li(v-if="searchres.length === 0")
|
li(v-if='searchres.length === 0')
|
||||||
a: em No results matching your query
|
a: em No results matching your query
|
||||||
li(v-for='sres in searchres', v-bind:class="{ 'is-active': searchmovekey === 'res.' + sres._id }")
|
li(v-for='sres in searchres', v-bind:class='{ "is-active": searchmovekey === "res." + sres._id }')
|
||||||
a(v-bind:href="'/' + sres._id") {{ sres.title }}
|
a(v-bind:href='"/" + sres._id') {{ sres.title }}
|
||||||
p.searchresults-label(v-if='searchsuggest.length > 0') Did you mean...?
|
p.searchresults-label(v-if='searchsuggest.length > 0') Did you mean...?
|
||||||
ul.searchresults-list(v-if='searchsuggest.length > 0')
|
ul.searchresults-list(v-if='searchsuggest.length > 0')
|
||||||
li(v-for='sug in searchsuggest', v-bind:class="{ 'is-active': searchmovekey === 'sug.' + sug }")
|
li(v-for='sug in searchsuggest', v-bind:class='{ "is-active": searchmovekey === "sug." + sug }')
|
||||||
a(v-on:click="useSuggestion(sug)") {{ sug }}
|
a(v-on:click='useSuggestion(sug)') {{ sug }}
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,17 +17,17 @@
|
|||||||
option(value='windowslive') Microsoft Account
|
option(value='windowslive') Microsoft Account
|
||||||
option(value='google') Google ID
|
option(value='google') Google ID
|
||||||
option(value='facebook') Facebook
|
option(value='facebook') Facebook
|
||||||
section(v-if="provider=='local'")
|
section(v-if='provider=="local"')
|
||||||
label.label Password:
|
label.label Password:
|
||||||
p.control.is-fullwidth
|
p.control.is-fullwidth
|
||||||
input.input(type='password', placeholder='', v-model='password')
|
input.input(type='password', placeholder='', v-model='password')
|
||||||
span.help.is-red.is-hidden This password is invalid!
|
span.help.is-red.is-hidden This password is invalid!
|
||||||
section(v-if="provider=='local'")
|
section(v-if='provider=="local"')
|
||||||
label.label Full Name:
|
label.label Full Name:
|
||||||
p.control.is-fullwidth
|
p.control.is-fullwidth
|
||||||
input.input(type='text', placeholder='e.g. John Doe', v-model='name')
|
input.input(type='text', placeholder='e.g. John Doe', v-model='name')
|
||||||
span.help.is-red.is-hidden This name is invalid!
|
span.help.is-red.is-hidden This name is invalid!
|
||||||
footer
|
footer
|
||||||
a.button.is-grey.is-outlined(v-on:click="cancel") Discard
|
a.button.is-grey.is-outlined(v-on:click='cancel') Discard
|
||||||
a.button.is-blue(v-on:click="create", v-if="provider=='local'") Create User
|
a.button.is-blue(v-on:click='create', v-if='provider=="local"') Create User
|
||||||
a.button.is-blue(v-on:click="create", v-if="provider!='local'") Authorize User
|
a.button.is-blue(v-on:click='create', v-if='provider!="local"') Authorize User
|
||||||
|
@ -6,5 +6,5 @@
|
|||||||
section
|
section
|
||||||
span Are you sure you want to delete this user account? This action cannot be undone!
|
span Are you sure you want to delete this user account? This action cannot be undone!
|
||||||
footer
|
footer
|
||||||
a.button.is-grey.is-outlined(v-on:click="cancel") Abort
|
a.button.is-grey.is-outlined(v-on:click='cancel') Abort
|
||||||
a.button.is-red(v-on:click="deleteUser") Delete
|
a.button.is-red(v-on:click='deleteUser') Delete
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
section
|
section
|
||||||
label.label Enter the new document path:
|
label.label Enter the new document path:
|
||||||
p.control.is-fullwidth
|
p.control.is-fullwidth
|
||||||
input.input(type='text', placeholder='page-name')#txt-create-prompt
|
input.input#txt-create-prompt(type='text', placeholder='page-name')
|
||||||
span.help.is-danger.is-hidden This document path is invalid!
|
span.help.is-danger.is-hidden This document path is invalid!
|
||||||
footer
|
footer
|
||||||
a.button.is-grey.is-outlined.btn-create-prompt Discard
|
a.button.is-grey.is-outlined.btn-create-prompt Discard
|
||||||
|
@ -14,10 +14,10 @@
|
|||||||
.model-sidebar-content
|
.model-sidebar-content
|
||||||
p.control.is-fullwidth
|
p.control.is-fullwidth
|
||||||
select(v-model='modeSelected')
|
select(v-model='modeSelected')
|
||||||
option(v-for="mode in modes" v-bind:value='mode.name') {{ mode.caption }}
|
option(v-for='mode in modes', v-bind:value='mode.name') {{ mode.caption }}
|
||||||
.column.ace-container
|
.column.ace-container
|
||||||
#codeblock-editor
|
#codeblock-editor
|
||||||
|
|
||||||
footer
|
footer
|
||||||
a.button.is-grey.is-outlined(v-on:click="cancel") Discard
|
a.button.is-grey.is-outlined(v-on:click='cancel') Discard
|
||||||
a.button.is-green(v-on:click="insertCode") Insert Code Block
|
a.button.is-green(v-on:click='insertCode') Insert Code Block
|
||||||
|
@ -6,41 +6,41 @@
|
|||||||
|
|
||||||
header.is-green
|
header.is-green
|
||||||
span Insert File
|
span Insert File
|
||||||
p.modal-notify(v-bind:class="{ 'is-active': isLoading }")
|
p.modal-notify(v-bind:class='{ "is-active": isLoading }')
|
||||||
span {{ isLoadingText }}
|
span {{ isLoadingText }}
|
||||||
i
|
i
|
||||||
.modal-toolbar.is-green
|
.modal-toolbar.is-green
|
||||||
a.button(v-on:click="newFolder")
|
a.button(v-on:click='newFolder')
|
||||||
i.fa.fa-folder
|
i.fa.fa-folder
|
||||||
span New Folder
|
span New Folder
|
||||||
a.button#btn-editor-file-upload
|
a.button#btn-editor-file-upload
|
||||||
i.fa.fa-upload
|
i.fa.fa-upload
|
||||||
span Upload File
|
span Upload File
|
||||||
label
|
label
|
||||||
input(type="file", multiple)
|
input(type='file', multiple)
|
||||||
section.is-gapless
|
section.is-gapless
|
||||||
.columns.is-stretched
|
.columns.is-stretched
|
||||||
.column.is-one-quarter.modal-sidebar.is-green(style={'max-width':'350px'})
|
.column.is-one-quarter.modal-sidebar.is-green(style={'max-width':'350px'})
|
||||||
.model-sidebar-header Folders
|
.model-sidebar-header Folders
|
||||||
ul.model-sidebar-list
|
ul.model-sidebar-list
|
||||||
li(v-for="fld in folders")
|
li(v-for='fld in folders')
|
||||||
a(v-on:click="selectFolder(fld)", v-bind:class="{ 'is-active': currentFolder === fld }")
|
a(v-on:click='selectFolder(fld)', v-bind:class='{ "is-active": currentFolder === fld }')
|
||||||
i.icon-folder2
|
i.icon-folder2
|
||||||
span / {{ fld }}
|
span / {{ fld }}
|
||||||
.column.editor-modal-file-choices
|
.column.editor-modal-file-choices
|
||||||
figure(v-for="fl in files", v-bind:class="{ 'is-active': currentFile === fl._id }", v-on:click="selectFile(fl._id)", v-bind:data-uid="fl._id")
|
figure(v-for='fl in files', v-bind:class='{ "is-active": currentFile === fl._id }', v-on:click='selectFile(fl._id)', v-bind:data-uid='fl._id')
|
||||||
i(class='icon-file')
|
i(class='icon-file')
|
||||||
span: strong {{ fl.filename }}
|
span: strong {{ fl.filename }}
|
||||||
span {{ fl.mime }}
|
span {{ fl.mime }}
|
||||||
span {{ fl.filesize | filesize }}
|
span {{ fl.filesize | filesize }}
|
||||||
em(v-show="files.length < 1")
|
em(v-show='files.length < 1')
|
||||||
i.icon-marquee-minus
|
i.icon-marquee-minus
|
||||||
| This folder is empty.
|
| This folder is empty.
|
||||||
footer
|
footer
|
||||||
a.button.is-grey.is-outlined(v-on:click="cancel") Discard
|
a.button.is-grey.is-outlined(v-on:click='cancel') Discard
|
||||||
a.button.is-green(v-on:click="insertFileLink") Insert Link to File
|
a.button.is-green(v-on:click='insertFileLink') Insert Link to File
|
||||||
|
|
||||||
.modal.is-superimposed(v-bind:class="{ 'is-active': newFolderShow }")
|
.modal.is-superimposed(v-bind:class='{ "is-active": newFolderShow }')
|
||||||
.modal-background
|
.modal-background
|
||||||
.modal-container
|
.modal-container
|
||||||
.modal-content
|
.modal-content
|
||||||
@ -48,13 +48,13 @@
|
|||||||
section
|
section
|
||||||
label.label Enter the new folder name:
|
label.label Enter the new folder name:
|
||||||
p.control.is-fullwidth
|
p.control.is-fullwidth
|
||||||
input.input#txt-editor-file-newfoldername(type='text', placeholder='folder name', v-model='newFolderName', v-on:keyup.enter="newFolderCreate", v-on:keyup.esc="newFolderDiscard")
|
input.input#txt-editor-file-newfoldername(type='text', placeholder='folder name', v-model='newFolderName', v-on:keyup.enter='newFolderCreate', v-on:keyup.esc='newFolderDiscard')
|
||||||
span.help.is-danger(v-show="newFolderError") This folder name is invalid!
|
span.help.is-danger(v-show='newFolderError') This folder name is invalid!
|
||||||
footer
|
footer
|
||||||
a.button.is-grey.is-outlined(v-on:click="newFolderDiscard") Discard
|
a.button.is-grey.is-outlined(v-on:click='newFolderDiscard') Discard
|
||||||
a.button.is-light-blue(v-on:click="newFolderCreate") Create
|
a.button.is-light-blue(v-on:click='newFolderCreate') Create
|
||||||
|
|
||||||
.modal.is-superimposed(v-bind:class="{ 'is-active': renameFileShow }")
|
.modal.is-superimposed(v-bind:class='{ "is-active": renameFileShow }')
|
||||||
.modal-background
|
.modal-background
|
||||||
.modal-container
|
.modal-container
|
||||||
.modal-content
|
.modal-content
|
||||||
@ -65,10 +65,10 @@
|
|||||||
input.input#txt-editor-file-rename(type='text', placeholder='filename', v-model='renameFileFilename')
|
input.input#txt-editor-file-rename(type='text', placeholder='filename', v-model='renameFileFilename')
|
||||||
span.help.is-danger.is-hidden This filename is invalid!
|
span.help.is-danger.is-hidden This filename is invalid!
|
||||||
footer
|
footer
|
||||||
a.button.is-grey.is-outlined(v-on:click="renameFileDiscard") Discard
|
a.button.is-grey.is-outlined(v-on:click='renameFileDiscard') Discard
|
||||||
a.button.is-light-blue(v-on:click="renameFileGo") Rename
|
a.button.is-light-blue(v-on:click='renameFileGo') Rename
|
||||||
|
|
||||||
.modal.is-superimposed(v-bind:class="{ 'is-active': deleteFileShow }")
|
.modal.is-superimposed(v-bind:class='{ "is-active": deleteFileShow }')
|
||||||
.modal-background
|
.modal-background
|
||||||
.modal-container
|
.modal-container
|
||||||
.modal-content
|
.modal-content
|
||||||
@ -76,5 +76,5 @@
|
|||||||
section
|
section
|
||||||
span Are you sure you want to delete #[strong {{deleteFileFilename}}]?
|
span Are you sure you want to delete #[strong {{deleteFileFilename}}]?
|
||||||
footer
|
footer
|
||||||
a.button.is-grey.is-outlined(v-on:click="deleteFileWarn(false)") Discard
|
a.button.is-grey.is-outlined(v-on:click='deleteFileWarn(false)') Discard
|
||||||
a.button.is-red(v-on:click="deleteFileGo") Delete
|
a.button.is-red(v-on:click='deleteFileGo') Delete
|
||||||
|
@ -6,19 +6,19 @@
|
|||||||
|
|
||||||
header.is-green
|
header.is-green
|
||||||
span Insert Image
|
span Insert Image
|
||||||
p.modal-notify(v-bind:class="{ 'is-active': isLoading }")
|
p.modal-notify(v-bind:class='{ "is-active": isLoading }')
|
||||||
span {{ isLoadingText }}
|
span {{ isLoadingText }}
|
||||||
i
|
i
|
||||||
.modal-toolbar.is-green
|
.modal-toolbar.is-green
|
||||||
a.button(v-on:click="newFolder")
|
a.button(v-on:click='newFolder')
|
||||||
i.fa.fa-folder
|
i.fa.fa-folder
|
||||||
span New Folder
|
span New Folder
|
||||||
a.button#btn-editor-image-upload
|
a.button#btn-editor-image-upload
|
||||||
i.fa.fa-upload
|
i.fa.fa-upload
|
||||||
span Upload Image
|
span Upload Image
|
||||||
label
|
label
|
||||||
input(type="file", multiple)
|
input(type='file', multiple)
|
||||||
a.button(v-on:click="fetchFromUrl")
|
a.button(v-on:click='fetchFromUrl')
|
||||||
i.fa.fa-download
|
i.fa.fa-download
|
||||||
span Fetch from URL
|
span Fetch from URL
|
||||||
section.is-gapless
|
section.is-gapless
|
||||||
@ -26,8 +26,8 @@
|
|||||||
.column.is-one-quarter.modal-sidebar.is-green(style={'max-width':'350px'})
|
.column.is-one-quarter.modal-sidebar.is-green(style={'max-width':'350px'})
|
||||||
.model-sidebar-header Folders
|
.model-sidebar-header Folders
|
||||||
ul.model-sidebar-list
|
ul.model-sidebar-list
|
||||||
li(v-for="fld in folders")
|
li(v-for='fld in folders')
|
||||||
a(v-on:click="selectFolder(fld)", v-bind:class="{ 'is-active': currentFolder === fld }")
|
a(v-on:click='selectFolder(fld)', v-bind:class='{ "is-active": currentFolder === fld }')
|
||||||
i.icon-folder2
|
i.icon-folder2
|
||||||
span / {{ fld }}
|
span / {{ fld }}
|
||||||
.model-sidebar-header Alignment
|
.model-sidebar-header Alignment
|
||||||
@ -39,18 +39,18 @@
|
|||||||
option(value='right') Right
|
option(value='right') Right
|
||||||
option(value='logo') Page Logo
|
option(value='logo') Page Logo
|
||||||
.column.editor-modal-image-choices
|
.column.editor-modal-image-choices
|
||||||
figure(v-for="img in images", v-bind:class="{ 'is-active': currentImage === img._id }", v-on:click="selectImage(img._id)", v-bind:data-uid="img._id")
|
figure(v-for='img in images', v-bind:class='{ "is-active": currentImage === img._id }', v-on:click='selectImage(img._id)', v-bind:data-uid='img._id')
|
||||||
img(v-bind:src="'/uploads/t/' + img._id + '.png'")
|
img(v-bind:src='"/uploads/t/" + img._id + ".png"')
|
||||||
span: strong {{ img.basename }}
|
span: strong {{ img.basename }}
|
||||||
span {{ img.filesize | filesize }}
|
span {{ img.filesize | filesize }}
|
||||||
em(v-show="images.length < 1")
|
em(v-show='images.length < 1')
|
||||||
i.icon-marquee-minus
|
i.icon-marquee-minus
|
||||||
| This folder is empty.
|
| This folder is empty.
|
||||||
footer
|
footer
|
||||||
a.button.is-grey.is-outlined(v-on:click="cancel") Discard
|
a.button.is-grey.is-outlined(v-on:click='cancel') Discard
|
||||||
a.button.is-green(v-on:click="insertImage") Insert Image
|
a.button.is-green(v-on:click='insertImage') Insert Image
|
||||||
|
|
||||||
.modal.is-superimposed(v-bind:class="{ 'is-active': newFolderShow }")
|
.modal.is-superimposed(v-bind:class='{ "is-active": newFolderShow }')
|
||||||
.modal-background
|
.modal-background
|
||||||
.modal-container
|
.modal-container
|
||||||
.modal-content
|
.modal-content
|
||||||
@ -58,13 +58,13 @@
|
|||||||
section
|
section
|
||||||
label.label Enter the new folder name:
|
label.label Enter the new folder name:
|
||||||
p.control.is-fullwidth
|
p.control.is-fullwidth
|
||||||
input.input#txt-editor-image-newfoldername(type='text', placeholder='folder name', v-model='newFolderName', v-on:keyup.enter="newFolderCreate", v-on:keyup.esc="newFolderDiscard")
|
input.input#txt-editor-image-newfoldername(type='text', placeholder='folder name', v-model='newFolderName', v-on:keyup.enter='newFolderCreate', v-on:keyup.esc='newFolderDiscard')
|
||||||
span.help.is-danger(v-show="newFolderError") This folder name is invalid!
|
span.help.is-danger(v-show='newFolderError') This folder name is invalid!
|
||||||
footer
|
footer
|
||||||
a.button.is-grey.is-outlined(v-on:click="newFolderDiscard") Discard
|
a.button.is-grey.is-outlined(v-on:click='newFolderDiscard') Discard
|
||||||
a.button.is-light-blue(v-on:click="newFolderCreate") Create
|
a.button.is-light-blue(v-on:click='newFolderCreate') Create
|
||||||
|
|
||||||
.modal.is-superimposed(v-bind:class="{ 'is-active': fetchFromUrlShow }")
|
.modal.is-superimposed(v-bind:class='{ "is-active": fetchFromUrlShow }')
|
||||||
.modal-background
|
.modal-background
|
||||||
.modal-container
|
.modal-container
|
||||||
.modal-content
|
.modal-content
|
||||||
@ -75,10 +75,10 @@
|
|||||||
input.input#txt-editor-image-fetchurl(type='text', placeholder='http://www.example.com/some-image.png', v-model='fetchFromUrlURL')
|
input.input#txt-editor-image-fetchurl(type='text', placeholder='http://www.example.com/some-image.png', v-model='fetchFromUrlURL')
|
||||||
span.help.is-danger.is-hidden This URL path is invalid!
|
span.help.is-danger.is-hidden This URL path is invalid!
|
||||||
footer
|
footer
|
||||||
a.button.is-grey.is-outlined(v-on:click="fetchFromUrlDiscard") Discard
|
a.button.is-grey.is-outlined(v-on:click='fetchFromUrlDiscard') Discard
|
||||||
a.button.is-light-blue(v-on:click="fetchFromUrlGo") Fetch
|
a.button.is-light-blue(v-on:click='fetchFromUrlGo') Fetch
|
||||||
|
|
||||||
.modal.is-superimposed(v-bind:class="{ 'is-active': renameImageShow }")
|
.modal.is-superimposed(v-bind:class='{ "is-active": renameImageShow }')
|
||||||
.modal-background
|
.modal-background
|
||||||
.modal-container
|
.modal-container
|
||||||
.modal-content
|
.modal-content
|
||||||
@ -89,10 +89,10 @@
|
|||||||
input.input#txt-editor-image-rename(type='text', placeholder='filename', v-model='renameImageFilename')
|
input.input#txt-editor-image-rename(type='text', placeholder='filename', v-model='renameImageFilename')
|
||||||
span.help.is-danger.is-hidden This filename is invalid!
|
span.help.is-danger.is-hidden This filename is invalid!
|
||||||
footer
|
footer
|
||||||
a.button.is-grey.is-outlined(v-on:click="renameImageDiscard") Discard
|
a.button.is-grey.is-outlined(v-on:click='renameImageDiscard') Discard
|
||||||
a.button.is-light-blue(v-on:click="renameImageGo") Rename
|
a.button.is-light-blue(v-on:click='renameImageGo') Rename
|
||||||
|
|
||||||
.modal.is-superimposed(v-bind:class="{ 'is-active': deleteImageShow }")
|
.modal.is-superimposed(v-bind:class='{ "is-active": deleteImageShow }')
|
||||||
.modal-background
|
.modal-background
|
||||||
.modal-container
|
.modal-container
|
||||||
.modal-content
|
.modal-content
|
||||||
@ -100,5 +100,5 @@
|
|||||||
section
|
section
|
||||||
span Are you sure you want to delete #[strong {{deleteImageFilename}}]?
|
span Are you sure you want to delete #[strong {{deleteImageFilename}}]?
|
||||||
footer
|
footer
|
||||||
a.button.is-grey.is-outlined(v-on:click="deleteImageWarn(false)") Discard
|
a.button.is-grey.is-outlined(v-on:click='deleteImageWarn(false)') Discard
|
||||||
a.button.is-red(v-on:click="deleteImageGo") Delete
|
a.button.is-red(v-on:click='deleteImageGo') Delete
|
||||||
|
@ -24,5 +24,5 @@
|
|||||||
i.icon-video
|
i.icon-video
|
||||||
span Any standard MP4 file
|
span Any standard MP4 file
|
||||||
footer
|
footer
|
||||||
a.button.is-grey.is-outlined(v-on:click="cancel") Discard
|
a.button.is-grey.is-outlined(v-on:click='cancel') Discard
|
||||||
a.button.is-green(v-on:click="insertVideo") Insert Video
|
a.button.is-green(v-on:click='insertVideo') Insert Video
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
section
|
section
|
||||||
label.label Enter the new document path:
|
label.label Enter the new document path:
|
||||||
p.control.is-fullwidth
|
p.control.is-fullwidth
|
||||||
input.input(type='text', placeholder='page-name')#txt-move-prompt
|
input.input#txt-move-prompt(type='text', placeholder='page-name')
|
||||||
span.help.is-red.is-hidden This document path is invalid or not allowed!
|
span.help.is-red.is-hidden This document path is invalid or not allowed!
|
||||||
span.note Note that moving or renaming documents can lead to broken links. Make sure to edit any page that links to this document afterwards!
|
span.note Note that moving or renaming documents can lead to broken links. Make sure to edit any page that links to this document afterwards!
|
||||||
footer
|
footer
|
||||||
|
@ -12,7 +12,7 @@ block adminContent
|
|||||||
label.label Email
|
label.label Email
|
||||||
p.control.is-fullwidth
|
p.control.is-fullwidth
|
||||||
input.input(type='text', placeholder='Email', value=user.email, disabled)
|
input.input(type='text', placeholder='Email', value=user.email, disabled)
|
||||||
if user.provider == 'local'
|
if user.provider === 'local'
|
||||||
section
|
section
|
||||||
label.label Password
|
label.label Password
|
||||||
p.control.is-fullwidth
|
p.control.is-fullwidth
|
||||||
|
Loading…
x
Reference in New Issue
Block a user