]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
WEBUI: cosmetic changes 530/head
authorPiotr Kuchciak <piotr.kuchciak@gmail.com>
Thu, 30 Oct 2014 07:41:28 +0000 (08:41 +0100)
committerPiotr Kuchciak <piotr.kuchciak@gmail.com>
Thu, 30 Oct 2014 07:41:28 +0000 (08:41 +0100)
-changed icon in Live TV Player: play, pause, stop
-cosmetic in Live TV Player
-changed icon for broadcast details and cosmetic name field, and add
icon for buttons (Please add button STOP RECORD about button RECORD
PROGRAM !!! and moved link PLAY about DVR PROFILE SELECT as BUTTON)
-changed icon in details for finished recordings in DVR
-changed windows size for broadcast details
-add icon for title help window
-changed icon tab EPG
-changed icon tab DVR

src/webui/static/app/dvr.js
src/webui/static/app/epg.js
src/webui/static/app/ext.css
src/webui/static/app/tvheadend.js
src/webui/static/icons/broadcast_details.png [new file with mode: 0644]
src/webui/static/icons/control_pause.png
src/webui/static/icons/control_play.png
src/webui/static/icons/control_stop.png
src/webui/static/icons/dvr.png [new file with mode: 0644]
src/webui/static/icons/epg.png [new file with mode: 0644]

index 5f3d3cc39444cc4f2bbd26e11af10ea10e8fa4cb..dd0a3e287805139e8dd934782f4a8824c7323a9c 100644 (file)
@@ -26,6 +26,7 @@ tvheadend.dvrDetails = function(uuid) {
 
         var win = new Ext.Window({
             title: title,
+            iconCls: 'info',
             layout: 'fit',
             width: 400,
             height: 300,
@@ -503,7 +504,7 @@ tvheadend.dvr = function(panel, index) {
         activeTab: 0,
         autoScroll: true,
         title: 'Digital Video Recorder',
-        iconCls: 'drive',
+        iconCls: 'dvr',
         items: [],
     });
     tvheadend.dvr_upcoming(p, 0);
index eddb8c82900536bbbf8f86a6b933c33a04d7de64..af8a2ec72075ae248587a48b2bfb154db10fc398 100644 (file)
@@ -161,7 +161,7 @@ tvheadend.epgDetails = function(event) {
             valueField: 'key',
             displayField: 'val',
             name: 'config_name',
-            emptyText: '(default)',
+            emptyText: '(default DVR Profile)',
             value: '',
             editable: false
         });
@@ -169,10 +169,12 @@ tvheadend.epgDetails = function(event) {
         buttons.push(confcombo);
         buttons.push(new Ext.Button({
             handler: recordEvent,
+            iconCls: 'rec',
             text: "Record program"
         }));
         buttons.push(new Ext.Button({
             handler: recordSeries,
+            iconCls: 'autoRec',
             text: event.serieslinkId ? "Record series" : "Autorec"
         }));
 
@@ -187,8 +189,8 @@ tvheadend.epgDetails = function(event) {
     var win = new Ext.Window({
         title: 'Broadcast Details',
         layout: 'fit',
-        width: 500,
-        height: 300,
+        width: 600,
+        height: 400,
         constrainHeader: true,
         buttons: buttons,
         buttonAlign: 'center',
@@ -232,7 +234,7 @@ tvheadend.epg = function() {
         dataIndex: 'actions',
         actions: [
             {
-                iconCls: 'info',
+                iconCls: 'broadcast_details',
                 qtip: 'Broadcast details',
                 cb: function(grid, rec, act, row) {
                     new tvheadend.epgDetails(grid.getStore().getAt(row).data);
@@ -748,7 +750,7 @@ tvheadend.epg = function() {
         cm: epgCm,
         plugins: [filter, actions],
         title: 'Electronic Program Guide',
-        iconCls: 'newspaper',
+        iconCls: 'epg',
         store: epgStore,
         selModel: new Ext.ux.grid.livegrid.RowSelectionModel(),
         view: epgView,
index b57eea5fef94576a150f81dfb0b218dfbf21357a..3a1bbb862b844701d3e52f5ce30bba65c2e6825e 100644 (file)
 }
 
 .completed {
-    background-image: url(../icons/tick.png) !important;
+    background-image: url(../icons/accept.png) !important;
 }
 
 .completedError {
     background-image: url(../icons/reseticon.png) !important;
 }
 
+.dvr{
+    background-image: url(../icons/dvr.png) !important;
+}
+
+.epg{
+    background-image: url(../icons/epg.png) !important;
+}
+
+.broadcast_details{
+    background-image: url(../icons/broadcast_details.png) !important;
+}
+
 .x-linked {
     display: inline-block;
     background-image: url(../icons/linked.gif) !important;
index ed29ff81ee41a7b2506c569f096046fb24f717ae..3e6477a4f784eaa75ed6b3b61bbdee0b2d2b8fff 100644 (file)
@@ -29,6 +29,7 @@ tvheadend.help = function(title, pagename) {
 
             var win = new Ext.Window({
                 title: 'Help for ' + title,
+                iconCls: 'help',
                 layout: 'fit',
                 width: 900,
                 height: 400,
@@ -204,7 +205,7 @@ tvheadend.VideoPlayer = function(url) {
         mode: 'local',
         editable: false,
         triggerAction: 'all',
-        emptyText: 'Select profile...',
+        emptyText: 'Select stream profile...',
         store: tvheadend.profiles,
     });
 
diff --git a/src/webui/static/icons/broadcast_details.png b/src/webui/static/icons/broadcast_details.png
new file mode 100644 (file)
index 0000000..87d4ac7
Binary files /dev/null and b/src/webui/static/icons/broadcast_details.png differ
index da8c524c771eeaf195661c08a9dc0b71e299fa31..0b106fc94809537751bfb06cdf236251427cbd8f 120000 (symlink)
Binary files a/src/webui/static/icons/control_pause.png and b/src/webui/static/icons/control_pause.png differ
index 33a5ccba00d8bb1b85ca88abdd1f30c6d9667cb2..40c53fbbb6f05db43159b5ba3cdecdbd6ebb8acf 120000 (symlink)
Binary files a/src/webui/static/icons/control_play.png and b/src/webui/static/icons/control_play.png differ
index 420c17189402407872908fc90fc06d584109a38f..2bbb1f1cc3608b6ff6281d4b138ddd055db65abb 120000 (symlink)
Binary files a/src/webui/static/icons/control_stop.png and b/src/webui/static/icons/control_stop.png differ
diff --git a/src/webui/static/icons/dvr.png b/src/webui/static/icons/dvr.png
new file mode 100644 (file)
index 0000000..1495cd6
Binary files /dev/null and b/src/webui/static/icons/dvr.png differ
diff --git a/src/webui/static/icons/epg.png b/src/webui/static/icons/epg.png
new file mode 100644 (file)
index 0000000..d360b16
Binary files /dev/null and b/src/webui/static/icons/epg.png differ