Commit 43ff005027a654f900cb5d9c6167d3015562564f

  • avatar
  • Sergey 'Jin' Bostandzhyan <jin @deve…per.digitalstrom.org>
  • Tue Aug 31 23:49:27 CEST 2010
Fixed relative links on even more image urls

Needed to be able to hide the dSS behindt lighttpd on the dSS11
webroot/js/dss/dss-setup-interface/dSS/ScenesPanel.js
(2 / 2)
  
9595
9696 var menuItem = new Ext.menu.Item({
9797 text: _("Call scene"),
98 icon: '/images/on.png',
98 icon: 'images/on.png',
9999 handler: this.callScene.createDelegate(this, [node])
100100 });
101101 this.contextMenu.add(menuItem)
102102
103103 var menuItem = new Ext.menu.Item({
104104 text: _("Save scene"),
105 icon: '/images/disk.png',
105 icon: 'images/disk.png',
106106 handler: this.saveScene.createDelegate(this, [node])
107107 });
108108 this.contextMenu.add(menuItem);
webroot/js/dss/dss-setup-interface/dSS/ZoneView.js
(3 / 3)
  
114114
115115 var menuItem = new Ext.menu.Item({
116116 text: _("Rename room"),
117 icon: '/images/page_white_edit.png',
117 icon: 'images/page_white_edit.png',
118118 handler: this.findParentByType('dsszonepanel').editZone.createDelegate(this.findParentByType('dsszonepanel'), index, true)
119119 });
120120 this.contextMenu.add(menuItem)
121121
122122 var menuItem = new Ext.menu.Item({
123123 text: _("Delete room"),
124 icon: '/images/delete.png',
124 icon: 'images/delete.png',
125125 handler: this.removeZone.createDelegate(this, index, true)
126126 });
127127 this.contextMenu.add(menuItem)
128128
129129 var menuItem = new Ext.menu.Item({
130130 text: _("Blink"),
131 icon: '/images/blink.png',
131 icon: 'images/blink.png',
132132 handler: this.blinkZone.createDelegate(this, index, true)
133133 });
134134 this.contextMenu.add(menuItem)
webroot/js/dss/dss-setup-interface/dSS/grid/DevicePanel.js
(11 / 11)
  
