-Many of the buttons have tool-tips giving you a hint as to their
-function. If you don't see any, you may need to enable them in
-**Configuration -> General -> Base**.
-Previous versions of this documentation had buttons tables
-everywhere, to make the buttons - and their function/description -
-easier to find, they've all been moved to a single table in the
+Previous versions of this documentation had buttons tables
+everywhere, to make the buttons - and their function/description -
+easier to find, they've all been moved to a single table in the
[Introduction](introduction) (*Using the Interface*).
+
+> Many of the buttons have tool-tips giving you a hint as to their
+function. If you don't see any, you may need to enable them in
+**Configuration -> General -> Base**.
| **Configuration -> Debugging -> Configuration only.**
Clear all statistics | Reset all stream statistics, e.g. BER, PER etc..
| **Status -> Stream only.**
+Drop (displayed) connections | Drop the currently-shown active connections.
+ | **Status -> Connections only.**
View Level | Show/Hide more advanced options.
Help | Display the help page.
| **Icon-only buttons**
}]);
grid = new Ext.grid.GridPanel({
- tbar: ['->', {
+ tbar: [
+ {
+ text: _('Drop all connections'),
+ tooltip: _('Drop (current) connections to Tvheadend.'),
+ iconCls: 'cancel',
+ handler: function() {
+ Ext.MessageBox.confirm(_('Drop Connections'),
+ _('Drop all current connections?'),
+ function(button) {
+ if (button === 'no')
+ return;
+ store.each(function(obj) {
+ Ext.Ajax.request({
+ url: 'api/connections/cancel',
+ params: { id: obj.id }
+ });
+ });
+ }
+ );
+ }
+ },
+ '->', {
text: _('Help'),
tooltip: _('View help docs.'),
iconCls: 'help',