fix: Safari js workaround
This commit is contained in:
parent
8ad17daa0e
commit
c82aacfb29
6
fuse.js
6
fuse.js
@ -114,9 +114,9 @@ globalTasks.then(() => {
|
|||||||
log: true
|
log: true
|
||||||
})
|
})
|
||||||
|
|
||||||
const bundleVendor = fuse.bundle('vendor').shim(SHIMS).instructions('~ index.js') // eslint-disable-line no-unused-vars
|
// const bundleVendor = fuse.bundle('vendor').shim(SHIMS).instructions('~ index.js') // eslint-disable-line no-unused-vars
|
||||||
const bundleApp = fuse.bundle('app').instructions('!> [index.js]')
|
// const bundleApp = fuse.bundle('app').instructions('!> [index.js]')
|
||||||
// const bundleApp = fuse.bundle('app').instructions('> index.js')
|
const bundleApp = fuse.bundle('app').instructions('> index.js')
|
||||||
const bundleSetup = fuse.bundle('configure').instructions('> configure.js')
|
const bundleSetup = fuse.bundle('configure').instructions('> configure.js')
|
||||||
|
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
|
@ -18,7 +18,7 @@ html(data-logic='login')
|
|||||||
link(rel='manifest', href='/manifest.json')
|
link(rel='manifest', href='/manifest.json')
|
||||||
|
|
||||||
// JS / CSS
|
// JS / CSS
|
||||||
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
|
//- script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
|
||||||
script(type='text/javascript', src=appconfig.host + '/js/app.js')
|
script(type='text/javascript', src=appconfig.host + '/js/app.js')
|
||||||
|
|
||||||
body
|
body
|
||||||
|
@ -13,7 +13,7 @@ html(data-logic='configure')
|
|||||||
script(type='text/javascript').
|
script(type='text/javascript').
|
||||||
var appconfig = !{JSON.stringify(conf)};
|
var appconfig = !{JSON.stringify(conf)};
|
||||||
var runmode = !{JSON.stringify(runmode)};
|
var runmode = !{JSON.stringify(runmode)};
|
||||||
script(type='text/javascript', src='/js/vendor.js')
|
//- script(type='text/javascript', src='/js/vendor.js')
|
||||||
script(type='text/javascript', src='/js/configure.js')
|
script(type='text/javascript', src='/js/configure.js')
|
||||||
|
|
||||||
body
|
body
|
||||||
|
@ -18,7 +18,7 @@ html(data-logic='error')
|
|||||||
link(rel='manifest', href=appconfig.host + '/manifest.json')
|
link(rel='manifest', href=appconfig.host + '/manifest.json')
|
||||||
|
|
||||||
// JS / CSS
|
// JS / CSS
|
||||||
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
|
//- script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
|
||||||
script(type='text/javascript', src=appconfig.host + '/js/app.js')
|
script(type='text/javascript', src=appconfig.host + '/js/app.js')
|
||||||
|
|
||||||
body(class='is-forbidden')
|
body(class='is-forbidden')
|
||||||
|
@ -18,7 +18,7 @@ html(data-logic='error')
|
|||||||
link(rel='manifest', href=appconfig.host + '/manifest.json')
|
link(rel='manifest', href=appconfig.host + '/manifest.json')
|
||||||
|
|
||||||
// JS / CSS
|
// JS / CSS
|
||||||
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
|
//- script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
|
||||||
script(type='text/javascript', src=appconfig.host + '/js/app.js')
|
script(type='text/javascript', src=appconfig.host + '/js/app.js')
|
||||||
|
|
||||||
body(class='is-notexist')
|
body(class='is-notexist')
|
||||||
|
@ -18,7 +18,7 @@ html(data-logic='error')
|
|||||||
link(rel='manifest', href=appconfig.host + '/manifest.json')
|
link(rel='manifest', href=appconfig.host + '/manifest.json')
|
||||||
|
|
||||||
// JS / CSS
|
// JS / CSS
|
||||||
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
|
//- script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
|
||||||
script(type='text/javascript', src=appconfig.host + '/js/app.js')
|
script(type='text/javascript', src=appconfig.host + '/js/app.js')
|
||||||
|
|
||||||
body(class='is-error')
|
body(class='is-error')
|
||||||
|
@ -23,7 +23,7 @@ html
|
|||||||
var siteRoot = '!{appconfig.host}';
|
var siteRoot = '!{appconfig.host}';
|
||||||
|
|
||||||
//- JS / CSS
|
//- JS / CSS
|
||||||
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
|
//- script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
|
||||||
script(type='text/javascript', src=appconfig.host + '/js/app.js')
|
script(type='text/javascript', src=appconfig.host + '/js/app.js')
|
||||||
|
|
||||||
block head
|
block head
|
||||||
|
@ -48,7 +48,7 @@ block content
|
|||||||
a(href='/admin/theme')
|
a(href='/admin/theme')
|
||||||
i.nc-icon-outline.ui-1_drop
|
i.nc-icon-outline.ui-1_drop
|
||||||
span= t('nav.theme')
|
span= t('nav.theme')
|
||||||
li
|
//-li
|
||||||
a(href='/admin/settings')
|
a(href='/admin/settings')
|
||||||
i.nc-icon-outline.ui-1_settings-gear-63
|
i.nc-icon-outline.ui-1_settings-gear-63
|
||||||
span= t('nav.syssettings')
|
span= t('nav.syssettings')
|
||||||
|
@ -18,7 +18,7 @@ block rootNavRight
|
|||||||
a.button.is-outlined(href='/source/' + pageData.meta.path)
|
a.button.is-outlined(href='/source/' + pageData.meta.path)
|
||||||
i.nc-icon-outline.education_paper
|
i.nc-icon-outline.education_paper
|
||||||
span= t('nav.source')
|
span= t('nav.source')
|
||||||
a.button.is-outlined(href='/hist/' + pageData.meta.path)
|
//-a.button.is-outlined(href='/hist/' + pageData.meta.path)
|
||||||
i.nc-icon-outline.ui-2_time
|
i.nc-icon-outline.ui-2_time
|
||||||
span= t('nav.history')
|
span= t('nav.history')
|
||||||
if rights.write
|
if rights.write
|
||||||
|
Loading…
x
Reference in New Issue
Block a user