-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
72 lines (63 loc) · 3 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
<!DOCTYPE html>
<html lang="en" ng-app="jackalApp">
<head>
<title>Home page</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="/resources/bootstrap/css/bootstrap.css" />
<link type="text/css" rel="stylesheet" href="/resources/bootstrap/css/bootstrap.min.css" />
<style>
@import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700);
html, body {
height: 100%;
margin: 0;
padding: 0;
}
body {
font:14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.ui-nav {
text-shadow: 0 -1px 0 rgba(0,0,0,.15);
background-color: #563d7c;
border-color: #463265;
box-shadow: 0 1px 0 rgba(255,255,255,.1);
}
.ui-nav .navbar-brand {
color: ghostwhite;
font-size: 2.0em;
}
.ui-nav .navbar-nav > li > a {
color: #cdbfe3;
font-size: 1.3em;
}
</style>
</head>
<body ng-controller="DatabaseCtrl">
<div class="navbar navbar-inverse navbar-static-top ui-nav">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">Jackal</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<!-- TODO: temporary -->
<li ng-hide="user"><a ng-click="login()">Login with Github</a></li>
<li ng-show="user"><a href="profile.html">Welcome, {{user.name}}!</a></li>
<li ng-show="user"><a ng-click="logout()" style="font-size: 1em;">Log out</a></li>
</ul>
</div>
</div>
</div>
<script type="application/javascript" src="/resources/bootstrap/js/jquery.js" ></script>
<script type="application/javascript" src="/resources/bootstrap/js/bootstrap.js" ></script>
<script type="application/javascript" src="/resources/server/angular.js"></script>
<script src='https://cdn.firebase.com/v0/firebase.js'></script>
<script src="https://cdn.firebase.com/v0/firebase-simple-login.js"></script>
<script src='https://cdn.firebase.com/libs/angularfire/0.3.0/angularfire.min.js'></script>
<script type="application/javascript" src="/resources/server/app.js"></script>
</body>
</html>