Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WEBUI: cosmetic changes with add icon for tabs
I also add icon named tv_cards.png but i do not know how add this icon
to tabs named: TV adapters.

Please correct the more well-known for adding the icon to the tabs.
  • Loading branch information
pepsonEL authored and perexg committed Oct 10, 2014
1 parent 4157c6f commit 64b21d8
Show file tree
Hide file tree
Showing 13 changed files with 44 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/webui/static/app/esfilter.js
Expand Up @@ -86,6 +86,7 @@ tvheadend.esfilter_tab = function(panel)
url: 'api/esfilter/teletext',
titleS: 'Teletext Stream Filter',
titleP: 'Teletext Stream Filters',
iconCls: 'teletext',
tabIndex: 3,
edit: { params: { list: eslist } },
add: {
Expand All @@ -104,6 +105,7 @@ tvheadend.esfilter_tab = function(panel)
url: 'api/esfilter/subtit',
titleS: 'Subtitle Stream Filter',
titleP: 'Subtitle Stream Filters',
iconCls: 'subtitle',
tabIndex: 4,
edit: { params: { list: eslist } },
add: {
Expand Down Expand Up @@ -140,6 +142,7 @@ tvheadend.esfilter_tab = function(panel)
url: 'api/esfilter/other',
titleS: 'Other Stream Filter',
titleP: 'Other Stream Filters',
iconCls: 'otherFilters',
tabIndex: 6,
edit: { params: { list: eslist } },
add: {
Expand Down
36 changes: 36 additions & 0 deletions src/webui/static/app/ext.css
Expand Up @@ -346,6 +346,42 @@
background-image: url(../icons/exclamation.png) !important;
}

.tvCards {
background-image: url(../icons/tv_cards.png) !important;
}

.networks {
background-image: url(../icons/networks.png) !important;
}

.muxes {
background-image: url(../icons/muxes.png) !important;
}

.muxSchedulers {
background-image: url(../icons/mux_schedulers.png) !important;
}

.services {
background-image: url(../icons/services.png) !important;
}

.teletext {
background-image: url(../icons/teletext.png) !important;
}

.subtitle {
background-image: url(../icons/subtitle.png) !important;
}

.serviceMapper {
background-image: url(../icons/service_mapper.png) !important;
}

.otherFilters {
background-image: url(../icons/other_filters.png) !important;
}

.x-linked {
display: inline-block;
background-image: url(../icons/linked.gif) !important;
Expand Down
4 changes: 4 additions & 0 deletions src/webui/static/app/mpegts.js
Expand Up @@ -31,6 +31,7 @@ tvheadend.networks = function(panel, index)
url: 'api/mpegts/network',
titleS: 'Network',
titleP: 'Networks',
iconCls: 'networks',
tabIndex: index,
help: function() {
new tvheadend.help('Networks', 'config_networks.html');
Expand Down Expand Up @@ -62,6 +63,7 @@ tvheadend.muxes = function(panel, index)
url: 'api/mpegts/mux',
titleS: 'Mux',
titleP: 'Muxes',
iconCls: 'muxes',
tabIndex: index,
hidemode: true,
help: function() {
Expand Down Expand Up @@ -254,6 +256,7 @@ tvheadend.services = function(panel, index)
url: 'api/mpegts/service',
titleS: 'Service',
titleP: 'Services',
iconCls: 'services',
tabIndex: index,
hidemode: true,
add: false,
Expand Down Expand Up @@ -290,6 +293,7 @@ tvheadend.mux_sched = function(panel, index)
url: 'api/mpegts/mux_sched',
titleS: 'Mux Scheduler',
titleP: 'Mux Schedulers',
iconCls: 'muxSchedulers',
tabIndex: index,
help: function() {
new tvheadend.help('Mux Schedulers', 'config_muxsched.html');
Expand Down
1 change: 1 addition & 0 deletions src/webui/static/app/servicemapper.js
Expand Up @@ -32,6 +32,7 @@ tvheadend.service_mapper_status = function(panel, index)
var mpanel = new Ext.FormPanel({
method: 'get',
title: 'Service Mapper',
iconCls: 'serviceMapper',
frame: true,
border: true,
bodyStyle: 'padding: 5px',
Expand Down
Binary file added src/webui/static/icons/mux_schedulers.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/webui/static/icons/muxes.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/webui/static/icons/networks.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/webui/static/icons/other_filters.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/webui/static/icons/service_mapper.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/webui/static/icons/services.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/webui/static/icons/subtitle.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/webui/static/icons/teletext.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/webui/static/icons/tv_cards.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 64b21d8

Please sign in to comment.