summaryrefslogtreecommitdiff
path: root/config.html
diff options
context:
space:
mode:
Diffstat (limited to 'config.html')
-rw-r--r--config.html55
1 files changed, 55 insertions, 0 deletions
diff --git a/config.html b/config.html
new file mode 100644
index 0000000..04c1f94
--- /dev/null
+++ b/config.html
@@ -0,0 +1,55 @@
+<html><head><title>Door Control</title>
+<meta id='viewport' name='viewport' content='width=160; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;'>
+<style>
+body {background-color:#bbb;font-family:'Verdana',sans-serif}
+h2 {line-height:50%;}
+h3 {line-height:5%;}
+.page {text-align:center;}
+</style>
+<script type='text/javascript' src='http://code.jquery.com/jquery-1.5.2.min.js'></script>
+<script type='text/javascript'>
+$(document).ready(function() { update(); });
+function update() {
+ $.get('/config/get', function(data) {
+ $('#content').html(data);
+ });
+// $.getJSON('get', function(data) {
+// $.each(data, function(key, val) {
+// $('#' + key).attr('value', val);
+// });
+// });
+}
+</script>
+</head>
+<body>
+<div class=page>
+<h3>Configuration</h3>
+<pre id=content>
+</pre>
+</div>
+<!--
+Config Version: 7
+
+Time Now: 22/3/2012 23:07:29
+Last NTP: 22/3/2012 23:07:17
+
+MAC Address: 00:A5:CB:28:F4:CC
+
+Default IP Addr: 10.113.1.160
+Default Netmask: 255.255.255.0
+Default Gateway: 10.113.1.254
+
+NTP Server: 10.113.1.1
+UTC Offset: 1300
+
+Status Server: 10.113.1.255
+Status Port: 8888
+
+Front Door unlock time: 10 (secs)
+
+Garage Door grace time: 1 (minutes)
+Dawn: 07:00
+Dusk: 21:00
+-->
+</body>
+</html>