Skip to content

Commit

Permalink
appease old version of minifier
Browse files Browse the repository at this point in the history
  • Loading branch information
nebulous committed Sep 27, 2024
1 parent 9b4bfd2 commit 2b04a9d
Show file tree
Hide file tree
Showing 29 changed files with 1,618 additions and 3 deletions.
8 changes: 5 additions & 3 deletions public/app/scripts/controllers/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@ function wsu(s) {
}

var toHex = function (str) {
if (typeof(str)!='string') { return ""; }
return str.split("")
.map(c => c.charCodeAt(0).toString(16).padStart(2, "0"))
.map(function(c) { return c.charCodeAt(0).toString(16).padStart(2, "0") })
.join(" ");
};

var fromHex = function (hexstr) {
if (typeof(hexstr)!='string') { return ""; }
return hexstr.replace(" ","")
.split(/(\w\w)/g)
.filter(p => !!p)
.map(c => String.fromCharCode(parseInt(c, 16)))
.filter(function(p){ return !!p })
.map(function(c) { return String.fromCharCode(parseInt(c, 16)) })
.join("")
};

Expand Down
543 changes: 543 additions & 0 deletions public/dist/.htaccess

Large diffs are not rendered by default.

133 changes: 133 additions & 0 deletions public/dist/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Page Not Found :(</title><style>::-moz-selection {
background: #b3d4fc;
text-shadow: none;
}

::selection {
background: #b3d4fc;
text-shadow: none;
}

html {
padding: 30px 10px;
font-size: 20px;
line-height: 1.4;
color: #737373;
background: #f0f0f0;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}

html,
input {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
max-width: 500px;
_width: 500px;
padding: 30px 20px 50px;
border: 1px solid #b3b3b3;
border-radius: 4px;
margin: 0 auto;
box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;
background: #fcfcfc;
}

h1 {
margin: 0 10px;
font-size: 50px;
text-align: center;
}

h1 span {
color: #bbb;
}

h3 {
margin: 1.5em 0 0.5em;
}

p {
margin: 1em 0;
}

ul {
padding: 0 0 0 40px;
margin: 1em 0;
}

.container {
max-width: 380px;
_width: 380px;
margin: 0 auto;
}

/* google search */

#goog-fixurl ul {
list-style: none;
padding: 0;
margin: 0;
}

#goog-fixurl form {
margin: 0;
}

#goog-wm-qt,
#goog-wm-sb {
border: 1px solid #bbb;
font-size: 16px;
line-height: normal;
vertical-align: top;
color: #444;
border-radius: 2px;
}

#goog-wm-qt {
width: 220px;
height: 20px;
padding: 5px;
margin: 5px 10px 0 0;
box-shadow: inset 0 1px 1px #ccc;
}

#goog-wm-sb {
display: inline-block;
height: 32px;
padding: 0 10px;
margin: 5px 0 0;
white-space: nowrap;
cursor: pointer;
background-color: #f5f5f5;
background-image: -webkit-linear-gradient(rgba(255,255,255,0), #f1f1f1);
background-image: -moz-linear-gradient(rgba(255,255,255,0), #f1f1f1);
background-image: -ms-linear-gradient(rgba(255,255,255,0), #f1f1f1);
background-image: -o-linear-gradient(rgba(255,255,255,0), #f1f1f1);
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
*overflow: visible;
*display: inline;
*zoom: 1;
}

#goog-wm-sb:hover,
#goog-wm-sb:focus {
border-color: #aaa;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
background-color: #f8f8f8;
}

#goog-wm-qt:hover,
#goog-wm-qt:focus {
border-color: #105cb6;
outline: 0;
color: #222;
}

input::-moz-focus-inner {
padding: 0;
border: 0;
}</style><body><div class="container"><h1>Not found <span>:(</span></h1><p>Sorry, but the page you were trying to view does not exist.</p><p>It looks like this was the result of either:</p><ul><li>a mistyped address</li><li>an out-of-date link</li></ul><script>var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),GOOG_FIXURL_SITE = location.host;</script><script src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script></div>
Binary file added public/dist/favicon.ico
Binary file not shown.
Binary file added public/dist/fonts/FontAwesome.otf
Binary file not shown.
Binary file added public/dist/fonts/fontawesome-webfont.eot
Binary file not shown.
565 changes: 565 additions & 0 deletions public/dist/fonts/fontawesome-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/dist/fonts/fontawesome-webfont.ttf
Binary file not shown.
Binary file added public/dist/fonts/fontawesome-webfont.woff
Binary file not shown.
Binary file added public/dist/fonts/fontawesome-webfont.woff2
Binary file not shown.
Binary file not shown.
288 changes: 288 additions & 0 deletions public/dist/fonts/glyphicons-halflings-regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
25 changes: 25 additions & 0 deletions public/dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!doctype html><!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--><!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--><!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--><!--[if gt IE 8]><!--><html class="no-js"><!--<![endif]--><head><meta charset="utf-8"><title>Infinitude</title><meta name="description" content=""><meta name="viewport" content="width=device-width"><!-- Place favicon.ico and apple-touch-icon.png in the root directory --><link rel="stylesheet" href="styles/8dafe7b9.vendor.css"><link rel="stylesheet" href="styles/35027b51.main.css"><body ng-app="infinitude" ng-controller="MainCtrl"><!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]--><!-- Add your site or application content here --><div class="header"><ul class="nav nav-pills pull-right"><li ng-class="{active:isActive('/')}"><a ng-href="#status">Status</a></li><li ng-class="{active:isActive('/profiles')}"><a ng-href="#profiles">Comfort Profiles</a></li><li ng-class="{active:isActive('/schedules')}"><a ng-href="#schedules">Schedules</a></li><li ng-class="{active:isActive('/serial')}"><a ng-href="#serial">Serial</a></li><li ng-class="{active:isActive('/energy')}"><a ng-href="#energy">Energy</a></li><li ng-class="{active:isActive('/about')}"><a ng-href="#about">About</a></li></ul><h3 class="text-muted">&infin;&nbsp;Infinitude <span style="cursor: pointer; color: {{ globeColor }}" ng-click="reloadData(true)" class="glyphicon glyphicon-globe" aria-hidden="true"></span> <span style="color: {{ transferColor }}" class="glyphicon glyphicon-transfer" aria-hidden="true"></span></h3></div><div class="container-fluid" ng-view=""></div><div class="footer"><p><a href="https://www.github.com/nebulous/infinitude">Infinitude on github</a></p></div><script src="scripts/8f1c16a6.vendor.js"></script><style>.dg {
display: inline-block;
width: 140px;
}

