mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -04:00
Removed some deprecated public website files
This commit is contained in:
parent
357ec5b35a
commit
d4350d8a90
35
app.php
35
app.php
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
|
||||
require_once 'api/cora/setting.php';
|
||||
$setting = cora\setting::get_instance();
|
||||
|
||||
// If you're not logged in, just take you directly to the ecobee login page.
|
||||
if(isset($_COOKIE['session_key']) === false) {
|
||||
header('Location: http://' . $_SERVER['HTTP_HOST'] . '/api/?resource=ecobee&method=authorize&arguments={}&api_key=ER9Dz8t05qUdui0cvfWi5GiVVyHP6OB8KPuSisP2');
|
||||
die();
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>beestat</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
|
||||
<!-- Chrome, Firefox OS and Opera -->
|
||||
<meta name="theme-color" content="#222222">
|
||||
<!-- Icon for pinning on iOS -->
|
||||
<link rel="apple-touch-icon" href="/favicon_apple.png">
|
||||
<?php
|
||||
require_once 'api/cora/setting.php';
|
||||
$setting = cora\setting::get_instance();
|
||||
|
||||
echo '<link rel="manifest" href="/manifest.json?' . $setting->get('commit') . '">';
|
||||
echo '<link href="../css/dashboard.css?' . $setting->get('commit') . '" rel="stylesheet">';
|
||||
|
||||
require 'js/js.php';
|
||||
?>
|
||||
</head>
|
||||
<body></body>
|
||||
</html>
|
407
css/index.css
407
css/index.css
@ -1,407 +0,0 @@
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
*, *:before, *:after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
.highcharts-container, .highcharts-container svg { width: 100% !important; }
|
||||
|
||||
body {
|
||||
background: #111;
|
||||
font-family: Montserrat;
|
||||
font-weight: 300;
|
||||
font-size: 13px;
|
||||
color: #ecf0f1;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/* Fonts */
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:100;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_100.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_100.woff") format("woff"),url("../font/montserrat/montserrat_100.ttf") format("truetype"),url("../font/montserrat/montserrat_100.svg#Montserrat") format("svg")
|
||||
}
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:200;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_200.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_200.woff") format("woff"),url("../font/montserrat/montserrat_200.ttf") format("truetype"),url("../font/montserrat/montserrat_200.svg#Montserrat") format("svg")
|
||||
}
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:300;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_300.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_300.woff") format("woff"),url("../font/montserrat/montserrat_300.ttf") format("truetype"),url("../font/montserrat/montserrat_300.svg#Montserrat") format("svg")
|
||||
}
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:400;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_400.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_400.woff") format("woff"),url("../font/montserrat/montserrat_400.ttf") format("truetype"),url("../font/montserrat/montserrat_400.svg#Montserrat") format("svg")
|
||||
}
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:500;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_500.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_500.woff") format("woff"),url("../font/montserrat/montserrat_500.ttf") format("truetype"),url("../font/montserrat/montserrat_500.svg#Montserrat") format("svg")
|
||||
}
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:600;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_600.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_600.woff") format("woff"),url("../font/montserrat/montserrat_600.ttf") format("truetype"),url("../font/montserrat/montserrat_600.svg#Montserrat") format("svg")
|
||||
}
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:700;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_700.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_700.woff") format("woff"),url("../font/montserrat/montserrat_700.ttf") format("truetype"),url("../font/montserrat/montserrat_700.svg#Montserrat") format("svg")
|
||||
}
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:800;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_800.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_800.woff") format("woff"),url("../font/montserrat/montserrat_800.ttf") format("truetype"),url("../font/montserrat/montserrat_800.svg#Montserrat") format("svg")
|
||||
}
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:900;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_900.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_900.woff") format("woff"),url("../font/montserrat/montserrat_900.ttf") format("truetype"),url("../font/montserrat/montserrat_900.svg#Montserrat") format("svg")
|
||||
}
|
||||
/*
|
||||
@font-face{
|
||||
font-family:"Droid Serif";
|
||||
font-weight:400;
|
||||
font-style:normal;
|
||||
src:url("../font/droid_serif/droid_serif_400.woff") format("woff"),url("../font/droid_serif/droid_serif_400.ttf") format("truetype")
|
||||
}*/
|
||||
|
||||
/* Icons */
|
||||
@font-face {
|
||||
font-family: 'Material Icons';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(../font/material_icons/material_icons.eot); /* For IE6-8 */
|
||||
src: local('Material Icons'),
|
||||
local('MaterialIcons-Regular'),
|
||||
url(../font/material_icons/material_icons.woff2) format('woff2'),
|
||||
url(../font/material_icons/material_icons.woff) format('woff'),
|
||||
url(../font/material_icons/material_icons.ttf) format('truetype');
|
||||
}
|
||||
|
||||
.icon {
|
||||
font-family: 'Material Icons';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 24px; /* Preferred icon size */
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
text-transform: none;
|
||||
letter-spacing: normal;
|
||||
word-wrap: normal;
|
||||
white-space: nowrap;
|
||||
direction: ltr;
|
||||
|
||||
/*position: relative;*/
|
||||
/*top: 2px;*/
|
||||
|
||||
/* Support for all WebKit browsers. */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
/* Support for Safari and Chrome. */
|
||||
text-rendering: optimizeLegibility;
|
||||
|
||||
/* Support for Firefox. */
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
/* Support for IE. */
|
||||
font-feature-settings: 'liga';
|
||||
}
|
||||
|
||||
/*.icon.f18 { font-size: 18px; }
|
||||
.icon.f24 { font-size: 24px; }
|
||||
.icon.f36 { font-size: 36px; }
|
||||
.icon.f48 { font-size: 48px; }*/
|
||||
|
||||
/* Beestat logo */
|
||||
.beestat {
|
||||
font-weight: 200;
|
||||
font-size: 40px;
|
||||
font-family: Montserrat;
|
||||
}
|
||||
|
||||
.beestat > .bee {
|
||||
color: #f1c40f;
|
||||
}
|
||||
|
||||
.beestat > .stat {
|
||||
color: #2ecc71;
|
||||
}
|
||||
|
||||
/* Link styles */
|
||||
a {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
a:link {
|
||||
color: #ecf0f1;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #ecf0f1;
|
||||
}
|
||||
|
||||
a:focus {
|
||||
color: #ecf0f1;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #bdc3c7;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: #ecf0f1;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: Montserrat;
|
||||
font-weight: 200;
|
||||
font-size: 24px;
|
||||
margin: 0 0 8px 0;
|
||||
color: #ecf0f1;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-family: Montserrat;
|
||||
font-weight: 500;
|
||||
font-size: 18px;
|
||||
margin: 0 0 8px 0;
|
||||
color: #bdc3c7;
|
||||
}
|
||||
|
||||
.loading {
|
||||
border: 5px solid #f7b731;
|
||||
border-radius: 30px;
|
||||
height: 30px;
|
||||
/*left: 50%;*/
|
||||
/*margin: -15px 0 0 -15px;*/
|
||||
opacity: 0;
|
||||
/*position: absolute;*/
|
||||
/*top: 50%;*/
|
||||
width: 30px;
|
||||
display: inline-block;
|
||||
|
||||
animation: loading 1s ease-out;
|
||||
animation-iteration-count: infinite;
|
||||
}
|
||||
|
||||
@keyframes loading {
|
||||
0% {
|
||||
transform: scale(.1);
|
||||
opacity: 0.0;
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
transform: scale(1.2);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@keyframes spin {
|
||||
from {
|
||||
transform:rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform:rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
._index {
|
||||
display: flex;
|
||||
min-height: 100vh;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
._index main {
|
||||
position: relative;
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
._index .waveform {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 195px;
|
||||
right: -2548px;
|
||||
background: url('../img/waveform.png') 0% 0% repeat-x;
|
||||
z-index: -1;
|
||||
height: 312px;
|
||||
|
||||
-webkit-animation: waveform_scroll linear 600s;
|
||||
-webkit-animation-iteration-count: infinite;
|
||||
-moz-animation: waveform_scroll linear 600s;
|
||||
-moz-animation-iteration-count: infinite;
|
||||
-o-animation: waveform_scroll linear 600s;
|
||||
-o-animation-iteration-count: infinite;
|
||||
-ms-animation: waveform_scroll linear 600s;
|
||||
-ms-animation-iteration-count: infinite;
|
||||
}
|
||||
|
||||
@keyframes waveform_scroll{
|
||||
0% {
|
||||
transform: translateX(0);
|
||||
}
|
||||
100% {
|
||||
transform: translateX(-2548px);
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-keyframes waveform_scroll{
|
||||
0% {
|
||||
-moz-transform: translateX(0);
|
||||
}
|
||||
100% {
|
||||
-moz-transform: translateX(-2548px);
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes waveform_scroll {
|
||||
0% {
|
||||
-webkit-transform: translateX(0);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: translateX(-2548px);
|
||||
}
|
||||
}
|
||||
|
||||
@-o-keyframes waveform_scroll {
|
||||
0% {
|
||||
-o-transform: translateX(0);
|
||||
}
|
||||
100% {
|
||||
-o-transform: translateX(-2548px);
|
||||
}
|
||||
}
|
||||
|
||||
@-ms-keyframes waveform_scroll {
|
||||
0% {
|
||||
-ms-transform: translateX(0);
|
||||
}
|
||||
100% {
|
||||
-ms-transform: translateX(-2548px);
|
||||
}
|
||||
}
|
||||
|
||||
._index .header {
|
||||
padding: 16px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
._index .beestat {
|
||||
float: left;
|
||||
line-height: 55px;
|
||||
}
|
||||
|
||||
._index .log_in {
|
||||
display: none;
|
||||
float: right;
|
||||
line-height: 40px;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
line-height: 55px;
|
||||
}
|
||||
|
||||
._index .connect {
|
||||
text-align: center;
|
||||
margin-top: 140px;
|
||||
}
|
||||
|
||||
._index .connect_text {
|
||||
font-size: 24px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
._index .ecobee, ._index .nest {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
margin: 32px 16px 0 16px;
|
||||
background-size: 100%;
|
||||
transition: background-color 100ms ease;
|
||||
}
|
||||
|
||||
._index .ecobee {
|
||||
background-color: #27ae60;
|
||||
background-image: url('../img/ecobee/connect.png');
|
||||
}
|
||||
|
||||
._index .ecobee:hover {
|
||||
background-color: #2ecc71;
|
||||
}
|
||||
|
||||
._index .nest {
|
||||
background-color: #bdc3c7;
|
||||
background-image: url('../img/nest/connect.png');
|
||||
}
|
||||
|
||||
._index .demo {
|
||||
/*display: none;*/
|
||||
text-align: center;
|
||||
margin-top: 100px;
|
||||
font-size: 18px;
|
||||
color: #7f8c8d;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
._index footer {
|
||||
/*margin-top: 200px;*/
|
||||
background: #2c3e50;
|
||||
padding: 32px 16px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
._index .footer_text {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
._index .footer_links {
|
||||
margin-top: 32px;
|
||||
font-weight: 200;
|
||||
}
|
||||
|
||||
/* Less header space when the browser is short. */
|
||||
@media (max-height: 680px) {
|
||||
._index .connect {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
._index .waveform {
|
||||
top: 95px;
|
||||
}
|
||||
}
|
283
css/privacy.css
283
css/privacy.css
@ -1,283 +0,0 @@
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
*, *:before, *:after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
.highcharts-container, .highcharts-container svg { width: 100% !important; }
|
||||
|
||||
body {
|
||||
background: #111;
|
||||
font-family: Montserrat;
|
||||
font-weight: 300;
|
||||
font-size: 13px;
|
||||
color: #ecf0f1;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/* Fonts */
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:100;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_100.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_100.woff") format("woff"),url("../font/montserrat/montserrat_100.ttf") format("truetype"),url("../font/montserrat/montserrat_100.svg#Montserrat") format("svg")
|
||||
}
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:200;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_200.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_200.woff") format("woff"),url("../font/montserrat/montserrat_200.ttf") format("truetype"),url("../font/montserrat/montserrat_200.svg#Montserrat") format("svg")
|
||||
}
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:300;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_300.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_300.woff") format("woff"),url("../font/montserrat/montserrat_300.ttf") format("truetype"),url("../font/montserrat/montserrat_300.svg#Montserrat") format("svg")
|
||||
}
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:400;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_400.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_400.woff") format("woff"),url("../font/montserrat/montserrat_400.ttf") format("truetype"),url("../font/montserrat/montserrat_400.svg#Montserrat") format("svg")
|
||||
}
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:500;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_500.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_500.woff") format("woff"),url("../font/montserrat/montserrat_500.ttf") format("truetype"),url("../font/montserrat/montserrat_500.svg#Montserrat") format("svg")
|
||||
}
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:600;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_600.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_600.woff") format("woff"),url("../font/montserrat/montserrat_600.ttf") format("truetype"),url("../font/montserrat/montserrat_600.svg#Montserrat") format("svg")
|
||||
}
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:700;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_700.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_700.woff") format("woff"),url("../font/montserrat/montserrat_700.ttf") format("truetype"),url("../font/montserrat/montserrat_700.svg#Montserrat") format("svg")
|
||||
}
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:800;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_800.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_800.woff") format("woff"),url("../font/montserrat/montserrat_800.ttf") format("truetype"),url("../font/montserrat/montserrat_800.svg#Montserrat") format("svg")
|
||||
}
|
||||
@font-face{
|
||||
font-family:"Montserrat";
|
||||
font-weight:900;
|
||||
font-style:normal;
|
||||
src:url("../font/montserrat/montserrat_900.eot?") format("embedded-opentype"),url("../font/montserrat/montserrat_900.woff") format("woff"),url("../font/montserrat/montserrat_900.ttf") format("truetype"),url("../font/montserrat/montserrat_900.svg#Montserrat") format("svg")
|
||||
}
|
||||
/*
|
||||
@font-face{
|
||||
font-family:"Droid Serif";
|
||||
font-weight:400;
|
||||
font-style:normal;
|
||||
src:url("../font/droid_serif/droid_serif_400.woff") format("woff"),url("../font/droid_serif/droid_serif_400.ttf") format("truetype")
|
||||
}*/
|
||||
|
||||
|
||||
/* Beestat logo */
|
||||
.beestat {
|
||||
font-weight: 200;
|
||||
font-size: 40px;
|
||||
font-family: Montserrat;
|
||||
}
|
||||
|
||||
.beestat > .bee {
|
||||
color: #f1c40f;
|
||||
}
|
||||
|
||||
.beestat > .stat {
|
||||
color: #2ecc71;
|
||||
}
|
||||
|
||||
/* Link styles */
|
||||
a {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
a:link {
|
||||
color: #ecf0f1;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #ecf0f1;
|
||||
}
|
||||
|
||||
a:focus {
|
||||
color: #ecf0f1;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #bdc3c7;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: #ecf0f1;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: Montserrat;
|
||||
font-weight: 200;
|
||||
font-size: 24px;
|
||||
margin: 0 0 8px 0;
|
||||
color: #ecf0f1;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-family: Montserrat;
|
||||
font-weight: 500;
|
||||
font-size: 18px;
|
||||
margin: 0 0 8px 0;
|
||||
color: #bdc3c7;
|
||||
}
|
||||
|
||||
.loading {
|
||||
border: 5px solid #f7b731;
|
||||
border-radius: 30px;
|
||||
height: 30px;
|
||||
/*left: 50%;*/
|
||||
/*margin: -15px 0 0 -15px;*/
|
||||
opacity: 0;
|
||||
/*position: absolute;*/
|
||||
/*top: 50%;*/
|
||||
width: 30px;
|
||||
display: inline-block;
|
||||
|
||||
animation: loading 1s ease-out;
|
||||
animation-iteration-count: infinite;
|
||||
}
|
||||
|
||||
@keyframes loading {
|
||||
0% {
|
||||
transform: scale(.1);
|
||||
opacity: 0.0;
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
transform: scale(1.2);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@keyframes spin {
|
||||
from {
|
||||
transform:rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform:rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
@font-face {
|
||||
font-family: 'Material Icons';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(../font/material_icons/material_icons.eot); /* For IE6-8 */
|
||||
src: local('Material Icons'),
|
||||
local('MaterialIcons-Regular'),
|
||||
url(../font/material_icons/material_icons.woff2) format('woff2'),
|
||||
url(../font/material_icons/material_icons.woff) format('woff'),
|
||||
url(../font/material_icons/material_icons.ttf) format('truetype');
|
||||
}
|
||||
|
||||
.icon {
|
||||
font-family: 'Material Icons';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 24px; /* Preferred icon size */
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
text-transform: none;
|
||||
letter-spacing: normal;
|
||||
word-wrap: normal;
|
||||
white-space: nowrap;
|
||||
direction: ltr;
|
||||
|
||||
/* Support for all WebKit browsers. */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
/* Support for Safari and Chrome. */
|
||||
text-rendering: optimizeLegibility;
|
||||
|
||||
/* Support for Firefox. */
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
/* Support for IE. */
|
||||
font-feature-settings: 'liga';
|
||||
}
|
||||
|
||||
.icon.f18 { font-size: 18px; }
|
||||
.icon.f24 { font-size: 24px; }
|
||||
.icon.f36 { font-size: 36px; }
|
||||
.icon.f48 { font-size: 48px; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
._privacy .header {
|
||||
padding: 16px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
._privacy .beestat {
|
||||
float: left;
|
||||
cursor: pointer;
|
||||
line-height: 55px;
|
||||
}
|
||||
|
||||
._privacy .log_in {
|
||||
display: none;
|
||||
float: right;
|
||||
line-height: 55px;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
._privacy .text {
|
||||
/*font-family: Droid Serif;*/
|
||||
padding: 16px;
|
||||
background: #34495e;
|
||||
}
|
||||
|
||||
._privacy .footer {
|
||||
/*margin-top: 200px;*/
|
||||
background: #2c3e50;
|
||||
padding: 48px 16px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
._privacy .footer_text {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
._privacy .footer_links {
|
||||
margin-top: 32px;
|
||||
font-weight: 200;
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>beestat</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
|
||||
<!-- Chrome, Firefox OS and Opera -->
|
||||
<meta name="theme-color" content="#263238">
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
|
||||
<link href="../css/dashboard.css" rel="stylesheet">
|
||||
<?php require 'js/js.php'; ?>
|
||||
</head>
|
||||
<body></body>
|
||||
</html>
|
35
index.php
35
index.php
@ -20,9 +20,34 @@
|
||||
$_COOKIE['session_key'] = 'd31d3ef451fe65885928e5e1bdf4af321f702009';
|
||||
}
|
||||
|
||||
// Skip this page entirely if you're logged in.
|
||||
if($setting->is_demo() === true || preg_match('/app\.beestat\.io/', $_SERVER['HTTP_HOST']) !== 0) {
|
||||
require 'app.php';
|
||||
} else {
|
||||
require 'www.php';
|
||||
require_once 'api/cora/setting.php';
|
||||
$setting = cora\setting::get_instance();
|
||||
|
||||
// If you're not logged in, just take you directly to the ecobee login page.
|
||||
if(isset($_COOKIE['session_key']) === false) {
|
||||
header('Location: http://' . $_SERVER['HTTP_HOST'] . '/api/?resource=ecobee&method=authorize&arguments={}&api_key=ER9Dz8t05qUdui0cvfWi5GiVVyHP6OB8KPuSisP2');
|
||||
die();
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>beestat</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
|
||||
<!-- Chrome, Firefox OS and Opera -->
|
||||
<meta name="theme-color" content="#222222">
|
||||
<!-- Icon for pinning on iOS -->
|
||||
<link rel="apple-touch-icon" href="/favicon_apple.png">
|
||||
<?php
|
||||
|
||||
echo '<link rel="manifest" href="/manifest.json?' . $setting->get('commit') . '">';
|
||||
echo '<link href="../css/dashboard.css?' . $setting->get('commit') . '" rel="stylesheet">';
|
||||
|
||||
require 'js/js.php';
|
||||
?>
|
||||
</head>
|
||||
<body></body>
|
||||
</html>
|
||||
|
73
privacy.php
73
privacy.php
@ -1,73 +0,0 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>beestat</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
|
||||
<!-- Chrome, Firefox OS and Opera -->
|
||||
<meta name="theme-color" content="#222222">
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
|
||||
<link href="../css/privacy.css" rel="stylesheet">
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-10019370-7"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="_privacy">
|
||||
<div class="header">
|
||||
<div class="beestat" onclick="window.location.href='/';">
|
||||
<span class="bee">bee</span><span class="stat">stat</span>
|
||||
</div>
|
||||
<div class="log_in">
|
||||
Log In
|
||||
</div>
|
||||
</div>
|
||||
<div class="text">
|
||||
<h1>Privacy</h1>
|
||||
<p>
|
||||
Beestat exists to provide useful data to people about their HVAC usage; we have no interest in selling your data.
|
||||
</p>
|
||||
<h2>Data we store</h2>
|
||||
<ul>
|
||||
<li>Your email address</li>
|
||||
<li>Your physical address and other details about your home</li>
|
||||
<li>Your thermostat and sensor names</li>
|
||||
<li>Your thermostat settings</li>
|
||||
<li>Your entire runtime history</li>
|
||||
<li>Your beestat usage logs</li>
|
||||
</ul>
|
||||
<h2>Data we share</h2>
|
||||
<p>
|
||||
In no circumstances will any of your data ever be shared with a third party; this includes de-identified data. Your data will only be used in aggregate to show comparisons, trends, and other useful information to other beestat users. This will never include any identifiable information.
|
||||
</p>
|
||||
<h2>Third parties</h2>
|
||||
<p>
|
||||
Some information is shared with the following third parties in order to provide a meaningful service.
|
||||
</p>
|
||||
<ul>
|
||||
<li>MailChimp receives your email address so we can send you product news and updates.</li>
|
||||
<li>Rollbar receives your IP address, browser information, and generic information about network requests to beestat when an error occurs.</li>
|
||||
<li>Google Analytics receives your IP address, browser information, and pages you visit</li>
|
||||
</ul>
|
||||
<h2>Access to your thermostats</h2>
|
||||
<p>
|
||||
Beestat will have continued access to all of the thermostats and their data unless you manually revoke it. For ecobee, you may do this by logging into their web portal, clicking the menu button in the top right, selecting My Apps, selecting beestat, then selecting Remove App.
|
||||
</p>
|
||||
<h2>Data retention</h2>
|
||||
<p>
|
||||
All data stored in the beestat database is kept indefinitely regardless of your continued usage of beestat or if you revoke beestat's access to your data. To have your data deleted, submit a request to ziebelje@gmail.com.
|
||||
</p>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<div class="footer_text">
|
||||
Beestat is a free tool intended to help you view and analyze your home HVAC usage and efficiency.
|
||||
</div>
|
||||
<div class="footer_links">
|
||||
<a href="mailto:contact@beestat.io">Contact</a> •
|
||||
<a href="/privacy">Privacy</a> •
|
||||
<a href="http://eepurl.com/dum59r" target="_blank">Mailing List</a> •
|
||||
<a href="https://github.com/beestat/app/issues" target="_blank">Report Issue</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
52
www.php
52
www.php
@ -1,52 +0,0 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>beestat</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
|
||||
<!-- Chrome, Firefox OS and Opera -->
|
||||
<meta name="theme-color" content="#222222">
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
|
||||
<link href="css/index.css" rel="stylesheet">
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-10019370-7"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="_index">
|
||||
<main>
|
||||
<div class="waveform"></div>
|
||||
<div class="header">
|
||||
<div class="beestat">
|
||||
<span class="bee">bee</span><span class="stat">stat</span>
|
||||
</div>
|
||||
<div class="log_in">
|
||||
Log In
|
||||
</div>
|
||||
</div>
|
||||
<div class="connect">
|
||||
<div class="connect_text">
|
||||
Connect your thermostat
|
||||
</div>
|
||||
<div class="connect_platforms">
|
||||
<!-- <a href="api/?resource=ecobee&method=authorize&arguments={}&api_key=ER9Dz8t05qUdui0cvfWi5GiVVyHP6OB8KPuSisP2" class="ecobee"></a> -->
|
||||
<a href="<?php echo 'http://' . str_replace('beestat.io', 'app.beestat.io', $_SERVER['HTTP_HOST']); ?>" class="ecobee"></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="demo">
|
||||
<a href="https://demo.beestat.io" target="_blank">Try a Demo</a>
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
<div class="footer_text">
|
||||
Beestat is a free tool intended to help you view and analyze your home HVAC usage and efficiency.<br/>
|
||||
</div>
|
||||
<div class="footer_links">
|
||||
<a href="mailto:contact@beestat.io">Contact</a> •
|
||||
<a href="privacy/">Privacy</a> •
|
||||
<a href="http://eepurl.com/dum59r" target="_blank">Mailing List</a> •
|
||||
<a href="https://github.com/beestat/app/issues" target="_blank">Report Issue</a>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user