update: add events component
This commit is contained in:
parent
0f43e021f2
commit
d5e19c469c
@ -47,6 +47,7 @@ Current Sib App capabilities:
|
|||||||
| Base | `djangoldp_account`, `djangoldp_profile`, `djangoldp_notification`, `oidc_provider` | `users` |
|
| Base | `djangoldp_account`, `djangoldp_profile`, `djangoldp_notification`, `oidc_provider` | `users` |
|
||||||
| Circles | `djangoldp_circle` | `circles` |
|
| Circles | `djangoldp_circle` | `circles` |
|
||||||
| Projects | `djangoldp_project` | `projects`, `customers` |
|
| Projects | `djangoldp_project` | `projects`, `customers` |
|
||||||
|
| Events | `djangoldp_event` | `events` |
|
||||||
|
|
||||||
Federated Sib App needs to use `config.sample.federated.json` example.
|
Federated Sib App needs to use `config.sample.federated.json` example.
|
||||||
|
|
||||||
|
@ -11,12 +11,14 @@
|
|||||||
"circles": "http://localhost:8000/circles/",
|
"circles": "http://localhost:8000/circles/",
|
||||||
"projects": "http://localhost:8000/projects/",
|
"projects": "http://localhost:8000/projects/",
|
||||||
"customers": "http://localhost:8000/customers/",
|
"customers": "http://localhost:8000/customers/",
|
||||||
|
"events": "http://localhost:8000/events/",
|
||||||
"users": "http://localhost:8000/users/"
|
"users": "http://localhost:8000/users/"
|
||||||
},
|
},
|
||||||
"post": {
|
"post": {
|
||||||
"circles": "http://localhost:8000/circles/",
|
"circles": "http://localhost:8000/circles/",
|
||||||
"projects": "http://localhost:8000/projects/",
|
"projects": "http://localhost:8000/projects/",
|
||||||
"customers": "http://localhost:8000/customers/",
|
"customers": "http://localhost:8000/customers/",
|
||||||
|
"events": "http://localhost:8000/events/",
|
||||||
"users": "http://localhost:8000/users/"
|
"users": "http://localhost:8000/users/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
"circles": "http://localhost:8000/circles/",
|
"circles": "http://localhost:8000/circles/",
|
||||||
"projects": "http://localhost:8000/projects/",
|
"projects": "http://localhost:8000/projects/",
|
||||||
"customers": "http://localhost:8000/customers/",
|
"customers": "http://localhost:8000/customers/",
|
||||||
|
"events": "http://localhost:8000/events/",
|
||||||
"users": "http://localhost:8000/users/"
|
"users": "http://localhost:8000/users/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,7 @@ script(src="/scripts/index.js")
|
|||||||
//- script(type="module" src="/lib/sib-router/src/index.js")
|
//- script(type="module" src="/lib/sib-router/src/index.js")
|
||||||
//- script(type="module" src="/lib/sib-chat/sib-chat.js")
|
//- script(type="module" src="/lib/sib-chat/sib-chat.js")
|
||||||
//- script(type="module" src="/lib/sib-notifications/sib-notifications.js")
|
//- script(type="module" src="/lib/sib-notifications/sib-notifications.js")
|
||||||
|
//- script(type="module" src="/lib/sib-event/sib-event.js")
|
||||||
//- script(type="module" src="/lib/sib-conversation/sib-conversation.js")
|
//- script(type="module" src="/lib/sib-conversation/sib-conversation.js")
|
||||||
//- script(type="module" src="/lib/sib-directory/sib-directory.js")
|
//- script(type="module" src="/lib/sib-directory/sib-directory.js")
|
||||||
//- script(type="module" src="/lib/sib-job-board/sib-job-board.js")
|
//- script(type="module" src="/lib/sib-job-board/sib-job-board.js")
|
||||||
@ -14,6 +15,7 @@ script(type="module" src="https://unpkg.com/@startinblox/core@0.9")
|
|||||||
script(type="module" src="https://unpkg.com/@startinblox/router@0.7")
|
script(type="module" src="https://unpkg.com/@startinblox/router@0.7")
|
||||||
script(type="module" src="https://unpkg.com/@startinblox/component-chat@0.4")
|
script(type="module" src="https://unpkg.com/@startinblox/component-chat@0.4")
|
||||||
script(type="module" src="https://unpkg.com/@startinblox/component-notifications@0.3")
|
script(type="module" src="https://unpkg.com/@startinblox/component-notifications@0.3")
|
||||||
|
script(type="module" src="https://unpkg.com/@startinblox/component-event@0.1")
|
||||||
//- script(type="module" src="https://unpkg.com/@startinblox/component-conversation@0.3")
|
//- script(type="module" src="https://unpkg.com/@startinblox/component-conversation@0.3")
|
||||||
//- script(type="module" src="https://unpkg.com/@startinblox/component-directory@0.3")
|
//- script(type="module" src="https://unpkg.com/@startinblox/component-directory@0.3")
|
||||||
//- script(type="module" src="https://unpkg.com/@startinblox/component-job-board@0.3")
|
//- script(type="module" src="https://unpkg.com/@startinblox/component-job-board@0.3")
|
||||||
|
@ -43,6 +43,10 @@ html(lang="en")
|
|||||||
#messages(hidden).with-sidebar
|
#messages(hidden).with-sidebar
|
||||||
include page-messages.pug
|
include page-messages.pug
|
||||||
|
|
||||||
|
if endpoints.events || (endpoints.get && endpoints.get.events)
|
||||||
|
#events(hidden)
|
||||||
|
include page-events.pug
|
||||||
|
|
||||||
#admin(hidden).with-sidebar
|
#admin(hidden).with-sidebar
|
||||||
include page-admin.pug
|
include page-admin.pug
|
||||||
|
|
||||||
|
@ -19,6 +19,11 @@ nav#main__menu.jsLeftMenu
|
|||||||
//- sib-route(name='job-offer-create', hidden)
|
//- sib-route(name='job-offer-create', hidden)
|
||||||
//- sib-route(name='job-offer-edit', use-id, hidden)
|
//- sib-route(name='job-offer-edit', use-id, hidden)
|
||||||
//- div.divider
|
//- div.divider
|
||||||
|
if endpoints.events || (endpoints.get && endpoints.get.events)
|
||||||
|
sib-route.menu(name='events')
|
||||||
|
div.menu-label Events
|
||||||
|
div.menu-icon.icon-calendar
|
||||||
|
div.divider
|
||||||
if endpoints.projects || (endpoints.get && endpoints.get.projects)
|
if endpoints.projects || (endpoints.get && endpoints.get.projects)
|
||||||
div
|
div
|
||||||
div.menu
|
div.menu
|
||||||
|
2
src/page-events.pug
Normal file
2
src/page-events.pug
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.views-container
|
||||||
|
sib-event(data-src=`${endpoints.events || (endpoints.get && endpoints.get.events)}`)
|
Loading…
Reference in New Issue
Block a user