-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
39 lines (36 loc) · 1.08 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Remote control</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
<!-- Bootstrap -->
<link href="bootstrap/css/bootstrap.css" rel="stylesheet" media="screen">
<link href="styles.css" rel="stylesheet" media="screen">
<script src="script/jquery.js"></script>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="#">Remote Control</a>
</div>
</div>
</div>
<div id="allebuttons" class="container">
<?php include 'RelayStatus.php';?>
</div>
</body>
</html>
<?php
require_once('RelayController.php');
$relayController = new RelayController();
$relayController->triggerRelay();
?>