-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (53 loc) · 2.01 KB
/
index.html
File metadata and controls
61 lines (53 loc) · 2.01 KB
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
<!doctype html>
<html>
<head>
<title>Socket.IO chat</title>
<link rel="stylesheet" href="style.css">
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
</head>
<body ng-app='app' ng-controller="AppCtrl">
<!-- Wrap all page content here -->
<div id="wrap">
<!-- Begin page content -->
<div class="container">
<div class="page-header">
<h1>A message app</h1>
</div>
</div>
<div class="container">
<ul id="messages"></ul>
</div>
<div id="footer">
<div class="container">
<form action="">
<input id="m" autocomplete="off" placeholder="send a message"/><button>Send</button>
</form>
</div>
</div>
<nav class="navbar navbar-default">
<div class="container">
<ul class="nav navbar-nav">
<li><a href="/#/">Posts</a></li>
<li><a href="/#/register">Register</a></li>
<li><a href="/#/login">Login</a></li>
<!-- <li><button ng-click="logout()" ng-controller="LogoutCtrl" class="btn btn-default">Logout</button></li> -->
</ul>
<p ng-if="currentUser" class="navbar-text navbar-right">
Signed in as {{currentUser.username}}
</p>
</div>
</nav>
<!--//why not gulp/app.styl?-->
<div class="container" ng-view></div>
</div> <!-- End of wrap -->
<!-- Socket.IO servers automatically serve the client-->
<script src="/socket.io/socket.io.js"></script>
<script src="https://cdn.socket.io/socket.io-1.2.0.js"></script>
<script src="http://code.jquery.com/jquery-1.11.1.js"></script>
<script src='http://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.4/angular.js'></script>
<script src='http://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.4/angular-route.js'></script>
<script src="app_module.js"></script>
<script src="script.js"></script>
</body>
</html>