summaryrefslogtreecommitdiffstats
path: root/f/templates
diff options
context:
space:
mode:
Diffstat (limited to 'f/templates')
-rw-r--r--f/templates/adm.html19
-rw-r--r--f/templates/index.html68
-rw-r--r--f/templates/log.html16
3 files changed, 0 insertions, 103 deletions
diff --git a/f/templates/adm.html b/f/templates/adm.html
deleted file mode 100644
index ae9de77..0000000
--- a/f/templates/adm.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!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>
-<title>Jono</title>
-</head>
-<body ng-app="ioc" >
-<div ng-controller="ioctrl">
- <table ng-click="popfirst()" ng-class="{outdated:outdated,updated:!outdated}" 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
deleted file mode 100644
index 488f6b9..0000000
--- a/f/templates/index.html
+++ /dev/null
@@ -1,68 +0,0 @@
-<!doctype HTML>
-<html >
- <head>
- <link href='https://fonts.googleapis.com/css?family=Lato:300italic,700,300' rel='stylesheet' type='text/css'>
- <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>
- <meta charset="utf8">
- <title>Jonokone</title>
- </head>
- <body ng-app="ioc" >
- <div ng-controller="ioctrl" id="container_main">
- <div id="title">Jonokone</div>
- <div id="subtitle">@ jonokone.dy.fi</div>
- <br>
- <table id="addform" class="centered-table">
- <tr>
- <td class="form-name">Rivi: </td>
- <td class="form-input">
- <select ng-model="row">
- <option value="1" selected="selected">1</option>
- <option value="2">2</option>
- <option value="3">3</option>
- <option value="4">4</option>
- <option value="5">5</option>
- <option value="6">6</option>
- <option value="7">7</option>
- <option value="8">8</option>
- <option value="9">9</option>
- <option value="10">10</option>
- </select>
- </td>
- </tr>
- <tr>
- <td class="form-name">Nimi: </td>
- <td class="form-input">
- <input type="text" ng-model="name"></input>
- </td>
- </tr>
- </table>
-
- <a href="#" class="addButton" ng-click="submit();">Lisää</a>
-
- <div ng-if='error_message != ""' id="add-error">
- {{error_message}}
- </div>
-
- <div ng-repeat="person in que">
- <div ng-if="person.uid == uid" ng-click="querm(person.qid);">
- <a href="#" class="removeButton">Poista {{person.name}}</a>
- </div>
- </div>
-
- <table id="que" class="centered-table" ng-if="que.length > 0">
- <tr>
- <th>Rivi</th>
- <th>Nimi</th>
- </tr>
- <tr ng-repeat="person in que">
- <td >Rivi {{person.row}}</td>
- <td >{{person.name}}</td>
- </tr>
- </table>
-
- </div>
- </body>
-</html> \ No newline at end of file
diff --git a/f/templates/log.html b/f/templates/log.html
deleted file mode 100644
index 43ae8ff..0000000
--- a/f/templates/log.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>Queuelog</title>
-<meta charset="utf-8">
-<script src="f/scripts/angular/angular.min.js"></script>
-<script src="/socket.io/socket.io.js"></script>
-<script src="f/scripts/log.js"></script>
-</head>
-<body ng-app="logapp">
-<div id="container" ng-controller="logctrl">
-<p ng-repeat="msg in logmessages">{{msg}}</p>
-</div>
-
-</body>
-</html>