Skip to content
Snippets Groups Projects
index.pug 1.63 KiB
Newer Older
Clément's avatar
Clément committed
include get_config.pug
Clément's avatar
Clément committed
html(lang="en")
  head
    meta(charset="UTF-8")
    title #{clientName || "Sib App"}
Clément's avatar
Clément committed
    meta(name="viewport", content="width=device-width, initial-scale=1.0")
    meta(http-equiv="X-UA-Compatible", content="ie=edge")
Gaëlle Morin's avatar
Gaëlle Morin committed
    link(rel="icon" type="image/png" href="/images/favicon.png")
Clément's avatar
Clément committed
    include dependencies.pug
    if endpoints.clientCSS
      link(rel='stylesheet', href=`${endpoints.clientCSS}`)
    header#header(role='banner')
      include header.pug
      include menu-left.pug
        //- #members(hidden).no-sidebar
        //-   include page-members-directory.pug
        //- #job-offers(hidden).no-sidebar
        //-   include page-job-offers.pug
        //- #job-offer-create(hidden).no-sidebar
        //-   sib-link(class="backlink", next="job-offers") Back
        //-   include page-job-offer-create.pug
        //- #job-offer-edit(hidden).no-sidebar
        //-   sib-link(class="backlink", next="job-offers") Back
        //-   include page-job-offer-edit.pug
        if endpoints.projects || (endpoints.get && endpoints.get.projects)
          #project(hidden).with-sidebar
            include page-project.pug
        if endpoints.circles || (endpoints.get && endpoints.get.circles)
          #circle(hidden).with-sidebar
            include page-circle.pug
        if endpoints.users || (endpoints.get && endpoints.get.users)
          #messages(hidden).with-sidebar
            include page-messages.pug

        #admin(hidden).with-sidebar
          include page-admin.pug
        //- #my-profile(hidden).no-sidebar
        //-   include page-user-profile.pug