Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WEBUI JS: Replace the zoom icon with the small blue triangle
  • Loading branch information
perexg committed Sep 29, 2014
1 parent 8f7e6e5 commit 9e007f5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/webui/static/app/epg.js
Expand Up @@ -223,7 +223,7 @@ tvheadend.epgDetails = function(event) {
};

tvheadend.epg = function() {
var lookup = '<span class="x-zoom">&nbsp;</span>';
var lookup = '<span class="x-linked">&nbsp;</span>';

var actions = new Ext.ux.grid.RowActions({
id: 'details',
Expand Down
11 changes: 4 additions & 7 deletions src/webui/static/app/ext.css
Expand Up @@ -322,14 +322,11 @@
background-image: url(../icons/film_edit.png) !important;
}

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

.x-zoom {
.x-linked {
display: inline-block;
background-image: url(../icons/zoom.png) !important;
width: 16px;
background-image: url(../icons/linked.gif) !important;
background-repeat: no-repeat;
width: 4px;
}

.x-smallhdr {
Expand Down
4 changes: 2 additions & 2 deletions src/webui/static/app/status.js
Expand Up @@ -63,7 +63,7 @@ tvheadend.status_subs = function(panel, index)

function renderBw(value, item, record) {
var txt = parseInt(value / 125);
return '<span class="x-zoom">&nbsp;</span>' + txt;
return '<span class="x-linked">&nbsp;</span>' + txt;
}

var subsCm = new Ext.grid.ColumnModel([
Expand Down Expand Up @@ -264,7 +264,7 @@ tvheadend.status_streams = function(panel, index)

function renderBw(value, item, record) {
var txt = parseInt(value / 1024);
return '<span class="x-zoom">&nbsp;</span>' + txt;
return '<span class="x-linked">&nbsp;</span>' + txt;
}

function renderBer(value, item, store) {
Expand Down
Binary file added src/webui/static/icons/linked.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion src/webui/static/icons/zoom.png

This file was deleted.

0 comments on commit 9e007f5

Please sign in to comment.