]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
webui: fix the css clash for date picker, fixes #2553
authorJaroslav Kysela <perex@perex.cz>
Mon, 15 Dec 2014 17:03:29 +0000 (18:03 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 15 Dec 2014 17:03:29 +0000 (18:03 +0100)
src/webui/static/app/ext.css
src/webui/static/app/tvheadend.js

index feb0798466888f8aac007af27b6819c3b5f33a41..596b0809dd417a1d62bd26a83a73fb4b411d3b71 100644 (file)
     width: 100px;
 }
 
-.x-date-date {
+.x-nice-date {
     display: inline-block;
     width: 6em;
 }
 
-.x-date-time {
+.x-nice-time {
     display: inline-block;
     width: 4em;
     text-align: right;
index afa5fb63d329ea4d92163d5eec01e0539b6b4875..531067490c0da5dc74f787975bebf7864b291a26 100644 (file)
@@ -156,8 +156,8 @@ Ext.Ajax.request({
  */
 tvheadend.niceDate = function(dt) {
     var d = new Date(dt);
-    return '<div class="x-date-date">' + d.toLocaleDateString() + '</div>' +
-           '<div class="x-date-time">' + d.toLocaleTimeString() + '</div>';
+    return '<div class="x-nice-date">' + d.toLocaleDateString() + '</div>' +
+           '<div class="x-nice-time">' + d.toLocaleTimeString() + '</div>';
 }
 
 /**