-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
53 lines (53 loc) · 2.73 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CS Crew</title>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- build:js -->
<script src="js/unslider.min.js"></script>
<script src="js/cscrewapp.js"></script>
<script src="js/userservice.js"></script>
<script src="js/helphourservice.js"></script>
<script src="js/signinservice.js"></script>
<script src="js/cscrewctrl.js"></script>
<script src="js/adminctrl.js"></script>
<script src="js/angular-ui-router.min.js"></script>
<script src="js/ui-bootstrap-tpls-0.13.0.min.js"></script>
<script src="js/moment.js"></script>
<script src="js/angular-moment.min.js"></script>
<!-- endbuild -->
<script src="//cdnjs.cloudflare.com/ajax/libs/moment-range/2.0.2/moment-range.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/cscrew.css">
</head>
<body ng-app="cscrew" ng-controller="MainCtrl" class="mint">
<nav class="navbar navbar-default" ng-init="currentUser()">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" ui-sref="home">
<!--<img class="cscrew-header-logo" src="img/logo.png">-->
CS Crew
</a>
</div>
<ul class="nav navbar-nav">
<li ui-sref-active="active"><a href="#" ui-sref="members">Members</a></li>
<li ui-sref-active="active"><a href="#" ui-sref="get-help">Get Help</a></li>
<li><a href="https://cscrew.w3.uvm.edu/mb">Message Board</a></li>
<li ui-sref-active="active" ng-if="currentUser.authenticated"><a href="#" ui-sref="profile">My Account</a></li>
<li ui-sref-active="active">
<a ng-if="currentUser.user.IsAdmin" href="#" ui-sref="admin.home" ng-init="loadPendingAdminNotifications()">Admin <span class="badge">{{ numUnapprovedHelpHours }}</span></a>
<a ng-if="!(currentUserLoaded && currentUser.authenticated)" href="login">Login</a>
</li>
</ul>
<div class="navbar-right navbar-text" ng-hide="currentUserLoaded">Loading... </div>
<div class="navbar-right navbar-text" ng-show="currentUser.authenticated">
Welcome, {{ currentUser.user.Name }}
</div>
</div>
</nav>
<div class="container" ui-view></div>
</body>
</html>