Skip to content
Snippets Groups Projects
index.html 3.64 KiB
Newer Older
christothes's avatar
christothes committed
<!doctype html>
<html lang="en" ng-app="myApp" ng-controller="HomeCtrl">
<head>
    <meta charset="utf-8">
    <title>NodeJS Against Humanity</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Le styles -->
    <link href="/public/css/bootstrap.min.css" rel="stylesheet">
    <link href="/public/css/appStyles.css" rel="stylesheet">
    <style>
        body {
            padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
        }
    </style>
</head>
<body>
    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#humanity-navbar-collapse">
                <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="/">NodeJS Against Humanity</a>
        </div>
        <div class="navbar-collapse collapse" id="humanity-navbar-collapse">
            <ul class="nav navbar-nav">
                <li ng-show="inLobby"><a href="" ng-click="createGame()">Create Game</a></li>
            </ul>
            <form ng-show="inLobby" class="navbar-form navbar-left" role="search">
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="enter name" ng-model="gameSvc.playerName">
                </div>
            </form>
        </div>
    </nav>
    <div class="container">
        <div class="row">
            <div class="col-sm-2">
                <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/2.0/">
                <img alt="Creative Commons License" style="display: block; margin-left: auto; margin-right: auto;" src="http://i.creativecommons.org/l/by-nc-sa/2.0/88x31.png" /></a>
            </div>
            <div class="col-sm-10">
                <small>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/2.0/">Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Generic License</a>.</small>
                <br />
                <small>This site is not affliated in any way with the official Cards Against Humanities.</small>
            </div>
        </div>
        <br>
christothes's avatar
christothes committed
        <div ng-view></div>
        <br>
        <div>comitted:&nbsp;<span app-version></span></div>
christothes's avatar
christothes committed
    </div>





  <!-- In production use:
  <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script>
  -->
    <script src="public/lib/angular/angular.min.js"></script>
    <script src="public/lib/angular/angular-resource.min.js"></script>
christothes's avatar
christothes committed
    <script src="public/lib/angular/angular-route.min.js"></script>
    <script src="public/lib/angular/angular-sanitize.min.js"></script>
christothes's avatar
christothes committed
    <script src="public/js/app/angular_app.js"></script>
    <script src="public/js/app/services.js"></script>
    <script src="public/js/app/controllers.js"></script>
    <script src="public/js/app/filters.js"></script>
    <script src="public/js/app/directives.js"></script>
    <script src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-2.0.3.min.js" type="text/javascript"></script>
    <!--<script src="/public/lib/jqueryCookie.js" type="text/javascript"></script>-->
    <!--<script src="/public/lib/jqueryTmpl.js" type="text/javascript"></script>-->
    <script src="/public/lib/underscore.js" type="text/javascript"></script>
    <script src="/public/js/bootstrap.min.js" type="text/javascript"></script>
    <script src="/socket.io/socket.io.js"></script>
</body>
</html>