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.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/f/templates/index.html b/f/templates/index.html
index 822c162..e1cb7b3 100644
--- a/f/templates/index.html
+++ b/f/templates/index.html
@@ -7,11 +7,12 @@
<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>
+<div ng-controller="ioctrl" class="que">
+<table>
+ <tr><td>Rivi: </td><td> <input type="text" ng-model="row"></input></td></tr>
+ <tr><td> Nimi:</td> <td><input type="text" ng-model="name"></input></td></tr>
<button ng-click="submit();">Add</button>
-
+</table>
<table>
<tr ng-repeat="person in que">
<td >{{person.row}}</td>