diff options
| author | okalintu <ilkka.oksanen@aalto.fi> | 2015-03-03 22:16:57 +0200 |
|---|---|---|
| committer | okalintu <ilkka.oksanen@aalto.fi> | 2015-03-03 22:16:57 +0200 |
| commit | f1258540d0ab8bc8acbff3f31040539d34131e48 (patch) | |
| tree | 32b67a64d487430320fea4a50d688527458cd00d /f/templates | |
| parent | ca4e8292b3c47a07436d75320f293d57c6fa9b4c (diff) | |
more styling
Diffstat (limited to 'f/templates')
| -rw-r--r-- | f/templates/adm.html | 11 | ||||
| -rw-r--r-- | f/templates/index.html | 5 |
2 files changed, 9 insertions, 7 deletions
diff --git a/f/templates/adm.html b/f/templates/adm.html index e8fd0f0..bd78764 100644 --- a/f/templates/adm.html +++ b/f/templates/adm.html @@ -1,6 +1,7 @@ <!doctype HTML> <html > <head> +<link rel="stylesheet" type="text/css" href="/f/styles/style.css"> <script src="f/scripts/angular/angular.min.js"></script> <script src="/socket.io/socket.io.js"></script> <script src="/f/scripts/client.js"></script> @@ -8,11 +9,11 @@ </head> <body ng-app="ioc" > <div ng-controller="ioctrl"> - <div ng-click="popfirst()" class="adminscreen"> - <div>Jonoa: {{qsize}}</div> - <div>Rivi: {{que[0].row}}</div> - <div>Nimi: {{que[0].name}}</div> - </div> + <table ng-click="popfirst()" id="adminscreen"> + <tr><td> Jonoa:</td><td> {{qsize}}</td></tr> + <tr><td>Nimi: </td><td> {{que[0].name}}</td></tr> + <tr><td>Rivi: </td><td> {{que[0].row}}</td></tr> + </table> </div> </body> </html> diff --git a/f/templates/index.html b/f/templates/index.html index ca72485..b75ee8a 100644 --- a/f/templates/index.html +++ b/f/templates/index.html @@ -23,12 +23,13 @@ <option value="9">9</option> <option value="10">10</option> </select></td></tr> - <tr><td> Nimi:</td> <td><input type="text" ng-model="name"></input></td></tr> + <tr><td> Nimi</td> <td><input type="text" ng-model="name"></input></td></tr> <tr><td></td><td> <button id="addbutton" ng-click="submit();">Lisää</button></td></tr> </table> <table id="que"> +<tr><th>Rivi</th><th>Nimi</th></tr> <tr ng-repeat="person in que"> - <td >Rivi {{person.row}}:</td> + <td >Rivi {{person.row}}</td> <td >{{person.name}}</td> </tr> </table> |
