feature: new header and left-menu
This commit is contained in:
parent
1438c73c2f
commit
bc0b8c3e04
6
package-lock.json
generated
6
package-lock.json
generated
@ -1159,9 +1159,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@startinblox/hubl-styling-framework": {
|
"@startinblox/hubl-styling-framework": {
|
||||||
"version": "1.8.10",
|
"version": "1.8.14",
|
||||||
"resolved": "https://registry.npmjs.org/@startinblox/hubl-styling-framework/-/hubl-styling-framework-1.8.10.tgz",
|
"resolved": "https://registry.npmjs.org/@startinblox/hubl-styling-framework/-/hubl-styling-framework-1.8.14.tgz",
|
||||||
"integrity": "sha512-3mT3H9Wgrgvja0JVu9TLEuvz1OtTeiN0UHuZx5IPLFDk5njGoDldElFEr3nw+BOMY1nJzSb8kHqW5cyIsP80cQ=="
|
"integrity": "sha512-ku6c9oJWUy3S0qG+s7aNp7mOrS6nxQJYis5jCC0Iq0cmRe44HzUk4Z6AuU4jC06xk5Ce+SEieeasi78Zcuczdw=="
|
||||||
},
|
},
|
||||||
"@types/q": {
|
"@types/q": {
|
||||||
"version": "1.5.4",
|
"version": "1.5.4",
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@startinblox/hubl-styling-framework": "^1.8.10",
|
"@startinblox/hubl-styling-framework": "^1.8.14",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"fs-extra": "^9.0.1",
|
"fs-extra": "^9.0.1",
|
||||||
"normalize.css": "^8.0.1",
|
"normalize.css": "^8.0.1",
|
||||||
|
@ -69,14 +69,15 @@ html(lang="en")
|
|||||||
include views/page-registering.pug
|
include views/page-registering.pug
|
||||||
|
|
||||||
.notLoggedIn(style='visibility:hidden;')
|
.notLoggedIn(style='visibility:hidden;')
|
||||||
header#header.segment.full.padding-left-large.padding-right-large.sm-padding-right-xsmall.sm-padding-left-small.shadow-small.text-disable-selection.bg-color-white
|
|
||||||
include views/partials/header.pug
|
|
||||||
|
|
||||||
nav#main__menu.scrollbar-nav.segment.bg-color-heading.text-top.quarter.text-disable-selection.jsLeftMenu
|
nav#main__menu.scrollbar-nav.segment.bg-color-heading.text-top.quarter.text-disable-selection.jsLeftMenu
|
||||||
include views/partials/menu-left.pug
|
include views/partials/menu-left.pug
|
||||||
|
|
||||||
main#content.segment.three-quarter.sm-full.text-top
|
main#content.segment.three-quarter.sm-full.text-top
|
||||||
|
|
||||||
|
header#header.segment.full.padding-left-xlarge.padding-right-medium.sm-padding-right-xsmall.sm-padding-left-small.shadow-small.text-disable-selection.bg-color-white
|
||||||
|
include views/partials/header.pug
|
||||||
|
|
||||||
include views/partials/widgets.pug
|
include views/partials/widgets.pug
|
||||||
|
|
||||||
for component of components
|
for component of components
|
||||||
|
@ -8,10 +8,8 @@
|
|||||||
"logIn": "Log-in"
|
"logIn": "Log-in"
|
||||||
},
|
},
|
||||||
"menuLeft": {
|
"menuLeft": {
|
||||||
"emptyCircleProject": {
|
"emptyCircleProjectContact": {
|
||||||
"notPartOf": "You're not part of any",
|
"empty": "No result in this section.",
|
||||||
"createNew": "To create a new one, you can go in the",
|
|
||||||
"adminPanel": "administration panel",
|
|
||||||
"project": "project",
|
"project": "project",
|
||||||
"circle": "circle"
|
"circle": "circle"
|
||||||
},
|
},
|
||||||
@ -27,7 +25,11 @@
|
|||||||
"jobBoard": "Job offers",
|
"jobBoard": "Job offers",
|
||||||
"profileDirectory": "Profiles directory",
|
"profileDirectory": "Profiles directory",
|
||||||
"projects": "Projects",
|
"projects": "Projects",
|
||||||
|
"projectsBrowse": "Browse projects",
|
||||||
|
"projectCreate": "Create project",
|
||||||
"circles": "Circles",
|
"circles": "Circles",
|
||||||
|
"circlesBrowse": "Browse circles",
|
||||||
|
"circleCreate": "Create circle",
|
||||||
"messages": "Messages",
|
"messages": "Messages",
|
||||||
"search": "Search...",
|
"search": "Search...",
|
||||||
"republiqueESS": {
|
"republiqueESS": {
|
||||||
|
@ -8,10 +8,8 @@
|
|||||||
"logIn": "Iniciar sesión"
|
"logIn": "Iniciar sesión"
|
||||||
},
|
},
|
||||||
"menuLeft": {
|
"menuLeft": {
|
||||||
"emptyCircleProject": {
|
"emptyCircleProjectContact": {
|
||||||
"notPartOf": "No eres parte de ninguno",
|
"empty": "No hay resultados en esta sección.",
|
||||||
"createNew": "Para crear uno nuevo, puede ir al ",
|
|
||||||
"adminPanel": "panel de administración",
|
|
||||||
"project": "proyecto",
|
"project": "proyecto",
|
||||||
"circle": "círculo"
|
"circle": "círculo"
|
||||||
},
|
},
|
||||||
@ -27,7 +25,11 @@
|
|||||||
"jobBoard": "Ofertas de trabajo",
|
"jobBoard": "Ofertas de trabajo",
|
||||||
"profileDirectory": "Directorio de miembrxs",
|
"profileDirectory": "Directorio de miembrxs",
|
||||||
"projects": "Proyectos",
|
"projects": "Proyectos",
|
||||||
|
"projectsBrowse": "Examinar los proyectos",
|
||||||
|
"projectCreate": "Crea un proyecto",
|
||||||
"circles": "Círculos",
|
"circles": "Círculos",
|
||||||
|
"circlesBrowse": "Examinar los círculos",
|
||||||
|
"circleCreate": "Crea un círculo.",
|
||||||
"messages": "Mensajes",
|
"messages": "Mensajes",
|
||||||
"search": "Buscar...",
|
"search": "Buscar...",
|
||||||
"republiqueESS": {
|
"republiqueESS": {
|
||||||
|
@ -8,10 +8,8 @@
|
|||||||
"logIn": "Se connecter"
|
"logIn": "Se connecter"
|
||||||
},
|
},
|
||||||
"menuLeft": {
|
"menuLeft": {
|
||||||
"emptyCircleProject": {
|
"emptyCircleProjectContact": {
|
||||||
"notPartOf": "Tu ne fais partie d'aucun",
|
"empty": "Il n'y a aucun résultat dans cette section.",
|
||||||
"createNew": "Pour en créer un nouveau, tu peux te rendre dans le",
|
|
||||||
"adminPanel": "panneau d'administration",
|
|
||||||
"project": "projet",
|
"project": "projet",
|
||||||
"circle": "cercle"
|
"circle": "cercle"
|
||||||
},
|
},
|
||||||
@ -27,7 +25,11 @@
|
|||||||
"jobBoard": "Offres de mission",
|
"jobBoard": "Offres de mission",
|
||||||
"profileDirectory": "Annuaire des membres",
|
"profileDirectory": "Annuaire des membres",
|
||||||
"projects": "Projets",
|
"projects": "Projets",
|
||||||
|
"projectsBrowse": "Parcourir les projets",
|
||||||
|
"projectCreate": "Créer un projet",
|
||||||
"circles": "Cercles",
|
"circles": "Cercles",
|
||||||
|
"circlesBrowse": "Parcourir les cercles",
|
||||||
|
"circleCreate": "Créer un cercle",
|
||||||
"messages": "Messages",
|
"messages": "Messages",
|
||||||
"search": "Rechercher...",
|
"search": "Rechercher...",
|
||||||
"republiqueESS": {
|
"republiqueESS": {
|
||||||
|
@ -1,3 +1,28 @@
|
|||||||
|
|
||||||
|
const MenuTabs = Array.from(document.querySelectorAll(".jsMenuTab"));
|
||||||
|
MenuTabs.forEach(menuTab => {
|
||||||
|
const menuHeader = menuTab.querySelector('.jsMenuHeader');
|
||||||
|
const menuArrow = menuTab.querySelector('.jsMenuArrow')
|
||||||
|
const menuSub = menuTab.querySelector('.jsMenuSub');
|
||||||
|
const menuOption = menuTab.querySelector('.jsMenuOption');
|
||||||
|
const menuAdmin = menuTab.querySelector('.jsMenuAdmin');
|
||||||
|
|
||||||
|
menuHeader.addEventListener('click', e => {
|
||||||
|
menuArrow.classList.toggle('transform-up');
|
||||||
|
menuSub.classList.toggle('hidden');
|
||||||
|
});
|
||||||
|
menuOption.addEventListener('click', e => {
|
||||||
|
menuAdmin.classList.toggle('hidden');
|
||||||
|
e.stopPropagation();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// const searchField = document.querySelector('.menu-search');
|
||||||
|
// console.log(searchField);
|
||||||
|
// const leform = searchField.querySelector('form');
|
||||||
|
// console.log(leform);
|
||||||
|
|
||||||
|
|
||||||
// auxiliary function closes the user profile menu
|
// auxiliary function closes the user profile menu
|
||||||
function closeUserControls() {
|
function closeUserControls() {
|
||||||
let userControls = Array.from(document.querySelectorAll(".user-controls"));
|
let userControls = Array.from(document.querySelectorAll(".user-controls"));
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
.chat-view {
|
.chat-view {
|
||||||
height: calc(100vh - 72px - 78px);
|
height: calc(100vh - 50px - 78px);
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
height: calc(100vh - 50px - 68px);
|
height: calc(100vh - 50px - 68px);
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
main {
|
main {
|
||||||
height: calc(100vh - 72px);
|
height: 100vh;
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
height: calc(100vh - 50px);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Styles of the right-hand menu + pages with that menu */
|
/* Styles of the right-hand menu + pages with that menu */
|
||||||
@ -34,12 +30,11 @@ main {
|
|||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
background: #F1F1F1;
|
background: #F1F1F1;
|
||||||
height: calc(100vh - 72px);
|
height: calc(100vh - 50px);
|
||||||
transition: all 0.5s;
|
transition: all 0.5s;
|
||||||
width: 217px;
|
width: 217px;
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
height: calc(100vh - 50px);
|
|
||||||
width: 65px;
|
width: 65px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -110,17 +105,17 @@ main {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Add scrollbar to the left and to the content */
|
/* Add scrollbar to the left menu and to the content */
|
||||||
.scrollbar-nav,
|
.scrollbar-nav,
|
||||||
.scrollbar-content {
|
.scrollbar-content {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
height: calc(100vh - 72px); /* 72px == header's height */
|
height: calc(100vh - 50px); /* 50px == header's height */
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
-ms-overflow-style: none;
|
-ms-overflow-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
.scrollbar-nav {
|
||||||
height: calc(100vh - 50px);
|
height: 100vh;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Custom scrollbar of the left-menu*/
|
/* Custom scrollbar of the left-menu*/
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
header {
|
header {
|
||||||
height: 72px;
|
height: 50px;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
|
|
||||||
@ -14,28 +14,21 @@ header {
|
|||||||
|
|
||||||
solid-link {
|
solid-link {
|
||||||
align-self: center;
|
align-self: center;
|
||||||
|
|
||||||
img.logo {
|
|
||||||
max-width: 200px;
|
|
||||||
max-height: 34px;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag {
|
.tag {
|
||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
padding: 4px 15px;
|
height: auto !important;
|
||||||
margin-top: 16px;
|
letter-spacing: 0.16px !important;
|
||||||
margin-left: 60px;
|
line-height: normal !important;
|
||||||
|
padding: 1px 8px !important;
|
||||||
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
solid-notifications {
|
solid-notifications {
|
||||||
color: var(--color-heading);
|
color: var(--color-heading);
|
||||||
align-self: center;
|
align-self: center;
|
||||||
|
margin-top: 9px;
|
||||||
@media(min-width: 768.01px) {
|
|
||||||
margin-right: 23px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.solid-notifications__container {
|
.solid-notifications__container {
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -62,14 +55,17 @@ header {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.solid-notifications__counter {
|
.solid-notifications__counter {
|
||||||
left: 12px;
|
height: 18px;
|
||||||
|
width: 18px;
|
||||||
|
left: 17px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 1px;
|
top: 5px;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
background-color: var(--color-primary);
|
background-color: var(--color-primary);
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -97,7 +93,7 @@ header {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
width: 0;
|
width: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
margin-left: -5em;
|
margin-left: -5.05em;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
border: 1em solid black;
|
border: 1em solid black;
|
||||||
@ -260,9 +256,7 @@ header {
|
|||||||
summary {
|
summary {
|
||||||
display: block; /* To remove the disclosure triangle on Firefox v.>=69 */
|
display: block; /* To remove the disclosure triangle on Firefox v.>=69 */
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding-right: 15px;
|
height: 50px;
|
||||||
padding-left: 15px;
|
|
||||||
height: 72px;
|
|
||||||
|
|
||||||
/* To remove the disclosure triangle on Chrome (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#Customizing_the_disclosure_widget) */
|
/* To remove the disclosure triangle on Chrome (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#Customizing_the_disclosure_widget) */
|
||||||
&::marker,
|
&::marker,
|
||||||
@ -270,6 +264,10 @@ header {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
/* End */
|
/* End */
|
||||||
|
|
||||||
|
solid-display {
|
||||||
|
padding-top: 13px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -279,8 +277,8 @@ header {
|
|||||||
right: 0;
|
right: 0;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
/* Quick fix for mobile version */
|
/* Quick fix for mobile version */
|
||||||
width: 100%;
|
width: 227px;
|
||||||
top: 72px;
|
top: 50px;
|
||||||
|
|
||||||
>nav {
|
>nav {
|
||||||
box-shadow: 0 7px 8px 0 rgba(0, 0, 0, 0.16);
|
box-shadow: 0 7px 8px 0 rgba(0, 0, 0, 0.16);
|
||||||
@ -301,10 +299,6 @@ header {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
|
|
||||||
@ -317,7 +311,7 @@ header {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
margin-left: 15px;
|
margin-left: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
details.user-menu {
|
details.user-menu {
|
||||||
|
|
||||||
.user-firstname {
|
.user-firstname {
|
||||||
@ -331,6 +325,10 @@ header {
|
|||||||
height: 50px;
|
height: 50px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
|
solid-display {
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
>.labelled-avatar .avatar {
|
>.labelled-avatar .avatar {
|
||||||
height: 32px;
|
height: 32px;
|
||||||
width: 32px;
|
width: 32px;
|
||||||
@ -372,8 +370,7 @@ header {
|
|||||||
.user-firstname {
|
.user-firstname {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding-right: 15px;
|
padding: 13px;
|
||||||
padding-left: 15px;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
[name="segment3"] {
|
[name="segment3"] {
|
||||||
@ -389,6 +386,7 @@ header {
|
|||||||
top: 72px;
|
top: 72px;
|
||||||
height: calc(100vh - 72px);
|
height: calc(100vh - 72px);
|
||||||
background: white;
|
background: white;
|
||||||
|
width: calc(100vw);
|
||||||
|
|
||||||
>nav {
|
>nav {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
@ -66,27 +66,11 @@ main#content {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
hubl-menu-create+hubl-menu-create {
|
hubl-menu-empty+hubl-menu-empty {
|
||||||
display: none;
|
display: none;
|
||||||
/* Duplicate widget generation? */
|
/* Duplicate widget generation? */
|
||||||
}
|
}
|
||||||
|
|
||||||
hubl-create-contact+hubl-create-contact {
|
|
||||||
display: none;
|
|
||||||
/* Duplicate widget generation? */
|
|
||||||
}
|
|
||||||
|
|
||||||
hubl-menu-create,
|
|
||||||
hubl-create-contact {
|
|
||||||
solid-link {
|
|
||||||
text-decoration: underline;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.swal2-container {
|
.swal2-container {
|
||||||
z-index: 50000 !important;
|
z-index: 50000 !important;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
#job-offers #job-offers-board {
|
#job-offers #job-offers-board {
|
||||||
min-height: calc(100vh - 72px);
|
min-height: calc(100vh - 50px);
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
min-height: calc(100vh - 50px);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,40 +1,101 @@
|
|||||||
nav#main__menu {
|
nav#main__menu {
|
||||||
height: calc(100vh - 72px);
|
height: 100vh;
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
min-height: calc(100vh - 50px);
|
min-height: calc(100vh - 50px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.unread {
|
.unread {
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
}
|
}
|
||||||
|
|
||||||
solid-route.menu,
|
.menu-search {
|
||||||
solid-link.menu,
|
|
||||||
div.menu {
|
form {
|
||||||
|
display: flex;
|
||||||
.icon {
|
|
||||||
padding: 8px;
|
solid-form-placeholder-text {
|
||||||
border-radius: 50%;
|
display: contents;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&:hover .icon,
|
|
||||||
&[active] .icon {
|
input {
|
||||||
color: white;
|
|
||||||
background: var(--color-heading);
|
background: var(--color-heading);
|
||||||
|
color: #D0D4DA;
|
||||||
|
margin-top: 0;
|
||||||
|
padding: 12px 13px;
|
||||||
|
height: 50px;
|
||||||
|
background-image: url("/images/calendar.svg");
|
||||||
|
background-position: right 12px top 50%;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: 14px;
|
||||||
|
|
||||||
|
/* https://css-tricks.com/almanac/selectors/p/placeholder/ */
|
||||||
|
&::-webkit-input-placeholder { /* Chrome/Opera/Safari */
|
||||||
|
color: #D0D4DA;
|
||||||
|
}
|
||||||
|
|
||||||
|
&::-moz-placeholder { /* Firefox 19+ */
|
||||||
|
color: #D0D4DA;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:-moz-placeholder { /* Firefox 18- */
|
||||||
|
color: #D0D4DA;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
background: #202B3C;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&[active]+.divider {
|
|
||||||
visibility: hidden;
|
button {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
input:focus ~ button {
|
||||||
|
background-color: red !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.sub-menu {
|
.menu-header {
|
||||||
padding-bottom: 10px;
|
|
||||||
|
&:not(:hover) .menu-options,
|
||||||
|
&:not(:hover) .menu-admin {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.transform-up {
|
||||||
|
transform: rotateX(180deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.badge {
|
||||||
|
padding-top: 2px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
padding: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-admin {
|
||||||
|
position: absolute;
|
||||||
|
z-index: 3016;
|
||||||
|
left: 48px;
|
||||||
|
bottom: 37px;
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
width: 100%;
|
||||||
|
left: 0;
|
||||||
|
height: 9vh;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Styles for the small icon */
|
/* Styles for the small icon */
|
||||||
.sub-menu-icon {
|
.sub-menu-icon {
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
margin-right: 3px;
|
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
width: 12px;
|
width: 12px;
|
||||||
>div {
|
>div {
|
||||||
@ -44,12 +105,12 @@ nav#main__menu {
|
|||||||
|
|
||||||
.sub-menu-name {
|
.sub-menu-name {
|
||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
|
margin-left: 3px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-chevron {
|
.menu-options {
|
||||||
float: right;
|
float: right;
|
||||||
margin-top: 8px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -86,10 +147,10 @@ nav#main__menu {
|
|||||||
opacity: 0.2;
|
opacity: 0.2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.create {
|
.empty {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
padding-left: 20px;
|
padding-left: 13px;
|
||||||
width: 87%;
|
width: 87%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
#members>div:first-of-type {
|
#members>div:first-of-type {
|
||||||
min-height: calc(100vh - 72px);
|
min-height: calc(100vh - 50px);
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
min-height: calc(100vh - 50px);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
div
|
div
|
||||||
|
|
||||||
solid-link.segment.sm-hidden(next=getRoute('dashboard', true))
|
solid-link.segment.sm-hidden(next=getRoute('dashboard', true))
|
||||||
img.logo(src=`${client.logo || '/images/logo.webp'}`)
|
h1.text-color-heading.text-medium.text-semibold.text-letter-spacing-large=client.name || 'Hubl'
|
||||||
button.segment.lg-hidden.icon-menu#toggleMainMenu
|
button.segment.lg-hidden.icon-menu#toggleMainMenu
|
||||||
|
|
||||||
span.tag.reversed.text-semibold(data-trans='header.beta')
|
span.tag.reversed.text-bold.margin-left-xsmall(data-trans='header.beta')
|
||||||
|
|
||||||
div
|
div
|
||||||
if componentSet.has("themeChecker")
|
if componentSet.has("themeChecker")
|
||||||
@ -17,7 +17,7 @@ div
|
|||||||
)
|
)
|
||||||
|
|
||||||
if componentSet.has("notification")
|
if componentSet.has("notification")
|
||||||
solid-notifications.segment.sm-margin-right-xlarge(
|
solid-notifications.segment.margin-right-small(
|
||||||
nested-field="inbox"
|
nested-field="inbox"
|
||||||
bind-user
|
bind-user
|
||||||
)
|
)
|
||||||
@ -25,15 +25,13 @@ div
|
|||||||
if componentSet.has("autoLogin") || componentSet.has("registering")
|
if componentSet.has("autoLogin") || componentSet.has("registering")
|
||||||
//- User menu visible on large screens
|
//- User menu visible on large screens
|
||||||
details.segment.sm-hidden.user-controls
|
details.segment.sm-hidden.user-controls
|
||||||
summary.text-right
|
summary.text-right.padding-right-xsmall.padding-left-xsmall
|
||||||
solid-display.labelled-avatar.padding-top-xsmall(
|
solid-display.labelled-avatar(
|
||||||
fields='segment1(account.picture), segment2(first_name), segment3(button)'
|
fields='segment1(account.picture), segment2(button)'
|
||||||
class-segment1='segment'
|
class-segment1='segment'
|
||||||
class-segment2='segment margin-left-small'
|
class-segment2='segment margin-left-xxsmall'
|
||||||
class-segment3='segment margin-left-xxsmall'
|
class-account.picture="avatar xxsmall"
|
||||||
class-account.picture="avatar"
|
class-button='icon icon-small icon-arrow-down'
|
||||||
class-first_name="text-semibold text-color-heading"
|
|
||||||
class-button='icon icon-arrow-down'
|
|
||||||
widget-account.picture='hubl-user-avatar'
|
widget-account.picture='hubl-user-avatar'
|
||||||
bind-user
|
bind-user
|
||||||
)
|
)
|
||||||
|
@ -1,32 +1,47 @@
|
|||||||
|
solid-form-search(
|
||||||
|
id='general-search'
|
||||||
|
class='segment block form menu-search'
|
||||||
|
fields='name'
|
||||||
|
search-name='circle.name, project.customer.name, project.name, contact.username'
|
||||||
|
order-asc-names='name'
|
||||||
|
|
||||||
|
label-name='Rechercher'
|
||||||
|
widget-name="solid-form-placeholder-text"
|
||||||
|
|
||||||
|
submit-button=""
|
||||||
|
submit-widget="button"
|
||||||
|
)
|
||||||
|
div.divider
|
||||||
solid-router#navbar-router(default-route='dashboard')
|
solid-router#navbar-router(default-route='dashboard')
|
||||||
for component of components
|
for component of components
|
||||||
if component.route
|
if component.route
|
||||||
if component.type == "about"
|
if component.type == "about"
|
||||||
solid-route(name=component.route, hidden)
|
solid-route(name=component.route, hidden)
|
||||||
if component.type == "dashboard"
|
if component.type == "dashboard"
|
||||||
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=component.route)
|
solid-route.menu-tab.segment.full.padding-xsmall.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=component.route)
|
||||||
div.segment.margin-right-xxsmall
|
div.segment.margin-right-xxsmall
|
||||||
div.icon.icon-small.icon-home
|
div.icon.icon-small.icon-home
|
||||||
div.segment.text-uppercase.text-letter-spacing-large(data-trans=`${component.name?component.name:"menuLeft.dashboard"}`)
|
div.segment.text-uppercase.text-letter-spacing-large(data-trans=`${component.name?component.name:"menuLeft.dashboard"}`)
|
||||||
div.divider
|
div.divider
|
||||||
if component.type == "circles"
|
if component.type == "circles"
|
||||||
div.menu-wrapper
|
div.jsMenuTab
|
||||||
if componentSet.has("admin")
|
div.menu-header.segment.full.padding-xsmall.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active.jsMenuHeader
|
||||||
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=`admin-${component.route}`)
|
div.segment.margin-right-xxsmall.jsMenuArrow
|
||||||
div.segment.margin-right-xxsmall
|
div.segment.icon.icon-small.icon-arrow-down
|
||||||
div.segment.icon.icon-small.icon-folder-alt
|
div.segment.half.text-uppercase.text-letter-spacing-large(data-trans=`${component.name?component.name:"menuLeft.circles"}`)
|
||||||
div.segment.three-quarter.text-uppercase.text-letter-spacing-large(data-trans=`${component.name?component.name:"menuLeft.circles"}`)
|
if componentSet.has("admin")
|
||||||
div.menu-chevron.segment
|
div.menu-options.segment.jsMenuOption
|
||||||
div.menu-icon.icon-arrow-right-circle
|
div.menu-icon.icon.icon-small.icon-options-vertical
|
||||||
solid-route(name=`admin-${component.route}-create`)
|
div.menu-admin.segment.three-quarter.bg-color-white.shadow.text-color-secondary.padding-xxsmall.whitespace-normal.hidden.jsMenuAdmin
|
||||||
else
|
solid-link.segment.full.one-line-ellipsis.padding-xxsmall.sm-padding-xsmall(next=`admin-${component.route}` data-trans="menuLeft.circlesBrowse")
|
||||||
div.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading
|
solid-link.segment.full.one-line-ellipsis.padding-xxsmall.sm-padding-xsmall(next=`admin-${component.route}-create` data-trans="menuLeft.circleCreate")
|
||||||
div.segment.margin-right-xxsmall
|
solid-badge.badge(data-type="Mention" data-rdf-type="hd:circle")
|
||||||
div.segment.icon.icon-small.icon-folder-alt
|
solid-route(name=`admin-${component.route}`, hidden)
|
||||||
div.segment.three-quarter.text-uppercase.text-letter-spacing-large(data-trans=`${component.name?component.name:"menuLeft.circles"}`)
|
solid-route(name=`admin-${component.route}-create`, hidden)
|
||||||
|
solid-route(name=`admin-${component.route}-leave`, hidden)
|
||||||
solid-route(name=component.route, rdf-type='hd:circle', use-id='', hidden)
|
solid-route(name=component.route, rdf-type='hd:circle', use-id='', hidden)
|
||||||
solid-route(name=`${component.route}-left`)
|
solid-route(name=`${component.route}-left`)
|
||||||
div.sub-menu.menu-notification
|
div.sub-menu.menu-notification.padding-bottom-xxsmall.jsMenuSub
|
||||||
div.loader.loader-menu(id=`loader-${component.route}`)
|
div.loader.loader-menu(id=`loader-${component.route}`)
|
||||||
div
|
div
|
||||||
div
|
div
|
||||||
@ -37,67 +52,59 @@ solid-router#navbar-router(default-route='dashboard')
|
|||||||
nested-field='circles'
|
nested-field='circles'
|
||||||
fields='circle'
|
fields='circle'
|
||||||
loader-id=`loader-${component.route}`
|
loader-id=`loader-${component.route}`
|
||||||
empty-widget='hubl-menu-create'
|
empty-widget='hubl-menu-empty'
|
||||||
empty-value=''
|
empty-value=''
|
||||||
data-trans="empty-value=menuLeft.emptyCircleProject.circle"
|
data-trans="empty-value=menuLeft.emptyCircleProject.circle"
|
||||||
widget-circle='hubl-menu-fix-url-circle'
|
widget-circle='hubl-menu-fix-url-circle'
|
||||||
order-asc="circle.name"
|
order-asc="circle.name"
|
||||||
|
filtered-by="general-search"
|
||||||
)
|
)
|
||||||
div.divider
|
div.divider
|
||||||
if component.type == "chat"
|
if component.type == "chat"
|
||||||
div.menu-wrapper
|
div.jsMenuTab
|
||||||
if componentSet.has("admin")
|
div.menu-header.segment.full.padding-xsmall.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active.jsMenuHeader
|
||||||
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=`admin-${component.route}`)
|
div.segment.margin-right-xxsmall.jsMenuArrow
|
||||||
div.segment.margin-right-xxsmall
|
div.segment.icon.icon-small.icon-arrow-down
|
||||||
div.segment.icon.icon-small.icon-folder-alt
|
div.segment.half.text-uppercase.text-letter-spacing-large(data-trans=`${component.name?component.name:"menuLeft.messages"}`)
|
||||||
div.segment.three-quarter.text-uppercase.text-letter-spacing-large(data-trans=`${component.name?component.name:"menuLeft.messages"}`)
|
if componentSet.has("profileDirectory")
|
||||||
div.menu-chevron.segment
|
div.menu-options.segment.jsMenuOption
|
||||||
div.menu-icon.icon-arrow-right-circle
|
solid-link.segment.block.menu-icon.icon.icon-small.icon-user-follow(next=getRoute('profileDirectory', true))
|
||||||
solid-route(name=`admin-${component.route}-create`, use-id='', hidden)
|
solid-badge.badge(data-type="Message")
|
||||||
else
|
solid-route(name=component.route, rdf-type='foaf:user', use-id='', hidden)
|
||||||
div.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading
|
div.sub-menu.menu-notification.padding-bottom-xxsmall.jsMenuSub
|
||||||
div.segment.margin-right-xxsmall
|
div.loader.loader-menu(id=`loader-${component.route}`)
|
||||||
div.segment.icon.icon-small.icon-folder-alt
|
div
|
||||||
div.segment.three-quarter.text-uppercase.text-letter-spacing-large(data-trans=`${component.name?component.name:"menuLeft.messages"}`)
|
div
|
||||||
solid-route(name=component.route, rdf-type='foaf:user', use-id='', hidden)
|
div
|
||||||
div.sub-menu.menu-notification
|
div
|
||||||
div.loader.loader-menu(id=`loader-${component.route}`)
|
solid-display.segment.full.whitespace-normal(
|
||||||
div
|
bind-user
|
||||||
div
|
nested-field='contacts'
|
||||||
div
|
fields='contact'
|
||||||
div
|
loader-id=`loader-${component.route}`
|
||||||
//- search-fields="contact.name"
|
empty-widget='hubl-menu-empty'
|
||||||
//- search-label-contact.name=""
|
widget-contact='hubl-menu-fix-url-contact'
|
||||||
//- data-trans="search-label-contact.name=menuLeft.search"
|
filtered-by="general-search"
|
||||||
//- search-widget-contact.name="hubl-search-users"
|
order-asc="contact.username"
|
||||||
solid-display.segment.full.whitespace-normal(
|
)
|
||||||
bind-user
|
|
||||||
nested-field='contacts'
|
|
||||||
fields='contact'
|
|
||||||
loader-id=`loader-${component.route}`
|
|
||||||
empty-widget='hubl-create-contact'
|
|
||||||
empty-value=''
|
|
||||||
widget-contact='hubl-menu-fix-url-contact'
|
|
||||||
order-asc="contact.username"
|
|
||||||
)
|
|
||||||
if component.type == "projects"
|
if component.type == "projects"
|
||||||
div.menu-wrapper
|
div.jsMenuTab
|
||||||
if componentSet.has("admin")
|
div.menu-header.segment.full.padding-xsmall.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active.jsMenuHeader
|
||||||
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=`admin-${component.route}`)
|
div.segment.margin-right-xxsmall.jsMenuArrow
|
||||||
div.segment.margin-right-xxsmall
|
div.segment.icon.icon-small.icon-arrow-down
|
||||||
div.segment.icon.icon-small.icon-folder-alt
|
div.segment.half.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.projects")
|
||||||
div.segment.three-quarter.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.projects")
|
if componentSet.has("admin")
|
||||||
div.menu-chevron.segment
|
div.menu-options.segment.jsMenuOption
|
||||||
div.icon-arrow-right-circle
|
div.menu-icon.icon.icon-small.icon-options-vertical
|
||||||
solid-route(name=`admin-${component.route}-create`, hidden)
|
div.menu-admin.segment.three-quarter.bg-color-white.shadow.text-color-secondary.padding-xxsmall.whitespace-normal.hidden.jsMenuAdmin
|
||||||
else
|
solid-link.segment.full.one-line-ellipsis.padding-xxsmall.sm-padding-xsmall(next=`admin-${component.route}` data-trans="menuLeft.projectsBrowse")
|
||||||
div.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading
|
solid-link.segment.full.one-line-ellipsis.padding-xxsmall.sm-padding-xsmall(next=`admin-${component.route}-create` data-trans="menuLeft.projectCreate")
|
||||||
div.segment.margin-right-xxsmall
|
solid-badge.badge(data-type="Mention" data-rdf-type="hd:project")
|
||||||
div.segment.icon.icon-small.icon-folder-alt
|
solid-route(name=`admin-${component.route}`, hidden)
|
||||||
div.segment.three-quarter.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.projects")
|
solid-route(name=`admin-${component.route}-create`, hidden)
|
||||||
solid-route(name=component.route, rdf-type='hd:project', use-id='', hidden)
|
solid-route(name=component.route, rdf-type='hd:project', use-id='', hidden)
|
||||||
solid-route(name=`${component.route}-left`, hidden)
|
solid-route(name=`${component.route}-left`, hidden)
|
||||||
div.sub-menu.menu-notification
|
div.sub-menu.menu-notification.padding-bottom-xxsmall.jsMenuSub
|
||||||
div.loader.loader-menu(id=`loader-${component.route}`)
|
div.loader.loader-menu(id=`loader-${component.route}`)
|
||||||
div
|
div
|
||||||
div
|
div
|
||||||
@ -108,40 +115,41 @@ solid-router#navbar-router(default-route='dashboard')
|
|||||||
nested-field='projects'
|
nested-field='projects'
|
||||||
fields='project'
|
fields='project'
|
||||||
loader-id=`loader-${component.route}`
|
loader-id=`loader-${component.route}`
|
||||||
empty-widget='hubl-menu-create'
|
empty-widget='hubl-menu-empty'
|
||||||
empty-value=''
|
|
||||||
data-trans="empty-value=menuLeft.emptyCircleProject.project"
|
data-trans="empty-value=menuLeft.emptyCircleProject.project"
|
||||||
widget-project='hubl-menu-fix-url-project'
|
widget-project='hubl-menu-fix-url-project'
|
||||||
|
filtered-by="general-search"
|
||||||
order-asc="project.customer.name"
|
order-asc="project.customer.name"
|
||||||
|
|
||||||
)
|
)
|
||||||
div.divider
|
div.divider
|
||||||
if component.type == "profileDirectory"
|
if component.type == "profileDirectory"
|
||||||
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=component.route)
|
solid-route.menu-tab.segment.full.padding-xsmall.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=component.route)
|
||||||
div.segment.margin-right-xxsmall
|
div.segment.margin-right-xxsmall
|
||||||
div.icon.icon-small.icon-people
|
div.icon.icon-small.icon-people
|
||||||
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.profileDirectory")
|
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.profileDirectory")
|
||||||
solid-route.menu(name=`${component.route}-profile`, hidden)
|
solid-route.menu(name=`${component.route}-profile`, hidden)
|
||||||
div.divider
|
div.divider
|
||||||
if component.type == "jobBoard"
|
if component.type == "jobBoard"
|
||||||
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=component.route, rdf-type='hd:joboffer')
|
solid-route.menu-tab.segment.full.padding-xsmall.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=component.route, rdf-type='hd:joboffer')
|
||||||
div.segment.margin-right-xxsmall
|
div.segment.margin-right-xxsmall
|
||||||
div.segment.icon.icon-small.icon-briefcase
|
div.segment.icon.icon-small.icon-briefcase
|
||||||
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.jobBoard")
|
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.jobBoard")
|
||||||
div.divider
|
div.divider
|
||||||
if component.type == "resources"
|
if component.type == "resources"
|
||||||
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=component.route)
|
solid-route.menu-tab.segment.full.padding-xsmall.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=component.route)
|
||||||
div.segment.margin-right-xxsmall
|
div.segment.margin-right-xxsmall
|
||||||
div.segment.icon.icon-small.icon-docs
|
div.segment.icon.icon-small.icon-docs
|
||||||
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.resources")
|
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.resources")
|
||||||
div.divider
|
div.divider
|
||||||
if component.type == "polls"
|
if component.type == "polls"
|
||||||
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=component.route)
|
solid-route.menu-tab.segment.full.padding-xsmall.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=component.route)
|
||||||
div.segment.margin-right-xxsmall
|
div.segment.margin-right-xxsmall
|
||||||
div.segment.icon.icon-small.icon-bubbles
|
div.segment.icon.icon-small.icon-bubbles
|
||||||
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.gov")
|
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.gov")
|
||||||
div.divider
|
div.divider
|
||||||
if component.type == "events"
|
if component.type == "events"
|
||||||
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=component.route)
|
solid-route.menu-tab.segment.full.padding-xsmall.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=component.route)
|
||||||
div.segment.margin-right-xxsmall
|
div.segment.margin-right-xxsmall
|
||||||
div.segment.icon.icon-small.icon-calendar
|
div.segment.icon.icon-small.icon-calendar
|
||||||
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.events")
|
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.events")
|
||||||
|
@ -18,9 +18,8 @@ include widgets/hubl-circle-owner.pug
|
|||||||
include widgets/hubl-circle-team-contact.pug
|
include widgets/hubl-circle-team-contact.pug
|
||||||
include widgets/hubl-circle-user-admin.pug
|
include widgets/hubl-circle-user-admin.pug
|
||||||
include widgets/hubl-counter.pug
|
include widgets/hubl-counter.pug
|
||||||
include widgets/hubl-create-contact.pug
|
|
||||||
include widgets/hubl-email-field.pug
|
include widgets/hubl-email-field.pug
|
||||||
include widgets/hubl-menu-create.pug
|
include widgets/hubl-menu-empty.pug
|
||||||
include widgets/hubl-menu-fix-url-circle.pug
|
include widgets/hubl-menu-fix-url-circle.pug
|
||||||
include widgets/hubl-menu-fix-url-contact.pug
|
include widgets/hubl-menu-fix-url-contact.pug
|
||||||
include widgets/hubl-menu-fix-url-project.pug
|
include widgets/hubl-menu-fix-url-project.pug
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
if componentSet.has('chat')
|
|
||||||
solid-widget(name='hubl-create-contact')
|
|
||||||
template
|
|
||||||
p.segment.full.create.text-color-white.whitespace-normal(style='display:block!important')
|
|
||||||
span(data-trans="menuLeft.contact.create")
|
|
||||||
span
|
|
||||||
solid-link(next=getRoute('profileDirectory', true) data-trans="menuLeft.contact.profileDir")
|
|
||||||
span
|
|
||||||
span(data-trans="menuLeft.contact.create2")
|
|
@ -1,10 +0,0 @@
|
|||||||
if componentSet.has('circles') || componentSet.has('projects')
|
|
||||||
solid-widget(name='hubl-menu-create')
|
|
||||||
template
|
|
||||||
p.segment.full.create.text-color-white.whitespace-normal(style='display:block!important')
|
|
||||||
span(data-trans="menuLeft.emptyCircleProject.notPartOf")
|
|
||||||
span ${value}.
|
|
||||||
if componentSet.has('admin')
|
|
||||||
span(data-trans="menuLeft.emptyCircleProject.createNew")
|
|
||||||
span
|
|
||||||
solid-link(next=`\${value.startsWith('proj') ? 'admin-${getRoute('projects', true)}' : 'admin-${getRoute('circles', true)}'}`, data-trans="menuLeft.emptyCircleProject.adminPanel")
|
|
5
src/views/partials/widgets/hubl-menu-empty.pug
Normal file
5
src/views/partials/widgets/hubl-menu-empty.pug
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
if componentSet.has('circles') || componentSet.has('projects') || componentSet.has('profileDirectory')
|
||||||
|
solid-widget(name='hubl-menu-empty')
|
||||||
|
template
|
||||||
|
p.segment.full.empty.whitespace-normal(style='display:block!important; color:#D0D4DA')
|
||||||
|
span(data-trans="menuLeft.emptyCircleProjectContact.empty")
|
@ -2,5 +2,5 @@ if componentSet.has('circles')
|
|||||||
solid-widget(name='hubl-menu-fix-url-circle')
|
solid-widget(name='hubl-menu-fix-url-circle')
|
||||||
template ${value != "" ? `
|
template ${value != "" ? `
|
||||||
<solid-link class="segment full" data-src="${value}" next="${hubl.getRoute('circles', true)}">
|
<solid-link class="segment full" data-src="${value}" next="${hubl.getRoute('circles', true)}">
|
||||||
<solid-display class="segment full text-color-white heading-active bg-color-heading hover active" data-src='${value}' fields='segment(status, circle(name, jabberID), badge)' class-segment="segment full padding-top-xxsmall padding-bottom-xxsmall padding-right-small padding-left-medium" class-status='segment text-top sub-menu-icon' class-circle='segment three-quarter sub-menu-name' class-name='ellipsis-content' class-badge='segment badge' value-badge='${value}' widget-status='hubl-menu-publicprivate' widget-badge='hubl-counter' widget-jabberID='hubl-menu-jabberid' widget-name='solid-display-div' order-asc="name"></solid-display>
|
<solid-display class="segment full text-color-white heading-active bg-color-heading hover active" data-src='${value}' fields='segment(status, circle(name, jabberID), badge)' class-segment="segment full padding-top-xxsmall padding-bottom-xxsmall padding-right-xsmall padding-left-xsmall" class-status='segment text-top sub-menu-icon' class-circle='segment three-quarter sub-menu-name' class-name='ellipsis-content' class-badge='segment badge' value-badge='${value}' widget-status='hubl-menu-publicprivate' widget-badge='hubl-counter' widget-jabberID='hubl-menu-jabberid' widget-name='solid-display-div' order-asc="name"></solid-display>
|
||||||
</solid-link>` : ""}
|
</solid-link>` : ""}
|
@ -2,5 +2,5 @@ if componentSet.has('chat')
|
|||||||
solid-widget(name='hubl-menu-fix-url-contact')
|
solid-widget(name='hubl-menu-fix-url-contact')
|
||||||
template ${value != "" ? `
|
template ${value != "" ? `
|
||||||
<solid-link class="segment full" data-src="${value}" next="${hubl.getRoute('chat', true)}">
|
<solid-link class="segment full" data-src="${value}" next="${hubl.getRoute('chat', true)}">
|
||||||
<solid-display class="segment full text-color-white heading-active bg-color-heading hover active" data-src='${value}' fields='segment(message(name, chatProfile.jabberID), badge)' class-segment="segment full padding-top-xxsmall padding-bottom-xxsmall padding-right-small padding-left-medium" class-message='segment three-quarter sub-menu-name' class-badge='segment badge' value-badge='${value}' widget-badge='hubl-counter' widget-chatProfile.jabberID='hubl-menu-jabberid' widget-name='solid-display-div' order-asc='username'></solid-display>
|
<solid-display class="segment full text-color-white heading-active bg-color-heading hover active" data-src='${value}' fields='segment(message(name, chatProfile.jabberID), badge)' class-segment="segment full padding-top-xxsmall padding-bottom-xxsmall padding-right-xsmall padding-left-xsmall" class-message='segment three-quarter sub-menu-name' class-badge='segment badge' value-badge='${value}' widget-badge='hubl-counter' widget-chatProfile.jabberID='hubl-menu-jabberid' widget-name='solid-display-div' order-asc='username'></solid-display>
|
||||||
</solid-link>` : ""}
|
</solid-link>` : ""}
|
@ -2,5 +2,5 @@ if componentSet.has('projects')
|
|||||||
solid-widget(name='hubl-menu-fix-url-project')
|
solid-widget(name='hubl-menu-fix-url-project')
|
||||||
template ${value != "" ? `
|
template ${value != "" ? `
|
||||||
<solid-link class="segment full" data-src="${value}" next="${hubl.getRoute('projects', true)}">
|
<solid-link class="segment full" data-src="${value}" next="${hubl.getRoute('projects', true)}">
|
||||||
<solid-display class="segment full text-color-white heading-active bg-color-heading hover active" data-src='${value}' fields='segment(status, project(customer.name, name, jabberID), badge)' class-segment="segment full padding-top-xxsmall padding-bottom-xxsmall padding-right-small padding-left-medium" class-status='segment text-top sub-menu-icon' class-project='segment three-quarter sub-menu-name' class-customer.name='ellipsis-content' class-name='ellipsis-content' class-badge='segment badge text-top' value-badge='${value}' widget-status='hubl-menu-publicprivate' widget-jabberID='hubl-menu-jabberid' widget-badge='hubl-counter' widget-name='solid-display-div' order-asc="customer.name"></solid-display>
|
<solid-display class="segment full text-color-white heading-active bg-color-heading hover active" data-src='${value}' fields='segment(project(customer.name, name, jabberID), badge)' class-segment="segment full padding-top-xxsmall padding-bottom-xxsmall padding-right-xsmall padding-left-xsmall" class-project='segment three-quarter sub-menu-name' class-customer.name='ellipsis-content' class-name='ellipsis-content' class-badge='segment badge text-top' value-badge='${value}' widget-jabberID='hubl-menu-jabberid' widget-badge='hubl-counter' widget-name='solid-display-div' order-asc="customer.name"></solid-display>
|
||||||
</solid-link>` : ""}
|
</solid-link>` : ""}
|
Loading…
Reference in New Issue
Block a user