mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update external subs
This commit is contained in:
parent
0f37b99468
commit
10bcfa593b
13 changed files with 110 additions and 101 deletions
|
@ -504,6 +504,10 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
|
|||
max-height: 300px;
|
||||
}
|
||||
|
||||
.portraitDetailImageContainer img {
|
||||
max-width: 220px;
|
||||
}
|
||||
|
||||
.squareDetailImageContainer {
|
||||
margin-top: -150px;
|
||||
}
|
||||
|
|
|
@ -133,7 +133,7 @@
|
|||
</neon-animated-pages>
|
||||
</div>
|
||||
|
||||
<div data-role="panel" class="viewPanel channelViewPanel" data-theme="a" data-position="right" data-display="overlay" data-position-fixed="true">
|
||||
<div data-role="panel" class="viewPanel channelViewPanel hide" data-theme="a" data-position="right" data-display="overlay" data-position-fixed="true">
|
||||
<div class="ui-panel-inner">
|
||||
<form>
|
||||
<div>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title>${TitleLiveTV}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="liveTvStatusPage" data-role="page" class="page type-interior liveTvSettingsPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Live%20TV" data-require="jqmtable,scripts/livetvstatus,scripts/taskbutton,detailtablecss">
|
||||
<div id="liveTvStatusPage" data-role="page" class="page type-interior liveTvSettingsPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Live%20TV" data-require="scripts/livetvstatus">
|
||||
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
|
@ -19,37 +19,29 @@
|
|||
|
||||
<div class="liveTvStatusContent" style="display: none;">
|
||||
|
||||
<h1>${HeaderTunerDevices}</h1>
|
||||
<paper-button raised class="submit btnAddDevice block"><iron-icon icon="add"></iron-icon><span>${ButtonAdd}</span></paper-button>
|
||||
<div>
|
||||
<h1 style="display:inline-block;vertical-align:middle;">${HeaderTunerDevices}</h1>
|
||||
<paper-fab class="btnAddDevice mini" icon="add" title="${ButtonAdd}" style="margin-left:1em;"></paper-fab>
|
||||
</div>
|
||||
<div class="devicesList">
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<br />
|
||||
<h1>${HeaderGuideProviders}</h1>
|
||||
<div>
|
||||
<h1 style="display:inline-block;vertical-align:middle;">${HeaderGuideProviders}</h1>
|
||||
<paper-fab class="btnAddProvider mini" icon="add" title="${ButtonAdd}" style="margin-left:1em;"></paper-fab>
|
||||
</div>
|
||||
<p>${AddGuideProviderHelp}</p>
|
||||
<paper-button raised class="submit btnAddProvider block"><iron-icon icon="add"></iron-icon><span>${ButtonAdd}</span></paper-button>
|
||||
<div class="providerList">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<br />
|
||||
<h1>${HeaderTvTuners}</h1>
|
||||
|
||||
<table data-role="table" data-mode="reflow" class="tblTuners stripedTable ui-responsive table-stroke">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>${HeaderName}</th>
|
||||
<th>${HeaderSource}</th>
|
||||
<th>${HeaderStatus}</th>
|
||||
<th>${HeaderProgram}</th>
|
||||
<th>${HeaderClients}</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="tunersResultBody"></tbody>
|
||||
</table>
|
||||
<div class="tunerList">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="servicesSection" style="display:none;">
|
||||
|
|
|
@ -139,7 +139,7 @@
|
|||
</neon-animated-pages>
|
||||
</div>
|
||||
|
||||
<div data-role="panel" class="viewPanel movieViewPanel" data-theme="a" data-position="right" data-display="overlay" data-position-fixed="true">
|
||||
<div data-role="panel" class="viewPanel movieViewPanel hide" data-theme="a" data-position="right" data-display="overlay" data-position-fixed="true">
|
||||
<div class="ui-panel-inner">
|
||||
<form>
|
||||
|
||||
|
@ -248,7 +248,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div data-role="panel" class="viewPanel trailerViewPanel" data-theme="a" data-position="right" data-display="overlay" data-position-fixed="true">
|
||||
<div data-role="panel" class="viewPanel trailerViewPanel hide" data-theme="a" data-position="right" data-display="overlay" data-position-fixed="true">
|
||||
<div class="ui-panel-inner">
|
||||
<form>
|
||||
|
||||
|
@ -290,7 +290,7 @@
|
|||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div data-role="panel" class="viewPanel peopleViewPanel" data-theme="a" data-position="right" data-display="overlay" data-position-fixed="true">
|
||||
<div data-role="panel" class="viewPanel peopleViewPanel hide" data-theme="a" data-position="right" data-display="overlay" data-position-fixed="true">
|
||||
<div class="ui-panel-inner">
|
||||
<form>
|
||||
|
||||
|
|
|
@ -136,7 +136,7 @@
|
|||
</neon-animated-pages>
|
||||
</div>
|
||||
|
||||
<div data-role="panel" class="viewPanel albumsViewPanel" data-theme="a" data-position="right" data-display="overlay" data-position-fixed="true">
|
||||
<div data-role="panel" class="viewPanel albumsViewPanel hide" data-theme="a" data-position="right" data-display="overlay" data-position-fixed="true">
|
||||
<div class="ui-panel-inner">
|
||||
<form>
|
||||
|
||||
|
@ -192,7 +192,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div data-role="panel" class="viewPanel artistsViewPanel" data-theme="a" data-position="right" data-display="overlay" data-position-fixed="true">
|
||||
<div data-role="panel" class="viewPanel artistsViewPanel hide" data-theme="a" data-position="right" data-display="overlay" data-position-fixed="true">
|
||||
<div class="ui-panel-inner">
|
||||
<form>
|
||||
|
||||
|
@ -227,7 +227,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div data-role="panel" class="viewPanel albumArtistsViewPanel" data-theme="a" data-position="right" data-display="overlay" data-position-fixed="true">
|
||||
<div data-role="panel" class="viewPanel albumArtistsViewPanel hide" data-theme="a" data-position="right" data-display="overlay" data-position-fixed="true">
|
||||
<div class="ui-panel-inner">
|
||||
<form>
|
||||
|
||||
|
@ -263,7 +263,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div data-role="panel" class="viewPanel songsViewPanel" data-theme="a" data-position="right" data-display="overlay" data-position-fixed="true">
|
||||
<div data-role="panel" class="viewPanel songsViewPanel hide" data-theme="a" data-position="right" data-display="overlay" data-position-fixed="true">
|
||||
<div class="ui-panel-inner">
|
||||
<form>
|
||||
|
||||
|
|
|
@ -361,7 +361,7 @@
|
|||
// on here
|
||||
$('.btnOrganize', page).taskButton({
|
||||
mode: 'on',
|
||||
progressElem: $('.organizeProgress', page),
|
||||
progressElem: page.querySelector('.organizeProgress'),
|
||||
panel: $('.organizeTaskPanel', page),
|
||||
taskKey: 'AutoOrganize'
|
||||
});
|
||||
|
|
|
@ -2520,6 +2520,11 @@
|
|||
|
||||
},
|
||||
|
||||
openViewPanel: function (btn, className) {
|
||||
|
||||
$('.' + className, jQuery(btn).parents('.page')).removeClass('hide').panel('toggle');
|
||||
},
|
||||
|
||||
getQueryPagingHtml: function (options) {
|
||||
|
||||
var startIndex = options.startIndex;
|
||||
|
@ -2583,7 +2588,7 @@
|
|||
//html += '<paper-button raised class="subdued notext"><iron-icon icon="view-comfy"></iron-icon></paper-button>';
|
||||
var viewPanelClass = options.viewPanelClass || 'viewPanel';
|
||||
var title = options.viewIcon == 'filter-list' ? Globalize.translate('ButtonFilter') : Globalize.translate('ButtonMenu');
|
||||
html += '<paper-icon-button title="' + title + '" icon="' + (options.viewIcon || AppInfo.moreIcon) + '" onclick="jQuery(\'.' + viewPanelClass + '\', jQuery(this).parents(\'.page\')).panel(\'toggle\');"></paper-icon-button>';
|
||||
html += '<paper-icon-button title="' + title + '" icon="' + (options.viewIcon || AppInfo.moreIcon) + '" onclick="LibraryBrowser.openViewPanel(this, \'' + viewPanelClass + '\');"></paper-icon-button>';
|
||||
}
|
||||
|
||||
html += '</div>';
|
||||
|
|
|
@ -24,70 +24,64 @@
|
|||
|
||||
var html = '';
|
||||
|
||||
for (var i = 0, length = tuners.length; i < length; i++) {
|
||||
if (tuners.length) {
|
||||
html += '<div class="paperList">';
|
||||
|
||||
var tuner = tuners[i];
|
||||
for (var i = 0, length = tuners.length; i < length; i++) {
|
||||
|
||||
html += '<tr>';
|
||||
var tuner = tuners[i];
|
||||
html += '<paper-icon-item>';
|
||||
|
||||
html += '<td>';
|
||||
html += tuner.Name;
|
||||
html += '</td>';
|
||||
html += '<paper-fab class="listAvatar" style="background:#52B54B;" icon="live-tv" item-icon></paper-fab>';
|
||||
|
||||
html += '<td>';
|
||||
html += tuner.SourceType;
|
||||
html += '</td>';
|
||||
html += '<paper-item-body two-line>';
|
||||
|
||||
html += '<td>';
|
||||
html += '<div>';
|
||||
html += tuner.Name;
|
||||
html += '</div>';
|
||||
|
||||
if (tuner.Status == 'RecordingTv') {
|
||||
if (tuner.ChannelName) {
|
||||
html += '<div secondary>';
|
||||
html += tuner.SourceType;
|
||||
html += '</div>';
|
||||
|
||||
html += '<a href="itemdetails.html?id=' + tuner.ChannelId + '">';
|
||||
html += Globalize.translate('StatusRecordingProgram').replace('{0}', tuner.ChannelName);
|
||||
html += '</a>';
|
||||
} else {
|
||||
html += '<div secondary>';
|
||||
if (tuner.Status == 'RecordingTv') {
|
||||
if (tuner.ChannelName) {
|
||||
|
||||
html += Globalize.translate('StatusRecording');
|
||||
html += '<a href="itemdetails.html?id=' + tuner.ChannelId + '">';
|
||||
html += Globalize.translate('StatusRecordingProgram').replace('{0}', tuner.ChannelName);
|
||||
html += '</a>';
|
||||
} else {
|
||||
|
||||
html += Globalize.translate('StatusRecording');
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (tuner.Status == 'LiveTv') {
|
||||
else if (tuner.Status == 'LiveTv') {
|
||||
|
||||
if (tuner.ChannelName) {
|
||||
if (tuner.ChannelName) {
|
||||
|
||||
html += '<a href="itemdetails.html?id=' + tuner.ChannelId + '">';
|
||||
html += Globalize.translate('StatusWatchingProgram').replace('{0}', tuner.ChannelName);
|
||||
html += '</a>';
|
||||
} else {
|
||||
html += '<a href="itemdetails.html?id=' + tuner.ChannelId + '">';
|
||||
html += Globalize.translate('StatusWatchingProgram').replace('{0}', tuner.ChannelName);
|
||||
html += '</a>';
|
||||
} else {
|
||||
|
||||
html += Globalize.translate('StatusWatching');
|
||||
html += Globalize.translate('StatusWatching');
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
html += tuner.Status;
|
||||
}
|
||||
html += '</td>';
|
||||
else {
|
||||
html += tuner.Status;
|
||||
}
|
||||
html += '</div>';
|
||||
|
||||
html += '<td>';
|
||||
|
||||
if (tuner.ProgramName) {
|
||||
html += tuner.ProgramName;
|
||||
html += '</paper-item-body>';
|
||||
html += '<paper-icon-button icon="refresh" data-tunerid="' + tuner.Id + '" title="' + Globalize.translate('ButtonResetTuner') + '" class="btnResetTuner"></paper-icon-button>';
|
||||
html += '</paper-icon-item>';
|
||||
}
|
||||
|
||||
html += '</td>';
|
||||
|
||||
html += '<td>';
|
||||
html += tuner.Clients.join('<br/>');
|
||||
html += '</td>';
|
||||
|
||||
html += '<td>';
|
||||
html += '<paper-icon-button data-tunerid="' + tuner.Id + '" icon="refresh" class="btnResetTuner" title="' + Globalize.translate('ButtonResetTuner') + '"></paper-icon-button>';
|
||||
html += '</td>';
|
||||
|
||||
html += '</tr>';
|
||||
html += '</div>';
|
||||
}
|
||||
|
||||
var elem = $('.tunersResultBody', page).html(html).parents('.tblTuners').table("refresh").trigger('create');
|
||||
var elem = $('.tunerList', page).html(html);
|
||||
|
||||
$('.btnResetTuner', elem).on('click', function () {
|
||||
|
||||
|
@ -498,6 +492,7 @@
|
|||
var page = this;
|
||||
|
||||
reload(page);
|
||||
|
||||
});
|
||||
|
||||
})(jQuery, document, window);
|
||||
|
|
|
@ -378,7 +378,7 @@ var WizardLibraryPage = {
|
|||
// on here
|
||||
$('.btnRefresh', page).taskButton({
|
||||
mode: 'on',
|
||||
progressElem: $('.refreshProgress', page),
|
||||
progressElem: page.querySelector('.refreshProgress'),
|
||||
lastResultElem: $('.lastRefreshResult', page),
|
||||
taskKey: 'RefreshLibrary'
|
||||
});
|
||||
|
|
|
@ -438,30 +438,38 @@
|
|||
Format: 'srt',
|
||||
Method: 'Embed'
|
||||
});
|
||||
//profile.SubtitleProfiles.push({
|
||||
// Format: 'ass',
|
||||
// Method: 'Embed'
|
||||
//});
|
||||
//profile.SubtitleProfiles.push({
|
||||
// Format: 'ssa',
|
||||
// Method: 'Embed'
|
||||
//});
|
||||
//profile.SubtitleProfiles.push({
|
||||
// Format: 'pgs',
|
||||
// Method: 'Embed'
|
||||
//});
|
||||
//profile.SubtitleProfiles.push({
|
||||
// Format: 'pgssub',
|
||||
// Method: 'Embed'
|
||||
//});
|
||||
//profile.SubtitleProfiles.push({
|
||||
// Format: 'dvdsub',
|
||||
// Method: 'Embed'
|
||||
//});
|
||||
profile.SubtitleProfiles.push({
|
||||
Format: 'ass',
|
||||
Method: 'Embed'
|
||||
});
|
||||
profile.SubtitleProfiles.push({
|
||||
Format: 'ssa',
|
||||
Method: 'Embed'
|
||||
});
|
||||
profile.SubtitleProfiles.push({
|
||||
Format: 'pgs',
|
||||
Method: 'Embed'
|
||||
});
|
||||
profile.SubtitleProfiles.push({
|
||||
Format: 'pgssub',
|
||||
Method: 'Embed'
|
||||
});
|
||||
profile.SubtitleProfiles.push({
|
||||
Format: 'dvdsub',
|
||||
Method: 'Embed'
|
||||
});
|
||||
profile.SubtitleProfiles.push({
|
||||
Format: 'vtt',
|
||||
Method: 'Embed'
|
||||
});
|
||||
profile.SubtitleProfiles.push({
|
||||
Format: 'sub',
|
||||
Method: 'Embed'
|
||||
});
|
||||
profile.SubtitleProfiles.push({
|
||||
Format: 'idx',
|
||||
Method: 'Embed'
|
||||
});
|
||||
} else {
|
||||
profile.SubtitleProfiles.push({
|
||||
Format: 'vtt',
|
||||
|
@ -733,7 +741,7 @@
|
|||
|
||||
if (positionSlider) {
|
||||
|
||||
positionSlider.disabled = !canClientSeek;
|
||||
positionSlider.disabled = !((self.currentDurationTicks || 0) > 0 || canClientSeek);
|
||||
}
|
||||
|
||||
if (currentTimeElement) {
|
||||
|
|
|
@ -317,7 +317,7 @@
|
|||
// on here
|
||||
$('.btnSync', page).taskButton({
|
||||
mode: 'on',
|
||||
progressElem: $('.syncProgress', page),
|
||||
progressElem: page.querySelector('.syncProgress'),
|
||||
taskKey: 'SyncPrepare'
|
||||
});
|
||||
|
||||
|
|
|
@ -39,12 +39,12 @@ $.fn.taskButton = function (options) {
|
|||
var progress = (task.CurrentProgressPercentage || 0).toFixed(1);
|
||||
|
||||
if (options.progressElem) {
|
||||
var progressElem = options.progressElem.val(progress);
|
||||
options.progressElem.value = progress;
|
||||
|
||||
if (task.State == 'Running') {
|
||||
progressElem.show();
|
||||
options.progressElem.classList.remove('hide');
|
||||
} else {
|
||||
progressElem.hide();
|
||||
options.progressElem.classList.add('hide');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -278,6 +278,11 @@ paper-fab {
|
|||
height: 22px;
|
||||
}
|
||||
|
||||
paper-fab.mini iron-icon {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
paper-fab.subdued {
|
||||
background: #404040;
|
||||
color: #fff;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue