index.html 2.07 KB
<!doctype html>
<html lang="fr">
    <head>
        <meta charset="utf-8">
        <base href="/">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>Club Informatique de Polytech Lille</title>
        <link rel="stylesheet" href="libs/bootswatch-dist/css/bootstrap.min.css">
        <link rel="stylesheet" href="css/style.css">
        <script src="libs/jquery/dist/jquery.min.js"></script>
        <script src="libs/angular/angular.min.js"></script>
        <script src="libs/angular-route/angular-route.min.js"></script>
        <script src="libs/angular-bootstrap/ui-bootstrap.min.js"></script>
        <script src="js/controllers/MembreCtrl.js"></script>
        <script src="js/services/SessionServ.js"></script>
        <script src="js/controllers/SessionCtrl.js"></script>
        <script src="js/controllers/ConnectCtrl.js"></script>
        <script src="js/appRoutes.js"></script>
        <script src="js/app.js"></script>
    </head>
    <body ng-app="ciApp">
        <div class="container">
            <nav class="navbar navbar-default">
                <div class="container-fluid">
                    <div class="navbar-header">
                        <a class="navbar-brand" href="/">Club Info</a>
                    </div>
                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                        <ul class="nav navbar-nav">
                            <li><a href="/membres">Membres</a></li>
                        </ul>
                        <ul class="nav navbar-nav navbar-right" ng-controller="SessionController">
                            <li>
                                <a ng-hide="session.logged" href="/connect">Se connecter</a>
                                <a ng-show="session.logged" href="#" ng-click="session.disconnect()">{{ session.nom }} <span class="glyphicon glyphicon-off"></span></a>
                            </li>
                        </ul>
                    </div>
                </div>
            </nav>
            <div ng-view></div>
        </div>
    </body>
</html>