Commit 06081f6d7a71f4f2bf8cd61f2d9a06a7cdb42eef
1 parent
426b6852
creation de tobnavbar.php (pour la barre de navigation)
Showing
1 changed file
with
26 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,26 @@ | @@ -0,0 +1,26 @@ | ||
1 | +<nav class="navbar navbar-fixed-top" role="navigation"> | ||
2 | + <div class="container"> | ||
3 | + <div class="navbar-header"> | ||
4 | + <a class="navbar-brand" href="#">Titre</a> | ||
5 | + </div> | ||
6 | + <div class="collapse navbar-collapse"> | ||
7 | + | ||
8 | + <?php> | ||
9 | + if ( 1 == 1 ) | ||
10 | + { | ||
11 | + <form class="navbar-form navbar-right" role="search"> | ||
12 | + <button type="submit" class="btn btn-default">Inscription</button> | ||
13 | + <button type="submit" class="btn btn-default">Connection</button> | ||
14 | + </form> | ||
15 | + } | ||
16 | + else | ||
17 | + { | ||
18 | + <p class="navbar-text navbar-right">Bienvenue,_ | ||
19 | + <a href="#" class="navbar-link">enanrock</a> | ||
20 | + </p> | ||
21 | + } | ||
22 | + </div> | ||
23 | + <?> | ||
24 | + | ||
25 | + </div> | ||
26 | +</nav> |