-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (47 loc) · 2.09 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
<!doctype html>
<html ng-app="agentada" class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Agentada</title>
<link rel="stylesheet" href="stylesheets/app.css" />
<script src="bower_components/modernizr/modernizr.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular-resource.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular-route.min.js"></script>
<!--<script src="https://cdn.socket.io/socket.io-1.1.0.js"></script>-->
<!--<script src="http://cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js"></script>-->
<!--<script src="bower_components/sails.io.js/dist/sails.io.js"></script>-->
<script src="js/agentada.js"></script>
</head>
<body>
<nav>
Agentada
</nav>
<div class="row">
<div class="large-12 columns">
<div class="right">
<button data-dropdown="drop1" aria-controls="drop1" aria-expanded="false">+</button>
</div>
<div ng-view></div>
<div ng-controller="EventsController">
<ul>
<li ng-repeat="event in events">
<p>{{event.text}}</p>
<p>{{event.time}}</p>
</li>
</ul>
<form id="drop1" class="f-dropdown" data-dropdown-content aria-hidden="true" ng-submit="addEvent()">
<input type="text" ng-model="eventText" placeholder="Enter the name of your event">
<input type="time" ng-model="eventTime">
<button type="submit">Add</button>
</form>
</div>
</div>
</div>
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/foundation/js/foundation.min.js"></script>
<script src="js/app.js"></script>
<script src="http://agentada-coldencullen.rhcloud.com/js/dependencies/sails.io.js"></script>
</body>
</html>