diff --git a/data/interfaces/default/css/plexpy.css b/data/interfaces/default/css/plexpy.css index 1a0d5658..7d715a3c 100644 --- a/data/interfaces/default/css/plexpy.css +++ b/data/interfaces/default/css/plexpy.css @@ -1646,6 +1646,30 @@ input[type="color"], width: 250px; z-index: 9999; } +.tooltip.top .tooltip-arrow { + border-top-color: #fff; +} +.tooltip.right .tooltip-arrow { + border-right-color: #fff; +} +.tooltip.bottom .tooltip-arrow { + border-bottom-color: #fff; +} +.tooltip.left .tooltip-arrow { + border-left-color: #fff; +} +.tooltip-inner { + color: #000; + background: #fff; + border: 0; + font-weight: bold; +} +.history-title .popover.right { + margin-left: 12px; +} +.history-title .popover.right .popover-content { + padding: 5px 8px; +} #updatebar { background-color: #444; color: #999999; diff --git a/data/interfaces/default/history.html b/data/interfaces/default/history.html index 9546b94b..9e1ec5f6 100644 --- a/data/interfaces/default/history.html +++ b/data/interfaces/default/history.html @@ -79,7 +79,6 @@ }); } }); - }); diff --git a/data/interfaces/default/js/tables/history_table.js b/data/interfaces/default/js/tables/history_table.js index 65edc7c8..2e54a0d4 100644 --- a/data/interfaces/default/js/tables/history_table.js +++ b/data/interfaces/default/js/tables/history_table.js @@ -92,7 +92,12 @@ history_table_options = { "data":"player", "createdCell": function (td, cellData, rowData, row, col) { if (cellData !== '') { - $(td).html(' ' + cellData + ''); + var transcode_dec = ''; + if (rowData['video_decision'] === 'transcode') { + transcode_dec = ' '; + } + $(td).html('
 ' + cellData + '
\ +
' + transcode_dec + '
'); } }, "className": "no-wrap hidden-md hidden-sm hidden-xs modal-control" @@ -103,13 +108,12 @@ history_table_options = { "createdCell": function (td, cellData, rowData, row, col) { if (cellData !== '') { if (rowData['media_type'] === 'movie' || rowData['media_type'] === 'episode') { - var transcode_dec = ''; - if (rowData['video_decision'] === 'transcode') { - transcode_dec = ' '; - } - $(td).html('
' + cellData + '
' + transcode_dec + '
'); + var media_type = rowData['media_type'][0].toUpperCase() + rowData['media_type'].substring(1); + $(td).html('
' + cellData + '
\ +
'); } else if (rowData['media_type'] === 'track') { - $(td).html('
' + cellData + '
'); + $(td).html('
' + cellData + '
\ +
'); } else { $(td).html('' + cellData + ''); } @@ -190,10 +194,19 @@ history_table_options = { // Jump to top of page // $('html,body').scrollTop(0); $('#ajaxMsg').fadeOut(); + // Create the tooltips. - $('.info-modal').each(function() { - $(this).tooltip(); + $('.transcode-tooltip').tooltip(); + $('.media-type-tooltip').tooltip(); + $('.thumb-tooltip').popover({ + html: true, + trigger: 'hover', + placement: 'right', + content: function () { + return '
'; + } }); + if ($('#row-edit-mode').hasClass('active')) { $('.delete-control').each(function() { $(this).removeClass('hidden');