-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·112 lines (90 loc) · 4.42 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html lang="en" ng-app="tastemakerApp">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Tastemaker | Let's find your dinner</title>
<!-- Bootstrap -->
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
<!-- Custom CSS -->
<link href="app/styles/css/main.css" rel="stylesheet">
<!-- Fonts -->
<link href='https://fonts.googleapis.com/css?family=Enriqueta:400,700' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Lora' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
</head>
<body>
<!-- Navigation -->
<nav ng-controller="navbarController as navCtrl" class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<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="#/">T A S T E M A K E R</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li>
<a ng-if="!navCtrl.isLoggedIn()" href="#/login">Log In</a>
</li>
<li>
<a ng-if="!navCtrl.isLoggedIn()" href="#/signup">Sign Up</a>
</li>
<li>
<a ng-if="navCtrl.isLoggedIn()" href="#/account">My Account</a>
</li>
<li>
<a ng-if="navCtrl.isLoggedIn()" href="#/account/favorites">My Favorites</a>
</li>
<li>
<a ng-if="navCtrl.isLoggedIn()" href="#/account/logout" ng-click="navCtrl.logout()">Log Out</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- <div class="col-md-12 col-md-offset-4"> -->
<div ng-view></div>
<!-- </div> -->
<!-- jQuery -->
<script src="bower_components/jquery/dist/jquery.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- SimpleStorage -->
<script src="bower_components/simpleStorage/simpleStorage.js" type="text/javascript"></script>
<!-- AngularJS -->
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/angular-messages/angular-messages.min.js"></script>
<script src="bower_components/angular-route/angular-route.js"></script>
<script src="bower_components/angular-cookies/angular-cookies.js"></script>
<script src="bower_components/angular-spinner/angular-spinner.min.js"></script>
<script src="bower_components/spin.js/spin.js"></script>
<script src="bower_components/angular-loading-spinner/angular-loading-spinner.js"></script>
<!-- App -->
<script src='app/scripts/app.js'></script>
<!-- Services -->
<script src='app/scripts/services/values.js'></script>
<!-- Factories -->
<script src='app/scripts/services/findRestaurantFactory.js'></script>
<script src='app/scripts/services/authFactory.js'></script>
<script src='app/scripts/services/favoritesFactory.js'></script>
<!-- Controllers -->
<script src='app/scripts/controllers/findRestaurantController.js'></script>
<script src='app/scripts/controllers/loginController.js'></script>
<script src='app/scripts/controllers/accountController.js'></script>
<script src='app/scripts/controllers/favoritesController.js'></script>
<script src='app/scripts/controllers/navbarController.js'></script>
<script src='app/scripts/controllers/signupController.js'></script>
<!-- Angular Google Maps stuff -->
<script src='bower_components/lodash/lodash.min.js'></script>
<script src='bower_components/angular-google-maps/dist/angular-google-maps.min.js'></script>
<script src='bower_components/angular-google-maps/angular-simple-logger/dist/index.js'></script>
</body>
</html>