mirror of
				https://github.com/beestat/app.git
				synced 2025-11-04 02:47:01 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/**
 | 
						|
 * Comparison settings help.
 | 
						|
 */
 | 
						|
beestat.component.modal.help_comparison_settings = function() {
 | 
						|
  beestat.component.modal.apply(this, arguments);
 | 
						|
};
 | 
						|
beestat.extend(beestat.component.modal.help_comparison_settings, beestat.component.modal);
 | 
						|
 | 
						|
/**
 | 
						|
 * Decorate
 | 
						|
 *
 | 
						|
 * @param {rocket.Elements} parent
 | 
						|
 */
 | 
						|
beestat.component.modal.help_comparison_settings.prototype.decorate_contents_ = function(parent) {
 | 
						|
  parent.appendChild($.createElement('p').innerText('Comparison settings allow you to customize how your home is compared to the homes of other beestat users. All thermostats at the same physical address are compared together.'));
 | 
						|
 | 
						|
  (new beestat.component.title('Date')).render(parent);
 | 
						|
  parent.appendChild($.createElement('p').innerText('This is the date your home\'s score is calculated on. Make some energy-saving improvements lately? Set this date back a few months and see what difference they made. Note that even though you\'re looking at your home in the past, beestat always compares to all other homes in the present.'));
 | 
						|
 | 
						|
  (new beestat.component.title('Region')).render(parent);
 | 
						|
  parent.appendChild($.createElement('p').innerText('Compare your home to other homes within 250 miles (400km) or expand this to all homes globally.'));
 | 
						|
 | 
						|
  (new beestat.component.title('Property')).render(parent);
 | 
						|
  parent.appendChild($.createElement('p').innerHTML('The <em>Very Similar</em> option will compare with other homes with similar physical characteristics. This typically makes the most sense. The second option will compare with other homes of the same structure type (ex: Detached, Apartment). You may also compare with all other homes regardless of type, although this isn\'t generally very meaningful.'));
 | 
						|
};
 | 
						|
 | 
						|
/**
 | 
						|
 * Get the title.
 | 
						|
 *
 | 
						|
 * @return {string} The title.
 | 
						|
 */
 | 
						|
beestat.component.modal.help_comparison_settings.prototype.get_title_ = function() {
 | 
						|
  return 'Comparison Settings - Help';
 | 
						|
};
 |