Adding door alert emails (test mode) and adjusting door log graph view

This commit is contained in:
2014-09-04 19:24:33 -07:00
parent 1d6699ae9f
commit 3ce0d3c45a
5 changed files with 44 additions and 5 deletions

View File

@@ -12,8 +12,8 @@ $(function() {
$( "#graph-dialog" ).dialog({
autoOpen: false,
height: 480,
width: 640,
height: 700,
width: 825,
modal: true,
});
@@ -130,7 +130,7 @@ function generatePlotBands(start,end){
<div id="graph-dialog" title="Door Status">
<div id="graph" style="height: 400px; width: 600px; float: right;"></div>
<div id="graph" style="height: 600px; width: 800px; float: right;"></div>
<%= form_tag(nil, :method => :get) do %>
<label>Start Date

View File

@@ -0,0 +1,5 @@
It's <%= DateTime.current.to_time.strftime("%l:%M %p") %> and the doors are <%= @status[:unlocked] ? "open" : "not open" %> !
See more info at: <a href="http://live.heatsynclabs.org">http://live.heatsynclabs.org</a>
<a href="http://twitter.com/willbradley>@willbradley</a> programmed me to let y'all know, just in case. Cheers!