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