]> git.proxmox.com Git - extjs.git/blame - extjs/templates/admin-dashboard/app/view/dashboard/Weather.js
bump version to 7.0.0-4
[extjs.git] / extjs / templates / admin-dashboard / app / view / dashboard / Weather.js
CommitLineData
947f0963
TL
1Ext.define('Admin.view.dashboard.Weather', {
2 extend: 'Ext.Component',
3 xtype: 'weather',
4 baseCls: 'weather-panel',
5
6 border: false,
7 height: 80,
8
9 data: {
10 icon: 'cloud-icon.png',
11 forecast: 'Partly Cloudy',
12 temperature: 25
13 },
14
15 tpl: '<div class="weather-image-container"><img src="resources/images/icons/{icon}" alt="{forecast}"/></div>'+
16 '<div class="weather-details-container">' +
17 '<div>{temperature}&#176;</div>' +
18 '<div>{forecast}</div>' +
19 '</div>'
20});