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-01-16 19:51:54 +00:00
|
|
|
title #{clientName || "Sib App"}
|
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")
|
2019-04-22 14:13:24 +00:00
|
|
|
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}`)
|
2018-11-17 11:08:47 +00:00
|
|
|
body
|
2019-05-14 15:32:42 +00:00
|
|
|
header#header(role='banner')
|
2019-05-13 16:50:34 +00:00
|
|
|
include header.pug
|
2020-02-19 16:03:47 +00:00
|
|
|
|
|
|
|
main.notLoggedIn
|
2019-05-13 16:50:34 +00:00
|
|
|
include menu-left.pug
|
2019-05-14 15:32:42 +00:00
|
|
|
div#viewport
|
2019-05-13 16:50:34 +00:00
|
|
|
|
2020-02-10 12:59:23 +00:00
|
|
|
if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users))
|
|
|
|
#members(hidden).no-sidebar
|
|
|
|
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)
|
|
|
|
#job-offers(hidden).no-sidebar
|
|
|
|
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)
|
|
|
|
#project(hidden).with-sidebar
|
|
|
|
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)
|
|
|
|
#circle(hidden).with-sidebar
|
|
|
|
include page-circle.pug
|
2019-05-14 15:32:42 +00:00
|
|
|
|
2020-02-03 13:39:14 +00:00
|
|
|
if endpoints.users || (endpoints.get && endpoints.get.users)
|
|
|
|
#messages(hidden).with-sidebar
|
|
|
|
include page-messages.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)
|
|
|
|
#events(hidden)
|
|
|
|
include page-events.pug
|
|
|
|
|
2019-10-25 17:15:45 +00:00
|
|
|
#admin(hidden).with-sidebar
|
2020-04-01 10:12:55 +00:00
|
|
|
include page-admin.pug
|
|
|
|
|
|
|
|
if analytics
|
|
|
|
each provider in analytics
|
|
|
|
if provider.type && provider.url && provider.url
|
|
|
|
sib-analytics(
|
|
|
|
type=`${provider.type}`
|
|
|
|
url=`${provider.url}`
|
|
|
|
id=`${provider.id}`
|
|
|
|
)
|