diff options
| -rw-r--r-- | f/templates/adm.html | 2 | ||||
| -rw-r--r-- | f/templates/index.html | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/f/templates/adm.html b/f/templates/adm.html index bbc4209..e8fd0f0 100644 --- a/f/templates/adm.html +++ b/f/templates/adm.html @@ -8,7 +8,7 @@ </head> <body ng-app="ioc" > <div ng-controller="ioctrl"> - <div ng-click="popfirst()" style="font-size:72px;"> + <div ng-click="popfirst()" class="adminscreen"> <div>Jonoa: {{qsize}}</div> <div>Rivi: {{que[0].row}}</div> <div>Nimi: {{que[0].name}}</div> 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> |
