This repository has been archived on 2024-01-30. You can view files and clone it, but cannot push or open issues or pull requests.
trev/nodejs/views/index.ejs

53 lines
1.4 KiB
Text
Raw Normal View History

2016-01-12 17:49:13 +01:00
<!DOCTYPE html>
<html>
<head>
<title>Auto Home</title>
2016-01-14 00:01:40 +01:00
<meta name="viewport" content="width=device-width,initial-scale=1.0">
2016-01-12 17:49:13 +01:00
<link rel="stylesheet" href="/stylesheets/normalize.css">
<link rel="stylesheet" href="/stylesheets/skeleton.css">
<link rel="stylesheet" href="/stylesheets/style.css">
<script src="/javascripts/angular.min.js"></script>
<script src="/javascripts/angular-ui-router.min.js"></script>
<script src="/javascripts/angularApp.js"></script>
2016-01-12 17:49:13 +01:00
</head>
<body ng-app="autome">
<div class="container">
2016-01-12 17:49:13 +01:00
<div class="row">
<div class="twelve columns">
2016-01-12 17:49:13 +01:00
<ui-view></ui-view>
</div>
</div>
</div>
2016-01-12 17:49:13 +01:00
<script type="text/ng-template" id="/home.html">
2016-01-14 18:01:17 +01:00
<div class="header">
<h1>Autome</h1>
2016-02-17 23:18:23 +01:00
<table class="u-full-width">
<thead>
<th>Name</th>
<th>Function</th>
</thead>
<tbody>
<tr ng-repeat="RC in RCs | orderBy:'switch_id'">
<td> {{RC.name}} </td>
<td>
<form ng-submit="irTest()" style="margin-top:30px;">
<button type="submit" class="button-primary">Toggle RC</button>
</form>
</td>
</tr>
</tbody>
</table>
2016-01-21 22:01:57 +01:00
<form ng-submit="irTest()" style="margin-top:30px;">
2016-01-21 23:07:53 +01:00
<button type="submit" class="button-primary">IR</button>
2016-01-21 22:01:57 +01:00
</form>
</div>
</script>
2016-01-12 17:49:13 +01:00
</body>
</html>