diff --git a/src/includes/dashboard.pug b/src/includes/dashboard.pug new file mode 100644 index 0000000000000000000000000000000000000000..8112419cd3c1e7b9822a09479ac23748a84c8482 --- /dev/null +++ b/src/includes/dashboard.pug @@ -0,0 +1,3 @@ +//TODO: Dashboard is the Mentor Dashboard, only +//accessible when logged-in, so should be protected +//by sid-oidc. \ No newline at end of file diff --git a/src/includes/home.pug b/src/includes/home.pug index cdeebc0f6d92e9b204c609c0403f9dbfcb052a8e..499e58b9497135903036d0288c7976e6a3aa5441 100644 --- a/src/includes/home.pug +++ b/src/includes/home.pug @@ -1,10 +1,38 @@ section#home h1 Mentorship program + p International index of resources for cooperative mentors and entrepreneurs + + p: a Watch a presentation + + h2 Search for a resource + //TODO: + //-Distinguish the search form from the listing + //-Create two Sib-displays getting the resources by "types" + // From two different endpoints I guess + //-Testing the group-by right after the 0.8 version release + //-Work on the page architecture + + sib-widget(name='resource-format-title') + template + p ${value.title} + + #circles sib-display#circles-list( data-src=`${sdn}/resources/`, - data-fields='title, description', - search-fields='title, description', - next='group' + data-fields='title, description, format, author, publication_year, language.name, steps', + search-fields='title, description, format', + widget-format='resource-format-title', + multiple-format, + + widget-steps='resource-format-title', + multiple-steps, + + set-content='title, description', + set-info='author, publication_year, language.name', + next='detail' ) + + + //- group-by='step' diff --git a/src/includes/request/create.pug b/src/includes/request/create.pug new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/src/includes/resource/detail.pug b/src/includes/resource/detail.pug new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391