Search feature done
This commit is contained in:
parent
83fab20a05
commit
643db32ed0
@ -1,7 +1,7 @@
|
|||||||
<nav class="navbar bg-white fixed-top border-bottom pb-0 d-md-flex" id="navbar">
|
<nav class="navbar bg-white fixed-top border-bottom pb-0 d-md-flex" id="navbar">
|
||||||
|
|
||||||
<ldp-router id="navbar-router" class="navbar-nav" default-route="members">
|
<ldp-router id="navbar-router" class="navbar-nav" default-route="members">
|
||||||
<ldp-route id="menu-title" class="col-3 col-md-2 nav-item" name="dashboard">
|
<ldp-route id="menu-title" class="nav-item" name="dashboard">
|
||||||
HAPPY DEV
|
HAPPY DEV
|
||||||
</ldp-route>
|
</ldp-route>
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
<h2 class="section team">L'équipe</h2>
|
<h2 class="section team">L'équipe</h2>
|
||||||
<ldp-display
|
<ldp-display
|
||||||
id="project-team"
|
id="project-team"
|
||||||
|
class="members-list-condensed"
|
||||||
id-suffix="team"
|
id-suffix="team"
|
||||||
set-name="firstname, name-separator, lastname"
|
set-name="firstname, name-separator, lastname"
|
||||||
value-name-separator=" "
|
value-name-separator=" "
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
<div class="content container-fluid">
|
<div class="content container-fluid">
|
||||||
<ldp-display
|
<ldp-display
|
||||||
id="search-results-members"
|
id="search-results-members"
|
||||||
|
class="list-condensed"
|
||||||
data-src="<?php echo $sdn; ?>/members/"
|
data-src="<?php echo $sdn; ?>/members/"
|
||||||
set-name="firstname, name-separator, lastname"
|
set-name="firstname, name-separator, lastname"
|
||||||
value-name-separator=" "
|
value-name-separator=" "
|
||||||
@ -13,8 +14,11 @@
|
|||||||
|
|
||||||
<ldp-display
|
<ldp-display
|
||||||
id="search-results-projects"
|
id="search-results-projects"
|
||||||
|
class="list-condensed"
|
||||||
data-src="<?php echo $sdn; ?>/projects/"
|
data-src="<?php echo $sdn; ?>/projects/"
|
||||||
data-fields="client, number, name"
|
set-title="number, after-num-separator, name"
|
||||||
|
value-after-num-separator=" - "
|
||||||
|
data-fields="client, title"
|
||||||
widget-client="ldp-display-client"
|
widget-client="ldp-display-client"
|
||||||
search-fields="number, name"
|
search-fields="number, name"
|
||||||
next="project"
|
next="project"
|
||||||
@ -23,8 +27,8 @@
|
|||||||
<ldp-display
|
<ldp-display
|
||||||
id="search-results-channels"
|
id="search-results-channels"
|
||||||
data-src="<?php echo $sdn; ?>/channels/"
|
data-src="<?php echo $sdn; ?>/channels/"
|
||||||
data-fields="name, description"
|
data-fields="name"
|
||||||
search-fields="name, description"
|
search-fields="name"
|
||||||
next="channel"
|
next="channel"
|
||||||
></ldp-display>
|
></ldp-display>
|
||||||
</div>
|
</div>
|
||||||
|
18
src/scss/_classes.scss
Normal file
18
src/scss/_classes.scss
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
.list-condensed {
|
||||||
|
ldp-display {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 50px;
|
||||||
|
border-radius: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
& > div[name="name"],
|
||||||
|
& > div[name="title"] {
|
||||||
|
display: flex;
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -13,24 +13,6 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#project-team {
|
|
||||||
ldp-display {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
|
|
||||||
img {
|
|
||||||
width: 50px;
|
|
||||||
border-radius: 100px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div[name="name"] {
|
|
||||||
display: flex;
|
|
||||||
margin-left: 10px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.section {
|
.section {
|
||||||
|
@ -11,13 +11,6 @@ html, body, #mainContainer {
|
|||||||
padding-top: $menu-height;
|
padding-top: $menu-height;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-title {
|
|
||||||
font-size: 2.5rem;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
font-family: 'Righteous', cursive;
|
|
||||||
text-decoration-line: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
hd-chat-window {
|
hd-chat-window {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
// Generic
|
// Generic
|
||||||
@import "variables";
|
@import "variables";
|
||||||
@import "mixins";
|
|
||||||
@import "fonts";
|
@import "fonts";
|
||||||
|
@import "mixins";
|
||||||
|
@import "classes";
|
||||||
@import "styles";
|
@import "styles";
|
||||||
@import "forms";
|
@import "forms";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user