summaryrefslogtreecommitdiffstats
path: root/f/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'f/templates/index.html')
-rw-r--r--f/templates/index.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/f/templates/index.html b/f/templates/index.html
new file mode 100644
index 0000000..822c162
--- /dev/null
+++ b/f/templates/index.html
@@ -0,0 +1,23 @@
+<!doctype HTML>
+<html >
+<head>
+<script src="/f/scripts/angular/angular.min.js"></script>
+<script src="/socket.io/socket.io.js"></script>
+<script src="/f/scripts/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>