update: Use the new solid-event component with hubl-style
This commit is contained in:
parent
7d4216e17f
commit
899caee8c9
@ -15,10 +15,9 @@ if themeChecker
|
|||||||
link(rel='stylesheet', href='https://cdn.jsdelivr.net/npm/@simonwep/pickr/dist/themes/nano.min.css')
|
link(rel='stylesheet', href='https://cdn.jsdelivr.net/npm/@simonwep/pickr/dist/themes/nano.min.css')
|
||||||
|
|
||||||
if endpoints.get
|
if endpoints.get
|
||||||
//- Disabled - Not in core@0.15
|
if endpoints.get.events && endpoints.get.typeevents
|
||||||
//- if endpoints.get.events && endpoints.get.typeevents
|
script(type="module", src="https://cdn.skypack.dev/@startinblox/component-event@2.1", defer)
|
||||||
//- script(type="module" src="https://cdn.skypack.dev/@startinblox/component-event@1.4" defer)
|
//- script(type="module", src="/lib/solid-event/solid-event.js", defer)
|
||||||
//- script(type="module" src="/lib/sib-event-component/sib-event.js" defer)
|
|
||||||
|
|
||||||
//- Disabled - Not in core@0.15
|
//- Disabled - Not in core@0.15
|
||||||
//- if endpoints.get.resources && endpoints.get.resourceskeywords && endpoints.get.resourcestypes
|
//- if endpoints.get.resources && endpoints.get.resourceskeywords && endpoints.get.resourcestypes
|
||||||
|
@ -105,7 +105,7 @@ html(lang="en")
|
|||||||
include views/page-polls.pug
|
include views/page-polls.pug
|
||||||
|
|
||||||
if endpoints.get.events
|
if endpoints.get.events
|
||||||
#events(hidden, data-view="events")
|
#events(hidden, data-view="events").scrollbar-content.bg-color-white
|
||||||
include views/page-events.pug
|
include views/page-events.pug
|
||||||
|
|
||||||
if endpoints.get.resources
|
if endpoints.get.resources
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
.views-container
|
div.whitespace-normal
|
||||||
solid-event(data-src=`${endpoints.events || (endpoints.get && endpoints.get.events)}`
|
solid-event(data-src=`${endpoints.events || endpoints.get.events}`
|
||||||
range-event-type=`${endpoints.typeevents || (endpoints.get && endpoints.get.typeevents)}`
|
range-event-type=`${endpoints.typeevents || endpoints.get.typeevents}`
|
||||||
range-event-circle=`${endpoints.circles || (endpoints.get && endpoints.get.circles)}`
|
range-event-circle=`${endpoints.circles || endpoints.get.circles}`
|
||||||
upload-dir=`${endpoints.uploads || (endpoints.get && endpoints.get.uploads)}`
|
upload-dir=`${endpoints.uploads || endpoints.get.uploads}`
|
||||||
id-prefix='default'
|
id-prefix='default'
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user