2018-12-17 14:20:36 +00:00
|
|
|
include get_config.pug
|
2019-05-02 16:32:20 +00:00
|
|
|
doctype html
|
2018-09-28 19:20:15 +00:00
|
|
|
html(lang="en")
|
|
|
|
head
|
|
|
|
meta(charset="UTF-8")
|
2020-05-08 13:27:44 +00:00
|
|
|
title #{clientName || "My Personal Hubl"}
|
2018-09-28 19:20:15 +00:00
|
|
|
meta(name="viewport", content="width=device-width, initial-scale=1.0")
|
|
|
|
meta(http-equiv="X-UA-Compatible", content="ie=edge")
|
2020-05-08 13:27:44 +00:00
|
|
|
if clientFavicon
|
|
|
|
link(rel="icon" type="image/png" href=`${clientFavicon}`)
|
|
|
|
else
|
|
|
|
link(rel="icon" type="image/png" href="/images/favicon.png")
|
2018-09-28 19:20:15 +00:00
|
|
|
include dependencies.pug
|
2020-02-03 13:47:58 +00:00
|
|
|
if clientCSS
|
|
|
|
link(rel='stylesheet', href=`${clientCSS}`)
|
2020-08-08 12:11:18 +00:00
|
|
|
|
2018-11-17 11:08:47 +00:00
|
|
|
body
|
2020-02-19 16:03:47 +00:00
|
|
|
|
2020-06-01 15:11:24 +00:00
|
|
|
.wrapper
|
|
|
|
|
2020-06-03 12:16:29 +00:00
|
|
|
header#header.header.is-spaced(role='banner')
|
2020-06-01 15:11:24 +00:00
|
|
|
include header.pug
|
|
|
|
|
|
|
|
nav#main__menu.left-menu.jsLeftMenu
|
|
|
|
include menu-left.pug
|
|
|
|
|
2020-06-05 09:25:57 +00:00
|
|
|
main#viewport.content.notLoggedIn
|
2019-05-13 16:50:34 +00:00
|
|
|
|
2020-04-15 13:21:02 +00:00
|
|
|
if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards)
|
2020-10-19 14:12:14 +00:00
|
|
|
#dashboard(hidden, data-view="dashboard").no-sidebar.with-padding
|
2020-03-26 10:19:11 +00:00
|
|
|
include page-dashboard.pug
|
|
|
|
|
2020-02-10 12:59:23 +00:00
|
|
|
if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users))
|
2020-10-19 14:12:14 +00:00
|
|
|
#members(hidden, data-view="members").no-sidebar.with-padding
|
2020-02-10 12:59:23 +00:00
|
|
|
include page-directory.pug
|
2019-05-13 16:50:34 +00:00
|
|
|
|
2020-02-10 12:59:23 +00:00
|
|
|
if endpoints.joboffers || (endpoints.get && endpoints.get.joboffers)
|
2020-10-19 14:12:14 +00:00
|
|
|
#job-offers(hidden, data-view="job-offers").no-sidebar.with-padding
|
2020-07-16 08:36:53 +00:00
|
|
|
if (endpoints.post && endpoints.post.joboffers) && (endpoints.get && endpoints.get.joboffers)
|
|
|
|
hubl-reactivity(data-src=`${endpoints.post.joboffers}current/` target-src=`${endpoints.get.joboffers}`)
|
|
|
|
hubl-reactivity(data-src=`${endpoints.post.joboffers}expired/` target-src=`${endpoints.get.joboffers}`)
|
|
|
|
hubl-reactivity(data-src=`${endpoints.post.joboffers}` target-src=`${endpoints.get.joboffers}`)
|
2020-06-18 18:02:54 +00:00
|
|
|
hubl-reactivity(data-src=`${endpoints.joboffers || endpoints.get.joboffers}current/` target-src=`${endpoints.joboffers || endpoints.get.joboffers}`)
|
|
|
|
hubl-reactivity(data-src=`${endpoints.joboffers || endpoints.get.joboffers}current/` target-src=`${endpoints.joboffers || endpoints.get.joboffers}expired/`)
|
|
|
|
hubl-reactivity(data-src=`${endpoints.joboffers || endpoints.get.joboffers}expired/` target-src=`${endpoints.joboffers || endpoints.get.joboffers}`)
|
2020-06-23 18:29:12 +00:00
|
|
|
hubl-reactivity(bind-user nested-field="joboffers" target-src=`${endpoints.joboffers || endpoints.get.joboffers}expired/`)
|
|
|
|
hubl-reactivity(bind-user nested-field="joboffers" target-src=`${endpoints.joboffers || endpoints.get.joboffers}`)
|
|
|
|
hubl-reactivity(bind-user nested-field="joboffers" target-src=`${endpoints.joboffers || endpoints.get.joboffers}current/`)
|
2020-02-10 12:59:23 +00:00
|
|
|
include page-job-offers.pug
|
2019-06-11 16:37:06 +00:00
|
|
|
|
2020-02-03 13:39:14 +00:00
|
|
|
if endpoints.projects || (endpoints.get && endpoints.get.projects)
|
2020-10-19 14:12:14 +00:00
|
|
|
#project(hidden, data-view="project").with-sidebar
|
2020-07-28 11:49:12 +00:00
|
|
|
if (endpoints.post && endpoints.post.projects) && (endpoints.get && endpoints.get.projects)
|
|
|
|
hubl-reactivity(data-src=`${endpoints.post.projects}joinable/` target-src=`${endpoints.get.projects}`)
|
|
|
|
hubl-reactivity(data-src=`${endpoints.post.projects}` target-src=`${endpoints.get.projects}`)
|
2020-07-30 12:49:17 +00:00
|
|
|
hubl-reactivity(bind-user nested-field="projects" target-src=`${endpoints.post.projects}`)
|
|
|
|
hubl-reactivity(bind-user nested-field="projects" target-src=`${endpoints.post.projects}joinable/`)
|
2020-06-18 18:02:54 +00:00
|
|
|
hubl-reactivity(data-src=`${endpoints.projects || endpoints.get.projects}joinable/` target-src=`${endpoints.projects || endpoints.get.projects}`)
|
2020-06-23 18:29:12 +00:00
|
|
|
hubl-reactivity(bind-user nested-field="projects" target-src=`${endpoints.projects || endpoints.get.projects}`)
|
|
|
|
hubl-reactivity(bind-user nested-field="projects" target-src=`${endpoints.projects || endpoints.get.projects}joinable/`)
|
2020-02-03 13:39:14 +00:00
|
|
|
include page-project.pug
|
2019-05-13 16:50:34 +00:00
|
|
|
|
2020-02-03 13:39:14 +00:00
|
|
|
if endpoints.circles || (endpoints.get && endpoints.get.circles)
|
2020-10-19 14:12:14 +00:00
|
|
|
#circle(hidden, data-view="circle").with-sidebar
|
2020-07-28 11:49:12 +00:00
|
|
|
if (endpoints.post && endpoints.post.circles) && (endpoints.get && endpoints.get.circles)
|
|
|
|
hubl-reactivity(data-src=`${endpoints.post.circles}joinable/` target-src=`${endpoints.get.circles}`)
|
|
|
|
hubl-reactivity(data-src=`${endpoints.post.circles}` target-src=`${endpoints.get.circles}`)
|
2020-07-30 12:49:17 +00:00
|
|
|
hubl-reactivity(bind-user nested-field="circles" target-src=`${endpoints.post.circles}`)
|
|
|
|
hubl-reactivity(bind-user nested-field="circles" target-src=`${endpoints.post.circles}joinable/`)
|
2020-06-18 18:02:54 +00:00
|
|
|
hubl-reactivity(data-src=`${endpoints.circles || endpoints.get.circles}joinable/` target-src=`${endpoints.circles || endpoints.get.circles}`)
|
2020-06-23 18:29:12 +00:00
|
|
|
hubl-reactivity(bind-user nested-field="circles" target-src=`${endpoints.circles || endpoints.get.circles}`)
|
|
|
|
hubl-reactivity(bind-user nested-field="circles" target-src=`${endpoints.circles || endpoints.get.circles}joinable/`)
|
2020-02-03 13:39:14 +00:00
|
|
|
include page-circle.pug
|
|
|
|
if endpoints.users || (endpoints.get && endpoints.get.users)
|
2020-10-19 14:12:14 +00:00
|
|
|
#messages(hidden, data-view="messages").with-sidebar
|
2020-02-03 13:39:14 +00:00
|
|
|
include page-messages.pug
|
2020-08-08 12:11:18 +00:00
|
|
|
|
|
|
|
if endpoints.polls || (endpoints.get && endpoints.get.polls)
|
2020-10-19 14:12:14 +00:00
|
|
|
#polls(hidden, data-view="polls").with-sidebar
|
2020-08-08 12:11:18 +00:00
|
|
|
include page-polls.pug
|
2019-10-25 17:15:45 +00:00
|
|
|
|
2020-02-03 14:43:16 +00:00
|
|
|
if endpoints.events || (endpoints.get && endpoints.get.events)
|
2020-10-19 14:12:14 +00:00
|
|
|
#events(hidden, data-view="events")
|
2020-02-03 14:43:16 +00:00
|
|
|
include page-events.pug
|
|
|
|
|
2020-06-16 10:01:29 +00:00
|
|
|
if endpoints.resources || (endpoints.get && endpoints.get.resources)
|
2020-10-19 14:12:14 +00:00
|
|
|
#resources(hidden, data-view="resources")
|
2020-06-16 10:01:29 +00:00
|
|
|
include page-resources.pug
|
|
|
|
|
2020-10-19 14:12:14 +00:00
|
|
|
#admin(hidden, data-view="admin").with-sidebar
|
2020-04-01 10:12:55 +00:00
|
|
|
include page-admin.pug
|
2020-06-01 10:42:35 +00:00
|
|
|
|
2020-10-19 14:12:14 +00:00
|
|
|
#about(data-view="about").no-sidebar.with-padding
|
2020-06-01 10:42:35 +00:00
|
|
|
include page-about.pug
|
2020-05-27 06:44:54 +00:00
|
|
|
|
|
|
|
if (endpoints.skills || (endpoints.get && endpoints.get.skills)) && (endpoints.uploads || (endpoints.post && endpoints.post.uploads)) && (endpoints.users || (endpoints.post && endpoints.post.users))
|
2020-10-19 14:12:14 +00:00
|
|
|
#profile(hidden, data-view="profile").no-sidebar
|
2020-05-27 06:44:54 +00:00
|
|
|
include page-profile.pug
|
2020-04-01 10:12:55 +00:00
|
|
|
|
|
|
|
if analytics
|
|
|
|
each provider in analytics
|
|
|
|
if provider.type && provider.url && provider.url
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-analytics(
|
2020-04-01 10:12:55 +00:00
|
|
|
type=`${provider.type}`
|
|
|
|
url=`${provider.url}`
|
|
|
|
id=`${provider.id}`
|
2020-05-27 09:17:44 +00:00
|
|
|
)
|