nav.blade.php 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <nav class="navbar navbar-default navbar-fixed-top light-background-colored" role="navigation" id="topnavbar">
  2. <div class="container-fluid">
  3. <div class="light-background-colored">
  4. <div class="navbar-header ">
  5. <!-- Collapsed Hamburger -->
  6. <button type="button" class="navbar-toggle collapsed light-background-colored" data-toggle="collapse" data-target="#app-navbar-collapse" aria-expanded="false" aria-controls="navbar">
  7. <span class="sr-only">Toggle Navigation</span>
  8. <span class="icon-bar"></span>
  9. <span class="icon-bar"></span>
  10. <span class="icon-bar"></span>
  11. </button>
  12. <!-- Branding Image -->
  13. <a class="navbar-brand ostrich title-app-navbar my-navbar-hover" style="white-space: nowrap;" href="{{ url('/home') }}">
  14. <i class="fa fa-home fa-fw" aria-hidden="true"></i><b> Bisame </b>
  15. </a>
  16. <!--<div class="collapse navbar-collapse" id="app-navbar-collapse">-->
  17. <ul class="nav navbar-nav navbar-right navbar-button-text">
  18. <!-- <li><a class="my-navbar-hover navbar-nav nav navbar-button-text" href="{{ url('/textes') }}">
  19. <b> Les textes originaux</b> ! </a></li>-->
  20. </ul>
  21. <!--</div>-->
  22. </div>
  23. <div class="collapse navbar-collapse" id="app-navbar-collapse">
  24. <!-- Right Side Of Navbar -->
  25. <ul class="nav navbar-nav navbar-right navbar-button-text">
  26. <li><a class="my-navbar-hover navbar-nav nav navbar-button-text" href="{{ url('/textes') }}">
  27. <b> Les textes originaux</b> ! </a></li>
  28. <li><a class ="incognito" style="float: none;display: inline-block;text-align: center;">
  29. <b>Déjà {{$non_admin_annotations}} annotations produites par {{$nb_total_users}} participants </b> !</a></li></a></li>
  30. <!-- Authentication Links -->
  31. @if (Auth::guest())
  32. <li><a class="my-navbar-hover" href="{{ url('/login') }}">Connexion</a></li>
  33. <li><a class="my-navbar-hover" href="{{ url('/register') }}">Inscription</a></li>
  34. @else
  35. <li><a class ="incognito" >Niveau : {{$niveau}}</a></li>
  36. @if ($real_score == 0)
  37. <li><a class ="incognito">Score : {{$real_score}} point</a></li>
  38. @else
  39. <li><a class ="incognito">Score : {{$real_score}} points</a></li>
  40. @endif
  41. @if ($nb_annotations == 0)
  42. <li><a class ="incognito">Vous n'avez pas encore produit d'annotation.</a></li>
  43. @else
  44. <li><a class ="incognito">Vous avez produit {{$nb_annotations}} annotations !</a></li>
  45. @endif
  46. <li class="dropdown">
  47. <a href="#" class="dropdown-toggle my-navbar-hover my-navbar-click" data-toggle="dropdown" role="button" aria-expanded="false">
  48. {{$name}}<span class="caret"></span>
  49. </a>
  50. <ul class="dropdown-menu" role="menu">
  51. <!--<li><a href="{{ url('/profile') }}"><i class="fa fa-btn fa-user"></i>Mon profil</a></li>-->
  52. <li><a href="{{ url('/logout') }}"><i class="fa fa-btn fa-sign-out"></i>Déconnexion</a></li>
  53. </ul>
  54. </li>
  55. <li> <i class="icon-search icon-white"></i>
  56. <a class="my-navbar-hover" href="/contact"> <i class="fa fa-envelope-o" aria-hidden="true"></i> Un commentaire ?</a>
  57. </li>
  58. @endif
  59. </ul>
  60. </div>
  61. </div>
  62. </div>
  63. </nav>