mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add subtitle delivery methods to StreamBuilder
This commit is contained in:
parent
b431c1c498
commit
455d3111d9
5 changed files with 93 additions and 67 deletions
|
@ -1,6 +1,6 @@
|
|||
/* Fixes the issue of jqm panels altering the page background. */
|
||||
.ui-panel-content-wrap {
|
||||
background: none!important;
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
.ui-panel fieldset + fieldset {
|
||||
|
@ -13,7 +13,7 @@
|
|||
}
|
||||
|
||||
.backdropPage {
|
||||
background-color: rgba(15, 15,15, .94)!important;
|
||||
background-color: rgba(15, 15,15, .94) !important;
|
||||
}
|
||||
|
||||
.backdropContainer {
|
||||
|
@ -151,11 +151,11 @@
|
|||
}
|
||||
|
||||
.viewControls + .listTopPaging {
|
||||
margin-left: .5em!important;
|
||||
margin-left: .5em !important;
|
||||
}
|
||||
|
||||
.labelPageSize {
|
||||
margin-left: 1em!important;
|
||||
margin-left: 1em !important;
|
||||
display: inline !important;
|
||||
}
|
||||
|
||||
|
@ -163,9 +163,21 @@
|
|||
display: inline-block;
|
||||
}
|
||||
|
||||
.itemImageContainer {
|
||||
vertical-align: top;
|
||||
padding: 0 .8em 0 0;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
@media all and (min-width: 650px) {
|
||||
.itemImageContainer {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 650px) {
|
||||
.pageSizeContainer {
|
||||
display: none!important;
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -301,7 +313,7 @@
|
|||
}
|
||||
|
||||
.criticRatingSummary {
|
||||
color: #506A16!important;
|
||||
color: #506A16 !important;
|
||||
background-color: #F2F0C4;
|
||||
background-image: -webkit-gradient(linear,left top,left bottom,from(#FFE37C),to(#F2F0C4));
|
||||
background-image: -webkit-linear-gradient(top,#FFE37C,#F2F0C4);
|
||||
|
@ -324,9 +336,9 @@
|
|||
padding: 5px 7px;
|
||||
font-size: 13px;
|
||||
margin: 0 5px 5px 0;
|
||||
color: #fff!important;
|
||||
color: #fff !important;
|
||||
text-decoration: none;
|
||||
font-weight: normal!important;
|
||||
font-weight: normal !important;
|
||||
}
|
||||
|
||||
a.itemTag:hover {
|
||||
|
@ -396,10 +408,10 @@ a.itemTag:hover {
|
|||
position: fixed;
|
||||
top: 105px;
|
||||
text-decoration: none;
|
||||
font-weight: normal!important;
|
||||
font-weight: normal !important;
|
||||
display: none;
|
||||
background-color: rgba(0,0,0,0.6);
|
||||
color: #ddd!important;
|
||||
color: #ddd !important;
|
||||
background-color: transparent;
|
||||
padding: 0;
|
||||
}
|
||||
|
@ -411,7 +423,7 @@ a.itemTag:hover {
|
|||
@media all and (max-width: 1000px) {
|
||||
|
||||
.lnkSibling {
|
||||
display: none!important;
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -529,8 +541,8 @@ a.itemTag:hover {
|
|||
}
|
||||
|
||||
.lblDetailTab {
|
||||
font-size: 14px!important;
|
||||
font-weight: 400!important;
|
||||
font-size: 14px !important;
|
||||
font-weight: 400 !important;
|
||||
font-family: 'Open Sans';
|
||||
padding: .5em 1em;
|
||||
border-color: #1f1f1f !important;
|
||||
|
@ -562,22 +574,22 @@ a.itemTag:hover {
|
|||
}
|
||||
|
||||
.mediaBrowserAccent {
|
||||
color: #52B54B!important;
|
||||
color: #52B54B !important;
|
||||
}
|
||||
|
||||
.libraryPanelCollapsibleHeader a {
|
||||
font-size: 16px;
|
||||
font-weight: 300!important;
|
||||
font-weight: 300 !important;
|
||||
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.selectedLibraryPanelLink {
|
||||
background: #38c!important;
|
||||
background: #38c !important;
|
||||
}
|
||||
|
||||
.libraryPanelLink {
|
||||
font-size: 14px;
|
||||
font-weight: 300!important;
|
||||
font-weight: 300 !important;
|
||||
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
|
@ -644,9 +656,9 @@ a.itemTag:hover {
|
|||
}
|
||||
|
||||
.inlineItemName + .itemMiscInfo {
|
||||
margin-left: 0!important;
|
||||
margin-left: 0 !important;
|
||||
margin-top: 1em;
|
||||
display: block!important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.primaryDetailPageContent {
|
||||
|
@ -654,7 +666,7 @@ a.itemTag:hover {
|
|||
}
|
||||
|
||||
.primaryDetailPageContent .userDataIcons {
|
||||
margin-left: 0!important;
|
||||
margin-left: 0 !important;
|
||||
margin-top: 1.5em;
|
||||
display: block;
|
||||
}
|
||||
|
@ -819,19 +831,19 @@ a.itemTag:hover {
|
|||
}
|
||||
|
||||
.scenePosterViewItem img {
|
||||
max-width: 150px!important;
|
||||
max-width: 150px !important;
|
||||
}
|
||||
|
||||
@media all and (min-width: 650px) {
|
||||
.libraryTabs .ui-btn-inner {
|
||||
padding: .5em 15px!important;
|
||||
padding: .5em 15px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 1200px) {
|
||||
|
||||
.scenePosterViewItem img {
|
||||
max-width: 200px!important;
|
||||
max-width: 200px !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -941,16 +953,16 @@ a.itemTag:hover {
|
|||
display: block;
|
||||
text-decoration: none;
|
||||
padding: 1px 0;
|
||||
color: #bbb!important;
|
||||
color: #bbb !important;
|
||||
}
|
||||
|
||||
.alphabetPicker a:hover:not(.selectedCharacter) {
|
||||
background: #666!important;
|
||||
color: #fff!important;
|
||||
background: #666 !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.selectedCharacter {
|
||||
color: #fff!important;
|
||||
color: #fff !important;
|
||||
background: #4d90fe;
|
||||
}
|
||||
|
||||
|
@ -1157,7 +1169,7 @@ a.itemTag:hover {
|
|||
@media all and (min-height: 1079px) and (min-width: 1400px) {
|
||||
|
||||
.type-home {
|
||||
overflow-x: visible!important;
|
||||
overflow-x: visible !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1223,7 +1235,7 @@ a.itemTag:hover {
|
|||
|
||||
.itemsListview {
|
||||
max-width: 800px;
|
||||
margin: 0 auto!important;
|
||||
margin: 0 auto !important;
|
||||
}
|
||||
|
||||
.itemsListview .ui-li-aside {
|
||||
|
|
|
@ -108,15 +108,14 @@
|
|||
|
||||
<div id="itemBackdrop" class="itemBackdrop noBackdrop">
|
||||
<div class="itemBackdropContent">
|
||||
<table class="detailPageContent primaryDetailPageContent">
|
||||
<tr>
|
||||
<td style="vertical-align: top; padding: 0 .8em 0 0;">
|
||||
<div class="detailPageContent primaryDetailPageContent">
|
||||
|
||||
<div class="itemImageContainer">
|
||||
<div id="itemImage">
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td style="vertical-align: top; padding: 0; position: relative;">
|
||||
|
||||
<div style="vertical-align: top; padding: 0; position: relative;">
|
||||
<p><span class="parentName"></span><span class="itemName inlineItemName"></span><span class="itemMiscInfo" style="display: inline;"></span></p>
|
||||
<p>
|
||||
<span class="itemCommunityRating"></span>
|
||||
|
@ -125,7 +124,7 @@
|
|||
<p id="artist"></p>
|
||||
<p class="itemGenres desktopGenres"></p>
|
||||
<p class="itemOverview desktopOverview"></p>
|
||||
<div class="detailButtonsContainer desktopDetailButtons" style="text-align: left;">
|
||||
<div class="detailButtonsContainer desktopDetailButtons" style="text-align:left;">
|
||||
<span class="missingIndicator" style="margin-left: .5em; display: none;">
|
||||
<span style="background: #cc3333; padding: 5px 1em; border-radius: 5px;">${LabelMissing}</span>
|
||||
</span>
|
||||
|
@ -138,9 +137,9 @@
|
|||
<a class="btnPlayExternal hide" data-role="button" data-icon="play" data-inline="true" data-mini="true" href="#" target="_blank">${ButtonPlay}</a>
|
||||
<a class="btnEdit hide" data-role="button" data-icon="edit" data-inline="true" data-mini="true" href="#">${ButtonEdit}</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="detailButtonsContainer mobileDetailButtons">
|
||||
<span class="missingIndicator" style="margin-left: .5em; display: none;">
|
||||
<span style="background: #cc3333; padding: 5px 1em; border-radius: 5px;">${LabelMissing}</span>
|
||||
|
|
|
@ -1179,7 +1179,7 @@
|
|||
Recursive: true,
|
||||
ImageRefreshMode: imageRefreshMode == 'none' ? 'None' : 'FullRefresh',
|
||||
MetadataRefreshMode: metadataRefreshMode == 'none' ? 'None' : (metadataRefreshMode == 'local' ? 'ValidationOnly' : 'FullRefresh'),
|
||||
ReplaceAllImages: imageRefreshMode == imageRefreshMode == 'all',
|
||||
ReplaceAllImages: imageRefreshMode == 'all',
|
||||
ReplaceAllMetadata: metadataRefreshMode == 'all'
|
||||
});
|
||||
|
||||
|
|
|
@ -122,7 +122,7 @@
|
|||
}
|
||||
|
||||
if (currentUser.Configuration.IsAdministrator && commands.indexOf('edit') != -1) {
|
||||
html += '<button type="button" data-mini="true" data-inline="true" data-icon="edit" data-iconpos="notext" title="' + Globalize.translate('ButtonEdit') + '" onclick="Dashboard.navigate(\'edititemmetadata.html?id=' + item.Id + '\');return false;" style="' + buttonMargin + '">' + Globalize.translate('ButtonEdit') + '</button>';
|
||||
html += '<a data-role="button" data-mini="true" data-inline="true" data-icon="edit" data-iconpos="notext" title="' + Globalize.translate('ButtonEdit') + '" href="edititemmetadata.html?id=' + item.Id + '" style="' + buttonMargin + '">' + Globalize.translate('ButtonEdit') + '</button>';
|
||||
buttonCount++;
|
||||
}
|
||||
|
||||
|
@ -351,7 +351,7 @@
|
|||
html += '<div>';
|
||||
html += '<ul data-role="listview">';
|
||||
|
||||
var href = LibraryBrowser.getHref(item);
|
||||
var href = posterItem.href || LibraryBrowser.getHref(item);
|
||||
var header = Globalize.translate('HeaderLatestFromChannel').replace('{0}', '<a href="' + href + '">' + item.Name + '</a>');
|
||||
html += '<li data-role="list-divider">' + header + '</li>';
|
||||
|
||||
|
|
15
dashboard-ui/scripts/sync.js
Normal file
15
dashboard-ui/scripts/sync.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
(function (window, $) {
|
||||
|
||||
function showSyncMenu(items) {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
window.SyncManager = {
|
||||
|
||||
showMenu: showSyncMenu
|
||||
|
||||
};
|
||||
|
||||
})(window, jQuery);
|
Loading…
Add table
Add a link
Reference in a new issue