feature: about sib | HTML of page + header link + include + sib router
This commit is contained in:
parent
567c7304ed
commit
148992eaef
@ -29,9 +29,12 @@ details#user-controls.notLoggedIn
|
||||
sib-link(next='my-profile') Mon profil
|
||||
//-li
|
||||
sib-link(next='user-settings') Settings
|
||||
|
||||
li
|
||||
sib-link(next='admin') Administration
|
||||
button(role='log out' onclick="document.querySelector('sib-auth').logout();") Se déconnecter
|
||||
li
|
||||
sib-link(next='about') A propos
|
||||
|
||||
button.loggedIn(role='log in' onclick="document.querySelector('sib-auth').login();") Se connecter
|
||||
|
||||
|
@ -17,10 +17,13 @@ html(lang="en")
|
||||
header#header(role='banner')
|
||||
include header.pug
|
||||
|
||||
|
||||
main.notLoggedIn
|
||||
include menu-left.pug
|
||||
include page-about.pug
|
||||
div#viewport
|
||||
|
||||
|
||||
if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards)
|
||||
#dashboard(hidden).no-sidebar
|
||||
include page-dashboard.pug
|
||||
|
@ -54,6 +54,7 @@ nav#main__menu.jsLeftMenu
|
||||
div.menu-label Tableau de bord
|
||||
div.menu-icon.icon-home
|
||||
div.divider
|
||||
sib-route(name='about', hidden)
|
||||
if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users))
|
||||
sib-route.menu(name='members')
|
||||
div.menu-label Annuaire des membres
|
||||
|
16
src/page-about.pug
Normal file
16
src/page-about.pug
Normal file
@ -0,0 +1,16 @@
|
||||
#about
|
||||
.views-container
|
||||
h2 A propos
|
||||
div
|
||||
h3 Cette application est développé par Startin'blox
|
||||
p Ici un paragraphe qui explique ce qu'est SIB
|
||||
|
||||
|
||||
a https://startinblox.com/fr
|
||||
|
||||
div
|
||||
h3 Contacte-nous
|
||||
p Tu veux contribuer, nous remonter un bug, nous suggérer une amélioration, travailler avec nous ?
|
||||
|
||||
div
|
||||
p Contact
|
Loading…
Reference in New Issue
Block a user