Commit 93241421d24312e62a71255804b7640449434ff2
1 parent
002de3aa
Test navbar
Showing
3 changed files
with
18 additions
and
92 deletions
Show diff stats
site/header.php
1 | <!-- header --> | 1 | <!-- header --> |
2 | -<header class="header" style="position: fixed; z-index:289;"> | ||
3 | - <nav class="navbar navbar-inverse"> | ||
4 | - <div class="container-fluid"> | ||
5 | - <div class="navbar-header"> | ||
6 | - <a class="navbar-brand" href="accueil.php">Accueil</a> | ||
7 | - </div> | 2 | +<header class="container-fluid header" style="position: fixed; z-index:289;"> |
3 | + <div class="container"> | ||
4 | + <a href ="accueil.php" class="logo"><i class="fa fa-home"></i> Accueil</a> | ||
5 | + <div class="menu flex-column flex-sm-row"> | ||
8 | <?php | 6 | <?php |
9 | if(isset($_SESSION['Login'], $_SESSION['Password'])) | 7 | if(isset($_SESSION['Login'], $_SESSION['Password'])) |
10 | { | 8 | { |
11 | require_once("accesBase.php") ; | 9 | require_once("accesBase.php") ; |
12 | $membre = getMembreByIdPwd($_SESSION['Login'], $_SESSION['Password']); | 10 | $membre = getMembreByIdPwd($_SESSION['Login'], $_SESSION['Password']); |
13 | ?> | 11 | ?> |
14 | - <ul class="nav navbar-nav"> | ||
15 | - <li><a href="gestionRaspberry.php">Raspberry</a></li> | ||
16 | - <li><a href="gestionCapteur.php">Capteur</a></li> | ||
17 | - <li><a href="send.php">Upload</a></li> | ||
18 | - <li><a href="history.php">Historique</a></li> | ||
19 | - <li><a href="rechercheGraphe.php">Graphiques</a></li> | ||
20 | - <li><a href="data.php">Valeurs</a></li> | ||
21 | - </ul> | ||
22 | - <ul class="nav navbar-nav navbar-right"> | ||
23 | - <?php | ||
24 | - if(getGroupe($_SESSION['Login'])==1) | ||
25 | - { | ||
26 | - echo '<li><a href="inscrire.php"><span class="glyphicon glyphicon-user"></span> Comptes</a></li>'; | ||
27 | - } | ||
28 | - ?> | ||
29 | - <li><a href="deconnecter.php"><span class="glyphicon glyphicon-log-out"></span> Deconnexion</a></li> | ||
30 | - </ul> | 12 | + <a href="gestionRaspberry.php"><i class="fas fa-cogs"></i> Raspberry</a> |
13 | + <a href="gestionCapteur.php"><i class="fas fa-cogs"></i> Capteur</a> | ||
14 | + <a href="send.php"><i class="fa fa-file-upload"></i> Upload</a> | ||
15 | + <a href="history.php"><i class="fas fa-history"></i> Historique</a> | ||
16 | + <a href="rechercheGraphe.php"><i class="fas fa-chart-line"></i> Graphiques</a> | ||
17 | + <a href="data.php"><i class="fas fa-database"></i> Valeurs</a> | ||
18 | + <?php | ||
19 | + if(getGroupe($_SESSION['Login'])==1) | ||
20 | + { | ||
21 | + echo '<a href="inscrire.php"><i class="fas fa-users-cog"></i> Compte</a>'; | ||
22 | + } | ||
23 | + ?> | ||
24 | + <a href="deconnecter.php"><i class="fa fa-power-off"></i> Deconnexion</a> | ||
31 | <?php | 25 | <?php |
32 | } | 26 | } |
33 | ?> | 27 | ?> |
34 | </div> | 28 | </div> |
35 | - </nav> | 29 | + </div> |
36 | </header> | 30 | </header> |
37 | <!-- end header --> | 31 | <!-- end header --> |
site/header2.html deleted
@@ -1,37 +0,0 @@ | @@ -1,37 +0,0 @@ | ||
1 | -<!-- header --> | ||
2 | -<header class="header" style="position: fixed; z-index:289;"> | ||
3 | - <nav class="navbar navbar-inverse"> | ||
4 | - <div class="container-fluid"> | ||
5 | - <div class="navbar-header"> | ||
6 | - <a class="navbar-brand" href="accueil.php">Accueil</a> | ||
7 | - </div> | ||
8 | - <?php | ||
9 | - if(isset($_SESSION['Login'], $_SESSION['Password'])) | ||
10 | - { | ||
11 | - require_once("accesBase.php") ; | ||
12 | - $membre = getMembreByIdPwd($_SESSION['Login'], $_SESSION['Password']); | ||
13 | - ?> | ||
14 | - <ul class="nav navbar-nav"> | ||
15 | - <li><a href="gestionRaspberry.php">Raspberry</a></li> | ||
16 | - <li><a href="gestionCapteur.php">Capteur</a></li> | ||
17 | - <li><a href="send.php">Upload</a></li> | ||
18 | - <li><a href="history.php">Historique</a></li> | ||
19 | - <li><a href="rechercheGraphe.php">Graphiques</a></li> | ||
20 | - <li><a href="data.php">Valeurs</a></li> | ||
21 | - </ul> | ||
22 | - <ul class="nav navbar-nav navbar-right"> | ||
23 | - <?php | ||
24 | - if(getGroupe($_SESSION['Login'])==1) | ||
25 | - { | ||
26 | - echo '<li><a href="inscrire.php"><span class="glyphicon glyphicon-user"></span> Comptes</a></li>'; | ||
27 | - } | ||
28 | - ?> | ||
29 | - <li><a href="deconnecter.php"><span class="glyphicon glyphicon-log-out"></span> Deconnexion</a></li> | ||
30 | - </ul> | ||
31 | - <?php | ||
32 | - } | ||
33 | - ?> | ||
34 | - </div> | ||
35 | - </nav> | ||
36 | -</header> | ||
37 | -<!-- end header --> |
site/header2.php deleted
@@ -1,31 +0,0 @@ | @@ -1,31 +0,0 @@ | ||
1 | -<!-- header --> | ||
2 | -<header class="container-fluid header" style="position: fixed; z-index:289;"> | ||
3 | - <div class="container"> | ||
4 | - <a href ="accueil.php" class="logo"><i class="fa fa-home"></i> Accueil</a> | ||
5 | - <div class="menu flex-column flex-sm-row"> | ||
6 | - <?php | ||
7 | - if(isset($_SESSION['Login'], $_SESSION['Password'])) | ||
8 | - { | ||
9 | - require_once("accesBase.php") ; | ||
10 | - $membre = getMembreByIdPwd($_SESSION['Login'], $_SESSION['Password']); | ||
11 | - ?> | ||
12 | - <a href="gestionRaspberry.php"><i class="fas fa-cogs"></i> Raspberry</a> | ||
13 | - <a href="gestionCapteur.php"><i class="fas fa-cogs"></i> Capteur</a> | ||
14 | - <a href="send.php"><i class="fa fa-file-upload"></i> Upload</a> | ||
15 | - <a href="history.php"><i class="fas fa-history"></i> Historique</a> | ||
16 | - <a href="rechercheGraphe.php"><i class="fas fa-chart-line"></i> Graphiques</a> | ||
17 | - <a href="data.php"><i class="fas fa-database"></i> Valeurs</a> | ||
18 | - <?php | ||
19 | - if(getGroupe($_SESSION['Login'])==1) | ||
20 | - { | ||
21 | - echo '<a href="inscrire.php"><i class="fas fa-users-cog"></i> Compte</a>'; | ||
22 | - } | ||
23 | - ?> | ||
24 | - <a href="deconnecter.php"><i class="fa fa-power-off"></i> Deconnexion</a> | ||
25 | - <?php | ||
26 | - } | ||
27 | - ?> | ||
28 | - </div> | ||
29 | - </div> | ||
30 | -</header> | ||
31 | -<!-- end header --> |