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
|
@ -163,6 +163,18 @@
|
||||||
display: inline-block;
|
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) {
|
@media all and (max-width: 650px) {
|
||||||
.pageSizeContainer {
|
.pageSizeContainer {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
|
|
|
@ -108,15 +108,14 @@
|
||||||
|
|
||||||
<div id="itemBackdrop" class="itemBackdrop noBackdrop">
|
<div id="itemBackdrop" class="itemBackdrop noBackdrop">
|
||||||
<div class="itemBackdropContent">
|
<div class="itemBackdropContent">
|
||||||
<table class="detailPageContent primaryDetailPageContent">
|
<div class="detailPageContent primaryDetailPageContent">
|
||||||
<tr>
|
|
||||||
<td style="vertical-align: top; padding: 0 .8em 0 0;">
|
|
||||||
<div class="itemImageContainer">
|
<div class="itemImageContainer">
|
||||||
<div id="itemImage">
|
<div id="itemImage">
|
||||||
</div>
|
</div>
|
||||||
</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="parentName"></span><span class="itemName inlineItemName"></span><span class="itemMiscInfo" style="display: inline;"></span></p>
|
||||||
<p>
|
<p>
|
||||||
<span class="itemCommunityRating"></span>
|
<span class="itemCommunityRating"></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="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>
|
<a class="btnEdit hide" data-role="button" data-icon="edit" data-inline="true" data-mini="true" href="#">${ButtonEdit}</a>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</div>
|
||||||
</tr>
|
|
||||||
</table>
|
</div>
|
||||||
<div class="detailButtonsContainer mobileDetailButtons">
|
<div class="detailButtonsContainer mobileDetailButtons">
|
||||||
<span class="missingIndicator" style="margin-left: .5em; display: none;">
|
<span class="missingIndicator" style="margin-left: .5em; display: none;">
|
||||||
<span style="background: #cc3333; padding: 5px 1em; border-radius: 5px;">${LabelMissing}</span>
|
<span style="background: #cc3333; padding: 5px 1em; border-radius: 5px;">${LabelMissing}</span>
|
||||||
|
|
|
@ -1179,7 +1179,7 @@
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
ImageRefreshMode: imageRefreshMode == 'none' ? 'None' : 'FullRefresh',
|
ImageRefreshMode: imageRefreshMode == 'none' ? 'None' : 'FullRefresh',
|
||||||
MetadataRefreshMode: metadataRefreshMode == 'none' ? 'None' : (metadataRefreshMode == 'local' ? 'ValidationOnly' : 'FullRefresh'),
|
MetadataRefreshMode: metadataRefreshMode == 'none' ? 'None' : (metadataRefreshMode == 'local' ? 'ValidationOnly' : 'FullRefresh'),
|
||||||
ReplaceAllImages: imageRefreshMode == imageRefreshMode == 'all',
|
ReplaceAllImages: imageRefreshMode == 'all',
|
||||||
ReplaceAllMetadata: metadataRefreshMode == 'all'
|
ReplaceAllMetadata: metadataRefreshMode == 'all'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -122,7 +122,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (currentUser.Configuration.IsAdministrator && commands.indexOf('edit') != -1) {
|
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++;
|
buttonCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -351,7 +351,7 @@
|
||||||
html += '<div>';
|
html += '<div>';
|
||||||
html += '<ul data-role="listview">';
|
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>');
|
var header = Globalize.translate('HeaderLatestFromChannel').replace('{0}', '<a href="' + href + '">' + item.Name + '</a>');
|
||||||
html += '<li data-role="list-divider">' + header + '</li>';
|
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