diff --git a/view/css/main.css b/view/css/main.css index 0a29012d6062..2f96a76bf029 100644 --- a/view/css/main.css +++ b/view/css/main.css @@ -2061,5 +2061,4 @@ body.ypt-is-compressed #videoCol { .displayJsonAsHtml .panel .panel-body{ padding: 3px 6px; -} - +} \ No newline at end of file diff --git a/view/managerVideos_body.php b/view/managerVideos_body.php index 3aa2b211f2bd..422412a670ff 100644 --- a/view/managerVideos_body.php +++ b/view/managerVideos_body.php @@ -132,6 +132,23 @@ .typeLabels span { width: 100% !important; } + + body.youtube .bootgrid-table { + table-layout: auto; + } + + body.compact .hideIfCompact { + display: none; + } + + body.compact .scrollIfCompact { + max-height: 90px; + overflow-y: scroll; + } + + body.compact #grid img { + max-height: 50px !important; + }
@@ -1497,9 +1543,9 @@ function formatFileSize(bytes) { return (bytes / 1000).toFixed(2) + ' KB'; } - if(!empty(_editVideo)){ - waitToSubmit = true; - editVideo(_editVideo); + if (!empty(_editVideo)) { + waitToSubmit = true; + editVideo(_editVideo); } $('#linkExternalVideo').click(function() { @@ -1780,7 +1826,7 @@ function getGridURL() { var bigButtons = _edit + _thumbnail + _download; - return playBtn + embedBtn + editBtn + deleteBtn + status + suggestBtn + editLikes + bigButtons + pluginsButtons + download + nextIsSet; + return '
' + playBtn + embedBtn + editBtn + deleteBtn + status + suggestBtn + editLikes + bigButtons + pluginsButtons + download + nextIsSet + '
'; }, "tags": function(column, row) { var tags = ''; @@ -1824,7 +1870,7 @@ function getGridURL() { }, 1000); } - return tags; + return '
' + tags + '
'; }, "filesize": function(column, row) { return formatFileSize(row.filesize); @@ -1897,7 +1943,7 @@ function getGridURL() { - var playList = "
"; + var playList = "
"; @@ -1908,7 +1954,7 @@ function getGridURL() { //img = img + ''; var pluginsButtons = ''; var buttonTitleLink = '' + img + '
' + type + row.title + '
'; - return '
' + buttonTitleLink + tags + "
" + yt + pluginsButtons + "
" + playList + '
'; + return '
' + buttonTitleLink + tags + "
" + yt + pluginsButtons + "
" + playList + '
'; } @@ -1936,7 +1982,7 @@ function getGridURL() { //$(this).html($(this).attr('videos_id')); }); } - if(!empty(_editVideo)){ + if (!empty(_editVideo)) { $(".bootgrid-header .search-field").val(_editVideo.id); // Opcional: Execute uma busca automaticamente com o valor padrĂ£o grid.bootgrid("search", _editVideo.id);