From a18df3bc7825af4077615590c9eb306bfb6e3f10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Tue, 26 Aug 2008 20:07:19 +0000 Subject: [PATCH] Add tooltips to all buttons --- webui/static/app/acleditor.js | 4 ++++ webui/static/app/chconf.js | 2 ++ webui/static/app/cwceditor.js | 4 ++++ webui/static/app/dvb.js | 3 +++ webui/static/app/tvheadend.js | 2 +- 5 files changed, 14 insertions(+), 1 deletion(-) diff --git a/webui/static/app/acleditor.js b/webui/static/app/acleditor.js index be811e27..8bec54e5 100644 --- a/webui/static/app/acleditor.js +++ b/webui/static/app/acleditor.js @@ -174,14 +174,18 @@ tvheadend.acleditor = function() { cm: cm, selModel: new Ext.grid.RowSelectionModel({singleSelect:false}), tbar: [{ + tooltip: 'Create a new access list entry on the server. ' + + 'The new entry is initially disabled so it must be enabled before it start taking effect.', iconCls:'add', text: 'Add entry', handler: addRecord }, '-', { + tooltip: 'Delete one or more selected rows', iconCls:'remove', text: 'Delete selected', handler: delSelected }, '-', { + tooltip: 'Save any changes made (Changed cells have red borders).', iconCls:'save', text: "Save changes", handler: saveChanges diff --git a/webui/static/app/chconf.js b/webui/static/app/chconf.js index 1d7b1d45..fb6163d7 100644 --- a/webui/static/app/chconf.js +++ b/webui/static/app/chconf.js @@ -207,10 +207,12 @@ tvheadend.channeldetails = function(chid, chname) { title: chname, border:false, tbar: [{ + tooltip: 'Delete channel "' + chname + '". All mapped transports will be unmapped', iconCls:'remove', text: "Delete channel", handler: deleteChannel }, '-', { + tooltip: 'Save changes made to channel configuration below and the mapped transports', iconCls:'save', text: "Save configuration", handler: saveChanges diff --git a/webui/static/app/cwceditor.js b/webui/static/app/cwceditor.js index 030a0db8..37b3da6d 100644 --- a/webui/static/app/cwceditor.js +++ b/webui/static/app/cwceditor.js @@ -161,14 +161,18 @@ tvheadend.cwceditor = function() { cm: cm, selModel: new Ext.grid.RowSelectionModel({singleSelect:false}), tbar: [{ + tooltip: 'Create a new code word connection entry on the server. ' + + 'The new entry is initially disabled so it must be enabled before it start taking effect.', iconCls:'add', text: 'Add entry', handler: addRecord }, '-', { + tooltip: 'Delete one or more selected rows', iconCls:'remove', text: 'Delete selected', handler: delSelected }, '-', { + tooltip: 'Save any changes made (Changed cells have red borders).', iconCls:'save', text: "Save changes", handler: saveChanges diff --git a/webui/static/app/dvb.js b/webui/static/app/dvb.js index c6d320de..94f79b8e 100644 --- a/webui/static/app/dvb.js +++ b/webui/static/app/dvb.js @@ -128,14 +128,17 @@ tvheadend.dvb_adapterdetails = function(adapterId, adapterName, treenode) { }) ], tbar:[{ + tooltip: 'Manually add new transport multiplexes', iconCls:'add', text: 'Add mux(es)', handler: addmux }, '-', { + tooltip: 'Scan all transports on this adapter and map those who has a working video stream to a channel', iconCls:'option', text: 'Probe services', handler: probeservices }, '-', { + tooltip: 'Save and changes made to the configuation below', iconCls:'save', text: 'Save configuration', handler: saveconfig diff --git a/webui/static/app/tvheadend.js b/webui/static/app/tvheadend.js index cd99ad29..b9261177 100644 --- a/webui/static/app/tvheadend.js +++ b/webui/static/app/tvheadend.js @@ -128,7 +128,7 @@ tvheadend.app = function() { }); new tvheadend.comet_poller; - + Ext.QuickTips.init(); } };