242242
243243 var menuItem = new Ext.menu.Item({
244244 text: _("Rename device"),
245 icon: '/images/page_white_edit.png',
245 icon: 'images/page_white_edit.png',
246246 handler: this.editDevice.createDelegate(this, rowIndex, true)
247247 });
248248 this.contextMenu.add(menuItem)
250250 if (presentInSelection === true) {
251251 var menuItem = new Ext.menu.Item({
252252 text: _("Send diagnostic ping"),
253 icon: '/images/application_osx_terminal.png',
253 icon: 'images/application_osx_terminal.png',
254254 handler: this.pingDevice.createDelegate(this, rowIndex, true)
255255 });
256256 this.contextMenu.add(menuItem)
262262 if (presentInSelection === true) {
263263 var menuItem = new Ext.menu.Item({
264264 text: _("Extended diagnostic ping"),
265 icon: '/images/application_osx_terminal.png',
265 icon: 'images/application_osx_terminal.png',
266266 handler: this.extendedPing.createDelegate(this, rowIndex, true)
267267 });
268268 subMenu.add(menuItem);
270270
271271 var menuItem = new Ext.menu.Item({
272272 text: _("Extended diagnostic ping results"),
273 icon: '/images/application_osx_terminal.png',
273 icon: 'images/application_osx_terminal.png',
274274 handler: this.showExtendedPingResults.createDelegate(this, rowIndex, true)
275275 });
276276 subMenu.add(menuItem);
277277
278278 var menuItem = new Ext.menu.Item({
279279 text: _("Abort ping session"),
280 icon: '/images/application_osx_terminal.png',
280 icon: 'images/application_osx_terminal.png',
281281 handler: this.abortRound.createDelegate(this, ["extendedPing", _("Ping")], true)
282282 });
283283 subMenu.add(menuItem);
284284
285285 var menuItem = new Ext.menu.Item({
286286 text: _("Extended ping"),
287 icon: '/images/application_osx_terminal.png',
287 icon: 'images/application_osx_terminal.png',
288288 menu: subMenu
289289 });
290290 this.contextMenu.add(menuItem);
293293 if (showRemoveMenuItem === true) {
294294 var menuItem = new Ext.menu.Item({
295295 text: _("Remove device"),
296 icon: '/images/delete.png',
296 icon: 'images/delete.png',
297297 handler: this.removeDevice.createDelegate(this, rowIndex, true)
298298 });
299299 this.contextMenu.add(menuItem);
305305 if (presentInSelection === true) {
306306 var menuItem = new Ext.menu.Item({
307307 text: _("Statistics"),
308 icon: '/images/application_osx_terminal.png',
308 icon: 'images/application_osx_terminal.png',
309309 handler: this.deviceStatistics.createDelegate(this, rowIndex, true)
310310 });
311311 subMenu.add(menuItem);
313313
314314 var menuItem = new Ext.menu.Item({
315315 text: _("Abort statistics session"),
316 icon: '/images/application_osx_terminal.png',
316 icon: 'images/application_osx_terminal.png',
317317 handler: this.abortRound.createDelegate(this, ["deviceStatistics", _("Device statistics")], true)
318318 });
319319 subMenu.add(menuItem);
320320
321321 var menuItem = new Ext.menu.Item({
322322 text: _("Device statistics"),
323 icon: '/images/application_osx_terminal.png',
323 icon: 'images/application_osx_terminal.png',
324324 menu: subMenu
325325 });
326326 this.contextMenu.add(menuItem);
329329 if (presentInSelection === true) {
330330 var menuItem = new Ext.menu.Item({
331331 text: _("Blink"),
332 icon: '/images/blink.png',
332 icon: 'images/blink.png',
333333 handler: this.blinkDevice.createDelegate(this, rowIndex, true)
334334 });
335335 this.contextMenu.add(menuItem);
webroot/js/dss/dss-setup-interface/dSS/grid/ModulatorPanel.js
(6 / 6)
  
105105
106106 var menuItem = new Ext.menu.Item({
107107 text: _("Rename meter"),
108 icon: '/images/page_white_edit.png',
108 icon: 'images/page_white_edit.png',
109109 handler: this.editDevice.createDelegate(this, rowIndex, true)
110110 });
111111
113113
114114 var menuItem = new Ext.menu.Item({
115115 text: _("Rescan circuit"),
116 icon: '/images/page_white_edit.png',
116 icon: 'images/page_white_edit.png',
117117 handler: this.rescanCircuit.createDelegate(this, rowIndex, true)
118118 });
119119 this.contextMenu.add(menuItem);
121121 if (showRemoveMenuItem === true) {
122122 var menuItem = new Ext.menu.Item({
123123 text: _("Remove meter"),
124 icon: '/images/delete.png',
124 icon: 'images/delete.png',
125125 handler: this.removeMeter.createDelegate(this, rowIndex, true)
126126 });
127127 this.contextMenu.add(menuItem);
135135 if (record.get('isPresent') === true) {
136136 var menuItem = new Ext.menu.Item({
137137 text: _("Meter statistics"),
138 icon: '/images/application_osx_terminal.png',
138 icon: 'images/application_osx_terminal.png',
139139 handler: this.dsmStatistics.createDelegate(this, rowIndex, true)
140140 });
141141 subMenu.add(menuItem);
143143
144144 var menuItem = new Ext.menu.Item({
145145 text: _("Abort meter statistics session"),
146 icon: '/images/application_osx_terminal.png',
146 icon: 'images/application_osx_terminal.png',
147147 handler: this.abortStatisticsRound.createDelegate(this, rowIndex, true)
148148 });
149149 subMenu.add(menuItem);
150150
151151 var menuItem = new Ext.menu.Item({
152152 text: _("Statistics"),
153 icon: '/images/application_osx_terminal.png',
153 icon: 'images/application_osx_terminal.png',
154154 menu: subMenu
155155 });
156156 this.contextMenu.add(menuItem);
webroot/js/dss/dss-setup-interface/dSS/scene/SceneWindowLight.js
(2 / 2)
  
9898 autoEl: {
9999 tag: 'img',
100100 align: 'left',
101 src: '/images/lightbulb_off.png'
101 src: 'images/lightbulb_off.png'
102102 }
103103 },
104104 this.messagePanel, {
109109 autoEl: {
110110 tag: 'img',
111111 align: 'right',
112 src: '/images/lightbulb.png'
112 src: 'images/lightbulb.png'
113113 }
114114 },
115115
webroot/js/dss/dss-setup-interface/dSS/system/logfiles.js
(1 / 1)
  
2424 html: '<h2>This is a placeholder</h2><p>Sample text.<br/><br/><br/></p>'
2525 },
2626 {
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>'
2828 },
2929 {
3030 colspan: 2,