feature(header): Issue#106 - add a logout button
This commit is contained in:
parent
43825c7606
commit
bdf71bc3fb
@ -22,7 +22,7 @@ details#user-controls
|
|||||||
#user-controls__panel
|
#user-controls__panel
|
||||||
include page-user-panel.pug
|
include page-user-panel.pug
|
||||||
|
|
||||||
button#login(onclick="document.querySelector('sib-auth').login();") login
|
button(role='log in' onclick="document.querySelector('sib-auth').login();") Login
|
||||||
|
|
||||||
|
|
||||||
sib-auth
|
sib-auth
|
||||||
|
@ -10,5 +10,4 @@ nav(role="user's functionalities menu")
|
|||||||
sib-route(name='')
|
sib-route(name='')
|
||||||
li
|
li
|
||||||
a Admin
|
a Admin
|
||||||
sib-route
|
button(role='log out' onclick="document.querySelector('sib-auth').logout();") Log out
|
||||||
button(role='log out') Log out
|
|
||||||
|
@ -194,7 +194,9 @@ details#user-controls {
|
|||||||
|
|
||||||
button {
|
button {
|
||||||
color: $color-text-base;
|
color: $color-text-base;
|
||||||
margin: 1.6rem 1.3rem;
|
padding: 1.6rem 1.3rem;
|
||||||
|
text-align: left;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,10 +4,8 @@
|
|||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
*,
|
* {
|
||||||
*::after,
|
box-sizing: border-box;
|
||||||
*::before {
|
|
||||||
// box-sizing: inherit;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
@ -16,7 +14,6 @@
|
|||||||
--sib-notifications-theme: #{$color-46-100-50};
|
--sib-notifications-theme: #{$color-46-100-50};
|
||||||
|
|
||||||
body {
|
body {
|
||||||
//box-sizing: border-box;
|
|
||||||
background-color: $color-anti-flash-white;
|
background-color: $color-anti-flash-white;
|
||||||
color: $color-text-base;
|
color: $color-text-base;
|
||||||
font-size: 1.6rem;
|
font-size: 1.6rem;
|
||||||
|
Loading…
Reference in New Issue
Block a user