1
0
mirror of https://github.com/beestat/app.git synced 2025-06-04 06:07:19 -04:00
beestat/js/component/modal/help_runtime_detail.js
Jon Ziebell 7adfcb4b34 Fixed #164 - Convert recent activity to chart2
Also: Fixed #177, Fixed #91, Fixed #86, Fixed #40. Big changes.
2019-12-16 21:34:01 -05:00

30 lines
1014 B
JavaScript

/**
* Help for the runtime detail card.
*/
beestat.component.modal.help_runtime_detail = function() {
beestat.component.modal.apply(this, arguments);
};
beestat.extend(beestat.component.modal.help_runtime_detail, beestat.component.modal);
beestat.component.modal.help_runtime_detail.prototype.decorate_contents_ = function(parent) {
parent.appendChild($.createElement('p').innerHTML('View up to the past 7 days of thermostat activity in 5-minute resolution. This can help you visualize daily runtime trends and identify acute system issues. Compare to the Home IQ System & Follow Me charts.'));
var table = $.createElement('table');
table.style('color', beestat.style.color.blue.base);
parent.appendChild(table);
var tr;
var td;
tr = $.createElement('tr');
table.appendChild(tr);
td = $.createElement('td');
td.setAttribute('valign', 'top');
tr.appendChild(td);
};
beestat.component.modal.help_runtime_detail.prototype.get_title_ = function() {
return 'Runtime Detail - Help';
};