Added the dashboard page
This commit is contained in:
parent
e0ff0d1792
commit
ed189a8129
@ -33,6 +33,7 @@
|
|||||||
<?php require_once('src/html/menu.html'); ?>
|
<?php require_once('src/html/menu.html'); ?>
|
||||||
|
|
||||||
<main id="mainContainer" class="container-fluid">
|
<main id="mainContainer" class="container-fluid">
|
||||||
|
<?php require_once('src/html/dashboard.html'); ?>
|
||||||
<?php require_once('src/html/members.html'); ?>
|
<?php require_once('src/html/members.html'); ?>
|
||||||
<?php require_once('src/html/member.html'); ?>
|
<?php require_once('src/html/member.html'); ?>
|
||||||
<?php require_once('src/html/projects.html'); ?>
|
<?php require_once('src/html/projects.html'); ?>
|
||||||
|
8
src/html/dashboard.html
Normal file
8
src/html/dashboard.html
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<div id="dashboard" style="display: none">
|
||||||
|
<form>
|
||||||
|
<div class="form-group">
|
||||||
|
<input type="text" class="form-control form-control-sm" id="search-input" placeholder="Recherche" aria-describedby="search-help" autofocus />
|
||||||
|
<small id="search-help" class="form-text text-muted">* parmi les membres, les projets et les groupes de discussion</small>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
@ -1,30 +1,32 @@
|
|||||||
<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">
|
||||||
<div id="menu-title" class="col-4 col-md-2 pb-2">HAPPY APP</div>
|
<!--<ldp-router>-->
|
||||||
|
<!--<ldp-route id="menu-title" class=" pb-2" name="dashboard">HAPPY APP</ldp-route>-->
|
||||||
|
<!--</ldp-router>-->
|
||||||
|
|
||||||
<ldp-router id="navbar-router" class="navbar-nav d-flex flex-row justify-content-between align-self-end col-8 col-md-10" default-route="members">
|
<ldp-router id="navbar-router" class="navbar-nav" default-route="members">
|
||||||
<ldp-route class="nav-item pl-4 pr-4 pb-2 align-self-stretch w-25 text-center text-md-left" name="search">
|
<ldp-route id="menu-title" class="col-4 col-md-2 nav-item" name="dashboard">
|
||||||
<i class="fa fa-search" aria-hidden="true"></i>
|
HAPPY DEV
|
||||||
<span class="d-none d-md-inline"> Home</span>
|
|
||||||
</ldp-route>
|
</ldp-route>
|
||||||
<ldp-route class="nav-item pl-4 pr-4 pb-2 active align-self-stretch w-25 text-center text-md-left" name="members">
|
|
||||||
<i class="fa fa-users" aria-hidden="true"></i>
|
<div id="menu-items" class="col-8 col-md-10">
|
||||||
<span class="d-none d-md-inline"> Membres</span>
|
<ldp-route class="nav-item pl-4 pr-4 pb-2 active align-self-stretch text-center text-md-left" name="members">
|
||||||
</ldp-route>
|
<i class="fa fa-users" aria-hidden="true"></i>
|
||||||
<ldp-route class="nav-item d-none" name="member" id-prefix="http://localhost:8000/members/">
|
<span class="d-none d-md-inline"> Membres</span>
|
||||||
Membre
|
</ldp-route>
|
||||||
</ldp-route>
|
<ldp-route class="nav-item d-none" name="member" id-prefix="http://localhost:8000/members/">
|
||||||
<ldp-route class="nav-item pl-4 pr-4 pb-2 align-self-stretch w-25 text-center text-md-left" name="projects">
|
Membre
|
||||||
<i class="fa fa-tasks" aria-hidden="true"></i>
|
</ldp-route>
|
||||||
<span class="d-none d-md-inline"> Projets</span>
|
<ldp-route class="nav-item pl-4 pr-4 pb-2 align-self-stretch text-center text-md-left" name="projects">
|
||||||
</ldp-route>
|
<i class="fa fa-tasks" aria-hidden="true"></i>
|
||||||
<ldp-route class="nav-item d-none" name="project" id-prefix="http://localhost:8000/projects/">
|
<span class="d-none d-md-inline"> Projets</span>
|
||||||
Projet
|
</ldp-route>
|
||||||
</ldp-route>
|
<ldp-route class="nav-item d-none" name="project" id-prefix="http://localhost:8000/projects/">
|
||||||
<ldp-route class="nav-item pl-4 pr-4 pb-2 align-self-stretch w-25 text-center text-md-left" name="groups">
|
Projet
|
||||||
<i class="fa fa-comments" aria-hidden="true"></i>
|
</ldp-route>
|
||||||
<span class="d-none d-md-inline"> Groupes</span>
|
<ldp-route class="nav-item pl-4 pr-4 pb-2 align-self-stretch text-center text-md-left" name="groups">
|
||||||
</ldp-route>
|
<i class="fa fa-comments" aria-hidden="true"></i>
|
||||||
<!--<ldp-route class="nav-item" name="calendar">Agenda</ldp-route>-->
|
<span class="d-none d-md-inline"> Groupes</span>
|
||||||
<!--<ldp-route class="nav-item" name="drive">Drive</ldp-route>-->
|
</ldp-route>
|
||||||
|
</div>
|
||||||
</ldp-router>
|
</ldp-router>
|
||||||
</nav>
|
</nav>
|
||||||
|
6
src/scss/_dashboard.scss
Normal file
6
src/scss/_dashboard.scss
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#dashboard {
|
||||||
|
#search-help {
|
||||||
|
font-style: italic;
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
}
|
@ -1,23 +1,31 @@
|
|||||||
#navbar {
|
#navbar {
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
|
|
||||||
#menu-title {
|
|
||||||
font-family: bebas;
|
|
||||||
color: $hd-color;
|
|
||||||
font-size: $menu-font-size;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#navbar-router {
|
#navbar-router {
|
||||||
color: $twitter-color;
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
flex-direction: row;
|
||||||
|
color: $twitter-color;
|
||||||
|
|
||||||
|
#menu-title {
|
||||||
|
font-family: bebas;
|
||||||
|
color: $hd-color;
|
||||||
|
font-size: $menu-font-size;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#menu-items {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
ldp-route {
|
ldp-route {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
ldp-route:hover {
|
|
||||||
text-decoration: underline;
|
#menu-title[active],
|
||||||
}
|
|
||||||
ldp-route[active] {
|
ldp-route[active] {
|
||||||
border-bottom: 2px solid $hd-color;
|
border-bottom: 2px solid $hd-color;
|
||||||
color: $hd-color;
|
color: $hd-color;
|
||||||
|
@ -8,3 +8,4 @@
|
|||||||
@import "groupsList";
|
@import "groupsList";
|
||||||
@import "project";
|
@import "project";
|
||||||
@import "projectsList";
|
@import "projectsList";
|
||||||
|
@import "dashboard";
|
||||||
|
Loading…
Reference in New Issue
Block a user