Commit 43ff005027a654f900cb5d9c6167d3015562564f
- Diff rendering mode:
- inline
- side by side
webroot/js/dss/dss-setup-interface/dSS/ScenesPanel.js
(2 / 2)
|   | |||
| 95 | 95 | ||
| 96 | 96 | var menuItem = new Ext.menu.Item({ | |
| 97 | 97 | text: _("Call scene"), | |
| 98 | icon: '/images/on.png', | ||
| 98 | icon: 'images/on.png', | ||
| 99 | 99 | handler: this.callScene.createDelegate(this, [node]) | |
| 100 | 100 | }); | |
| 101 | 101 | this.contextMenu.add(menuItem) | |
| 102 | 102 | ||
| 103 | 103 | var menuItem = new Ext.menu.Item({ | |
| 104 | 104 | text: _("Save scene"), | |
| 105 | icon: '/images/disk.png', | ||
| 105 | icon: 'images/disk.png', | ||
| 106 | 106 | handler: this.saveScene.createDelegate(this, [node]) | |
| 107 | 107 | }); | |
| 108 | 108 | this.contextMenu.add(menuItem); |
webroot/js/dss/dss-setup-interface/dSS/ZoneView.js
(3 / 3)
|   | |||
| 114 | 114 | ||
| 115 | 115 | var menuItem = new Ext.menu.Item({ | |
| 116 | 116 | text: _("Rename room"), | |
| 117 | icon: '/images/page_white_edit.png', | ||
| 117 | icon: 'images/page_white_edit.png', | ||
| 118 | 118 | handler: this.findParentByType('dsszonepanel').editZone.createDelegate(this.findParentByType('dsszonepanel'), index, true) | |
| 119 | 119 | }); | |
| 120 | 120 | this.contextMenu.add(menuItem) | |
| 121 | 121 | ||
| 122 | 122 | var menuItem = new Ext.menu.Item({ | |
| 123 | 123 | text: _("Delete room"), | |
| 124 | icon: '/images/delete.png', | ||
| 124 | icon: 'images/delete.png', | ||
| 125 | 125 | handler: this.removeZone.createDelegate(this, index, true) | |
| 126 | 126 | }); | |
| 127 | 127 | this.contextMenu.add(menuItem) | |
| 128 | 128 | ||
| 129 | 129 | var menuItem = new Ext.menu.Item({ | |
| 130 | 130 | text: _("Blink"), | |
| 131 | icon: '/images/blink.png', | ||
| 131 | icon: 'images/blink.png', | ||
| 132 | 132 | handler: this.blinkZone.createDelegate(this, index, true) | |
| 133 | 133 | }); | |
| 134 | 134 | this.contextMenu.add(menuItem) |
webroot/js/dss/dss-setup-interface/dSS/grid/DevicePanel.js
(11 / 11)
|   | |||
| 242 | 242 | ||
| 243 | 243 | var menuItem = new Ext.menu.Item({ | |
| 244 | 244 | text: _("Rename device"), | |
| 245 | icon: '/images/page_white_edit.png', | ||
| 245 | icon: 'images/page_white_edit.png', | ||
| 246 | 246 | handler: this.editDevice.createDelegate(this, rowIndex, true) | |
| 247 | 247 | }); | |
| 248 | 248 | this.contextMenu.add(menuItem) | |
| … | … | ||
| 250 | 250 | if (presentInSelection === true) { | |
| 251 | 251 | var menuItem = new Ext.menu.Item({ | |
| 252 | 252 | text: _("Send diagnostic ping"), | |
| 253 | icon: '/images/application_osx_terminal.png', | ||
| 253 | icon: 'images/application_osx_terminal.png', | ||
| 254 | 254 | handler: this.pingDevice.createDelegate(this, rowIndex, true) | |
| 255 | 255 | }); | |
| 256 | 256 | this.contextMenu.add(menuItem) | |
| … | … | ||
| 262 | 262 | if (presentInSelection === true) { | |
| 263 | 263 | var menuItem = new Ext.menu.Item({ | |
| 264 | 264 | text: _("Extended diagnostic ping"), | |
| 265 | icon: '/images/application_osx_terminal.png', | ||
| 265 | icon: 'images/application_osx_terminal.png', | ||
| 266 | 266 | handler: this.extendedPing.createDelegate(this, rowIndex, true) | |
| 267 | 267 | }); | |
| 268 | 268 | subMenu.add(menuItem); | |
| … | … | ||
| 270 | 270 | ||
| 271 | 271 | var menuItem = new Ext.menu.Item({ | |
| 272 | 272 | text: _("Extended diagnostic ping results"), | |
| 273 | icon: '/images/application_osx_terminal.png', | ||
| 273 | icon: 'images/application_osx_terminal.png', | ||
| 274 | 274 | handler: this.showExtendedPingResults.createDelegate(this, rowIndex, true) | |
| 275 | 275 | }); | |
| 276 | 276 | subMenu.add(menuItem); | |
| 277 | 277 | ||
| 278 | 278 | var menuItem = new Ext.menu.Item({ | |
| 279 | 279 | text: _("Abort ping session"), | |
| 280 | icon: '/images/application_osx_terminal.png', | ||
| 280 | icon: 'images/application_osx_terminal.png', | ||
| 281 | 281 | handler: this.abortRound.createDelegate(this, ["extendedPing", _("Ping")], true) | |
| 282 | 282 | }); | |
| 283 | 283 | subMenu.add(menuItem); | |
| 284 | 284 | ||
| 285 | 285 | var menuItem = new Ext.menu.Item({ | |
| 286 | 286 | text: _("Extended ping"), | |
| 287 | icon: '/images/application_osx_terminal.png', | ||
| 287 | icon: 'images/application_osx_terminal.png', | ||
| 288 | 288 | menu: subMenu | |
| 289 | 289 | }); | |
| 290 | 290 | this.contextMenu.add(menuItem); | |
| … | … | ||
| 293 | 293 | if (showRemoveMenuItem === true) { | |
| 294 | 294 | var menuItem = new Ext.menu.Item({ | |
| 295 | 295 | text: _("Remove device"), | |
| 296 | icon: '/images/delete.png', | ||
| 296 | icon: 'images/delete.png', | ||
| 297 | 297 | handler: this.removeDevice.createDelegate(this, rowIndex, true) | |
| 298 | 298 | }); | |
| 299 | 299 | this.contextMenu.add(menuItem); | |
| … | … | ||
| 305 | 305 | if (presentInSelection === true) { | |
| 306 | 306 | var menuItem = new Ext.menu.Item({ | |
| 307 | 307 | text: _("Statistics"), | |
| 308 | icon: '/images/application_osx_terminal.png', | ||
| 308 | icon: 'images/application_osx_terminal.png', | ||
| 309 | 309 | handler: this.deviceStatistics.createDelegate(this, rowIndex, true) | |
| 310 | 310 | }); | |
| 311 | 311 | subMenu.add(menuItem); | |
| … | … | ||
| 313 | 313 | ||
| 314 | 314 | var menuItem = new Ext.menu.Item({ | |
| 315 | 315 | text: _("Abort statistics session"), | |
| 316 | icon: '/images/application_osx_terminal.png', | ||
| 316 | icon: 'images/application_osx_terminal.png', | ||
| 317 | 317 | handler: this.abortRound.createDelegate(this, ["deviceStatistics", _("Device statistics")], true) | |
| 318 | 318 | }); | |
| 319 | 319 | subMenu.add(menuItem); | |
| 320 | 320 | ||
| 321 | 321 | var menuItem = new Ext.menu.Item({ | |
| 322 | 322 | text: _("Device statistics"), | |
| 323 | icon: '/images/application_osx_terminal.png', | ||
| 323 | icon: 'images/application_osx_terminal.png', | ||
| 324 | 324 | menu: subMenu | |
| 325 | 325 | }); | |
| 326 | 326 | this.contextMenu.add(menuItem); | |
| … | … | ||
| 329 | 329 | if (presentInSelection === true) { | |
| 330 | 330 | var menuItem = new Ext.menu.Item({ | |
| 331 | 331 | text: _("Blink"), | |
| 332 | icon: '/images/blink.png', | ||
| 332 | icon: 'images/blink.png', | ||
| 333 | 333 | handler: this.blinkDevice.createDelegate(this, rowIndex, true) | |
| 334 | 334 | }); | |
| 335 | 335 | this.contextMenu.add(menuItem); |
webroot/js/dss/dss-setup-interface/dSS/grid/ModulatorPanel.js
(6 / 6)
|   | |||
| 105 | 105 | ||
| 106 | 106 | var menuItem = new Ext.menu.Item({ | |
| 107 | 107 | text: _("Rename meter"), | |
| 108 | icon: '/images/page_white_edit.png', | ||
| 108 | icon: 'images/page_white_edit.png', | ||
| 109 | 109 | handler: this.editDevice.createDelegate(this, rowIndex, true) | |
| 110 | 110 | }); | |
| 111 | 111 | ||
| … | … | ||
| 113 | 113 | ||
| 114 | 114 | var menuItem = new Ext.menu.Item({ | |
| 115 | 115 | text: _("Rescan circuit"), | |
| 116 | icon: '/images/page_white_edit.png', | ||
| 116 | icon: 'images/page_white_edit.png', | ||
| 117 | 117 | handler: this.rescanCircuit.createDelegate(this, rowIndex, true) | |
| 118 | 118 | }); | |
| 119 | 119 | this.contextMenu.add(menuItem); | |
| … | … | ||
| 121 | 121 | if (showRemoveMenuItem === true) { | |
| 122 | 122 | var menuItem = new Ext.menu.Item({ | |
| 123 | 123 | text: _("Remove meter"), | |
| 124 | icon: '/images/delete.png', | ||
| 124 | icon: 'images/delete.png', | ||
| 125 | 125 | handler: this.removeMeter.createDelegate(this, rowIndex, true) | |
| 126 | 126 | }); | |
| 127 | 127 | this.contextMenu.add(menuItem); | |
| … | … | ||
| 135 | 135 | if (record.get('isPresent') === true) { | |
| 136 | 136 | var menuItem = new Ext.menu.Item({ | |
| 137 | 137 | text: _("Meter statistics"), | |
| 138 | icon: '/images/application_osx_terminal.png', | ||
| 138 | icon: 'images/application_osx_terminal.png', | ||
| 139 | 139 | handler: this.dsmStatistics.createDelegate(this, rowIndex, true) | |
| 140 | 140 | }); | |
| 141 | 141 | subMenu.add(menuItem); | |
| … | … | ||
| 143 | 143 | ||
| 144 | 144 | var menuItem = new Ext.menu.Item({ | |
| 145 | 145 | text: _("Abort meter statistics session"), | |
| 146 | icon: '/images/application_osx_terminal.png', | ||
| 146 | icon: 'images/application_osx_terminal.png', | ||
| 147 | 147 | handler: this.abortStatisticsRound.createDelegate(this, rowIndex, true) | |
| 148 | 148 | }); | |
| 149 | 149 | subMenu.add(menuItem); | |
| 150 | 150 | ||
| 151 | 151 | var menuItem = new Ext.menu.Item({ | |
| 152 | 152 | text: _("Statistics"), | |
| 153 | icon: '/images/application_osx_terminal.png', | ||
| 153 | icon: 'images/application_osx_terminal.png', | ||
| 154 | 154 | menu: subMenu | |
| 155 | 155 | }); | |
| 156 | 156 | this.contextMenu.add(menuItem); |
webroot/js/dss/dss-setup-interface/dSS/scene/SceneWindowLight.js
(2 / 2)
|   | |||
| 98 | 98 | autoEl: { | |
| 99 | 99 | tag: 'img', | |
| 100 | 100 | align: 'left', | |
| 101 | src: '/images/lightbulb_off.png' | ||
| 101 | src: 'images/lightbulb_off.png' | ||
| 102 | 102 | } | |
| 103 | 103 | }, | |
| 104 | 104 | this.messagePanel, { | |
| … | … | ||
| 109 | 109 | autoEl: { | |
| 110 | 110 | tag: 'img', | |
| 111 | 111 | align: 'right', | |
| 112 | src: '/images/lightbulb.png' | ||
| 112 | src: 'images/lightbulb.png' | ||
| 113 | 113 | } | |
| 114 | 114 | }, | |
| 115 | 115 |
webroot/js/dss/dss-setup-interface/dSS/system/logfiles.js
(1 / 1)
|   | |||
| 24 | 24 | html: '<h2>This is a placeholder</h2><p>Sample text.<br/><br/><br/></p>' | |
| 25 | 25 | }, | |
| 26 | 26 | { | |
| 27 | html: '<p class="x-green-button-link"><a href="/images/ds_logo.gif">sample link</a></p>' | ||
| 27 | html: '<p class="x-green-button-link"><a href="images/ds_logo.gif">sample link</a></p>' | ||
| 28 | 28 | }, | |
| 29 | 29 | { | |
| 30 | 30 | colspan: 2, |

