Newer
Older
// Mentor dashboard, containing
// 3 tabs:
// - History of my validated resources
// - Resources validation request
// -
// Access to all resources
// Capabilities to request a resource
// Like and comment
header#header(role='banner')
include ./components/header.pug
section#home
#mentor-resource-list(hidden).no-sidebar.container
sib-router
sib-ac-checker(permission="acl:Write" bind-resources)
sib-route(id-prefix=`${endpoints.resources}`, name='mentor-resource-validate', use-id)
sib-route(name='resource-validation-process')
sib-route(id-prefix=`${endpoints.resources}`, name='mentor-resource-detail', use-id)
dialog#mentor-resource-validate.no-sidebar
include resources/validate.pug
dialog#resource-validation-process.no-sidebar
include ./validation-process.pug
dialog#mentor-resource-detail.no-sidebar
.block_log.block_creat_count.no_shadow
sib-link(class="backlink", next="mentor-resource-list")
.like
p.backlink
i.fas.fa-times
Benoit Alessandroni
committed
div#detail-mentor-loader
hidden
i.fas.fa-spinner.fa-spin
include resources/detail.pug
h2.title_lead_avenir=`${data.RelatedResources}`
sib-display(
bind-resources
fields="related"
multiple-related
widget-related='cs-display-mentor-related'
label-related=''
)
#mentor-database(hidden).no-sidebar.container
include resources/database.pug
sib-router
sib-ac-checker(permission="acl:Read" bind-resources)
sib-route(id-prefix=`${endpoints.resources}`, name='mentor-database-resource-detail', use-id)
dialog#mentor-database-resource-detail.no-sidebar
.block_log.block_creat_count.no_shadow
sib-link(class="backlink", next="mentor-database")
.like
p.backlink
i.fas.fa-times
include resources/detail.pug
h2.title_lead_avenir=`${data.RelatedResources}`
sib-display(
bind-resources
fields="related"
multiple-related
widget-related='cs-display-mentor-database-related'
label-related=''
)
sib-link(class="backlink", next="mentor-resource-list")=`${data.BackToDashboard}`
#mentor-resource-edit(hidden).no-sidebar.container
sib-link(class="backlink", next="mentor-resource-list")=`${data.BackToDashboard}`
#resource-creation-confirmation(hidden).no-sidebar.container
include resources/confirmation.pug
#mentor-account(hidden).no-sidebar.container
include profile/detail.pug
Benoit Alessandroni
committed
#mentor-account-view(hidden).no-sidebar.container
include profile/view.pug
#mentor-account-edit(hidden).no-sidebar.container
include profile/edit.pug
#mentor-account-edit-confirmation(hidden).no-sidebar.container
include profile/confirmation.pug