|
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
|
6 | 6 | <link rel="stylesheet" href="/styles/app.css">
|
7 | 7 | </head>
|
| 8 | + <body> |
| 9 | + <div ng-app="contrast" ng-cloak="true"> |
8 | 10 |
|
9 |
| - <body ng-app="contrast"> |
10 |
| - |
11 |
| - <header ng-controller="headerCtrl"> |
12 |
| - <div ng-class="{notification: isNotifications, header: true}"> |
13 |
| - <h1>Contrast.io</h1> |
14 |
| - <div class="message"> |
15 |
| - <a ng-click="leaveNotification()">{{notification.text}}</a> |
16 |
| - <div class="quit" ng-click="isNotifications=false">X</div> |
17 |
| - </div> |
18 |
| - <nav> |
19 |
| - <div class="hamburger"> |
20 |
| - <a href="#!">:::</a> |
21 |
| - <div class="dropdown"> |
22 |
| - <a href="#/">Home</a> |
23 |
| - <a href="#/profile" ng-show="isLoggedIn">Profile</a> |
24 |
| - <a href="#/challenges" ng-show="isLoggedIn">Challenges</a> |
25 |
| - <a href="#/requests" ng-show="isLoggedIn">Requests</a> |
26 |
| - <a href="#/mychallenges" ng-show="isLoggedIn">My Challenges</a> |
27 |
| - <a href="#/login" ng-show="!isLoggedIn">Login</a> |
28 |
| - <a href="#/signup" ng-show="!isLoggedIn">Sign Up</a> |
29 |
| - <a href="#/logout" ng-show="isLoggedIn">Logout</a> |
30 |
| - </div> |
| 11 | + <header ng-controller="headerCtrl"> |
| 12 | + <div ng-class="{notification: isNotifications, header: true}"> |
| 13 | + <h1>Contrast.io</h1> |
| 14 | + <div class="message"> |
| 15 | + <a ng-click="leaveNotification()">{{notification.text}}</a> |
| 16 | + <div class="quit" ng-click="isNotifications=false">X</div> |
31 | 17 | </div>
|
32 |
| - </nav> |
33 |
| - </div> |
34 |
| - </header> |
| 18 | + <nav> |
| 19 | + <div class="hamburger"> |
| 20 | + <a href="#!">:::</a> |
| 21 | + <div class="dropdown"> |
| 22 | + <a href="#/">Home</a> |
| 23 | + <a href="#/profile" ng-show="isLoggedIn">Profile</a> |
| 24 | + <a href="#/challenges" ng-show="isLoggedIn">Challenges</a> |
| 25 | + <a href="#/requests" ng-show="isLoggedIn">Requests</a> |
| 26 | + <a href="#/mychallenges" ng-show="isLoggedIn">My Challenges</a> |
| 27 | + <a href="#/login" ng-show="!isLoggedIn">Login</a> |
| 28 | + <a href="#/signup" ng-show="!isLoggedIn">Sign Up</a> |
| 29 | + <a href="#/logout" ng-show="isLoggedIn">Logout</a> |
| 30 | + </div> |
| 31 | + </div> |
| 32 | + </nav> |
| 33 | + </div> |
| 34 | + </header> |
35 | 35 |
|
36 |
| - <div class="container"> |
37 |
| - <div ui-view></div> |
| 36 | + <div class="container"> |
| 37 | + <div ui-view></div> |
| 38 | + </div> |
| 39 | + <footer> |
| 40 | + © 2014. All Rights Reserved. |
| 41 | + <script src="/js/app.js"></script> |
| 42 | + </footer> |
38 | 43 | </div>
|
39 |
| - <footer> |
40 |
| - © 2014. All Rights Reserved. |
41 |
| - <script src="/js/app.js"></script> |
42 |
| - </footer> |
43 | 44 | </body>
|
44 | 45 | </html>
|
45 | 46 |
|
0 commit comments