summaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorokalintu <ilkka.oks4nen@gmail.com>2015-03-03 13:49:21 +0200
committerokalintu <ilkka.oks4nen@gmail.com>2015-03-03 13:49:21 +0200
commitc3f11b89b73e1e1e109631493150817bd8c78a66 (patch)
tree3293a1f76d7c4093e785eb89bbc3178ad3b1890c /index.html
initial commit
Diffstat (limited to 'index.html')
-rw-r--r--index.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..536f644
--- /dev/null
+++ b/index.html
@@ -0,0 +1,23 @@
+<!doctype HTML>
+<html >
+<head>
+<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular.min.js"></script>
+<script src="/socket.io/socket.io.js"></script>
+<script src="/client.js"></script>
+<title>Jono</title>
+</head>
+<body ng-app="ioc" >
+<div ng-controller="ioctrl" style="font-size:36px;width:400px;margin-left:auto;margin-right:auto;">
+<div>Rivi: <input type="text" ng-model="row"></input></div>
+<div> Nimi: <input type="text" ng-model="name"></input></div>
+<button ng-click="submit();">Add</button>
+
+<table>
+<tr ng-repeat="person in que">
+ <td >{{person.row}}</td>
+ <td >{{person.name}}</td>
+</tr>
+</table>
+</div>
+</body>
+</html>