<!DOCTYPE HTML>
<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
<!-- above set at the top of the file will set     -->
<!-- the browser's rendering engine into           -->
<!-- "Quirks Mode". Replacing this declaration     -->
<!-- with a "Standards Mode" doctype is supported, -->
<!-- but may lead to some differences in layout.   -->

<html ng-app="bananaraceApp" lang="nl">
<head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <!--  enable bootstrap -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <!--  enable angular -->
  <title>Race manager</title>
  <script src="node_modules/angular/angular.js"></script>

  <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  <script src="node_modules/jquery/dist/jquery.min.js"></script>
  <script src="node_modules/angular-route/angular-route.min.js"></script>
  <script src="node_modules/angular-md5/angular-md5.min.js"></script>
  <script src="node_modules/angular-animate/angular-animate.min.js"></script>

  <!-- enable cookies -->
  <script src="node_modules/angular-cookies/angular-cookies.min.js"></script>

  <!-- Bootstrap -->
  <link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
  <link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap-theme.min.css">
  <link rel="stylesheet" href="css/app.css">
  <script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>

  <!-- enable ui-bootstrap -->
  <script src="node_modules/angular-bootstrap/ui-bootstrap.min.js"></script>
  <script src="node_modules/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
  <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular-animate.js"></script>

  <script src="node_modules/moment/min/moment-with-locales.min.js"></script>

  <!-- font awesome -->
  <link href="node_modules/font-awesome/css/font-awesome.min.css" rel="stylesheet">

  <!-- local files -->
  <script src="js/app.js"></script>
  <script src="js/filters.js"></script>
  <script src="js/services.js"></script>
  <script src="js/directives.js"></script>

  <!-- controllers: include main.js first! -->
  <script src="js/controllers/main.js"></script>
  <script src="js/controllers/championships.js"></script>
  <script src="js/controllers/championship.js"></script>
  <script src="js/controllers/viewer.js"></script>
  <script src="js/controllers/overview.js"></script>
  <script src="js/controllers/poule.js"></script>
  <script src="js/controllers/teams.js"></script>
  <script src="js/controllers/race.js"></script>
  <script src="js/controllers/drivers.js"></script>
  <!-- remove me -->
  <script src="js/controllers.js"></script>

  <!-- enable mobile -->
  <meta name="viewport" content="width=device-width, initial-scale=1">

</head>

<body>

 <!-- the navbar on top ...  -->
 <nav class="navbar navbar-default navbar-fixed-top" ng-controller="NavCtrl" ng-show="navbarVisible">
  <div class="container-fluid">
   <!-- Brand and toggle get grouped for better mobile display -->
   <div class="navbar-header">
    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
    <a class="navbar-brand" href="">Laaionhead Racing</a>
  </div>

  <!-- Collect the nav links, forms, and other content for toggling -->
  <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
    <ul class="nav navbar-nav">
     <li ng-class="getActiveCss('/championships');"><a href="#/championships">Kampioenschappen</a></li>
     <li ng-class="getActiveCss('/viewer');"><a href="#/viewer">Resultaten</a></li>
   </ul>

   <ul class="nav navbar-nav navbar-right" style="margin-right:20px">
    <li ng-show="getActiveRace()!=null">
      <a href="#/championship/{{getActiveRace().idchampionship}}/poule/{{getActiveRace().tier}}/{{getActiveRace().poule}}/race/{{getActiveRace().idrace}}/drives">Actieve race: {{getActiveRace().idrace}}</a>
    </li>
    <li>
      <button type="button" ng-click="navbarVisible = !navbarVisible" class="btn btn-default btn-xs navbar-btn glyphicon glyphicon-chevron-up"></button>
    </li>
  </ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>

<!-- the main view div... here's where the partials are served -->
<div class="container-fluid">
<div ng-view></div>
</div>

</body>
</html>