.dialgauge-value {
font-size: 3em;
font-weight: 200;
}

.dialgauge-unit {
font-size: 2em;
stroke: black;
fill: green;
font-weight: 100;
}

.dialgauge-title {
font-size: 2em;
stroke: black;
fill: blue;
font-weight: 100;
}</style><script src="scripts/b4c9807f.scripts.js"></script>
3 changes: 3 additions & 0 deletions public/dist/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# robotstxt.org

User-agent: *
31 changes: 31 additions & 0 deletions public/dist/scripts/8f1c16a6.vendor.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/dist/scripts/b4c9807f.scripts.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions public/dist/styles/35027b51.main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions public/dist/styles/8dafe7b9.vendor.css

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions public/dist/styles/8dafe7b9.vendor.css.bak

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/dist/views/about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<div class="row"><div class="col-md-4"></div><div class="col-md-4"><div class="jumbotron"><h1><a href="http://www.github.com/nebulous/infinitude">Infinitude</a></h1><p class="lead">Carrier/Bryant network thermostat control</p><fieldset><legend>Dealer Info</legend><div class="form-group"><label>Name</label><input class="form-control" ng-model="systemsEdit.dealer[0].name[0]" placeholder="Infinitude"></div><div class="form-group"><label>Phone</label><input class="form-control" ng-model="systemsEdit.dealer[0].phone[0]" placeholder="OpenHVAC"></div><div class="form-group"><label>URL</label><input class="form-control" ng-model="systemsEdit.dealer[0].url[0]" placeholder="http://github.com/nebulous/infinitude"></div><div class="form-group"><label>PID</label><input class="form-control" ng-model="systemsEdit.dealer[0].pid[0]" placeholder="123456789"></div><br><button class="btn btn-primary" ng-disabled="systemsEdited !== true" ng-click="save()">Save</button></fieldset></div></div><div class="col-md-4"></div></div>
1 change: 1 addition & 0 deletions public/dist/views/energy.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<h2>Energy</h2><div class="panel panel-primary"><div class="panel-heading">Usage</div><table class="table table-striped table-bordered"><tbody><tr ng-repeat="period in energy.usage[0].period"><th>{{ period.id }}<td ng-repeat="mes in period | toArray | orderBy:'$key'" ng-if="mes[0] && energy[mes.$key][0].enabled=='on'"><b>{{ mes.$key }}</b> {{mes[0]}}</table></div><div class="panel panel-primary"><div class="panel-heading">Cost</div><table class="table table-striped table-bordered"><tbody><tr ng-repeat="period in energy.cost[0].period"><th>{{ period.id }}<td ng-repeat="mes in period | toArray | orderBy:'$key'" ng-if="mes[0] && energy[mes.$key][0].enabled=='on'"><b>{{ mes.$key }}</b> {{ period[mes.$key][0] | currency }}</table></div>
Loading

0 comments on commit 2b04a9d

Please sign in to comment.