mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
update directoryBrowser
This commit is contained in:
parent
3dbde84cda
commit
db88b76db6
@ -134,7 +134,7 @@
|
||||
html += '<br/>';
|
||||
html += Globalize.translate('MessageDirectoryPickerLinuxInstruction');
|
||||
html += '<br/>';
|
||||
html += '<a href="http://doc.freenas.org/9.3/freenas_jails.html#add-storage" target="_blank">' + Globalize.translate('ButtonMoreInformation') + '</a>';
|
||||
//html += '<a href="http://doc.freenas.org/9.3/freenas_jails.html#add-storage" target="_blank">' + Globalize.translate('ButtonMoreInformation') + '</a>';
|
||||
}
|
||||
|
||||
html += '</p>';
|
||||
|
@ -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="scripts/livetvstatus">
|
||||
<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,scripts/taskbutton">
|
||||
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
@ -41,12 +41,18 @@
|
||||
<p>${AddGuideProviderHelp}</p>
|
||||
<div class="providerList">
|
||||
</div>
|
||||
<div>
|
||||
|
||||
<paper-button raised class="btnRefresh block"><iron-icon icon="refresh"></iron-icon><span>${ButtonRefreshGuideData}</span></paper-button>
|
||||
<progress max="100" min="0" style="width: 100%;" class="refreshGuideProgress"></progress>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<h1>${HeaderTvTuners}</h1>
|
||||
<div class="tunerSection hide">
|
||||
<h1>${HeaderTvTuners}</h1>
|
||||
|
||||
<div class="tunerList">
|
||||
<div class="tunerList">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -27,7 +27,9 @@
|
||||
|
||||
var html = '';
|
||||
|
||||
html += '<div class="paperList">';
|
||||
if (devices.length) {
|
||||
html += '<div class="paperList">';
|
||||
}
|
||||
|
||||
html += devices.map(function (d) {
|
||||
|
||||
@ -65,7 +67,9 @@
|
||||
|
||||
}).join('');
|
||||
|
||||
html += '</div>';
|
||||
if (devices.length) {
|
||||
html += '</div>';
|
||||
}
|
||||
|
||||
var elem = $('.devicesList', page).html(html).trigger('create');
|
||||
|
||||
|
@ -375,7 +375,7 @@
|
||||
items.push({
|
||||
name: Globalize.translate('ButtonSync'),
|
||||
id: 'sync',
|
||||
ironIcon: 'refresh'
|
||||
ironIcon: 'sync'
|
||||
});
|
||||
}
|
||||
|
||||
@ -1257,7 +1257,7 @@
|
||||
items.push({
|
||||
name: Globalize.translate('ButtonSync'),
|
||||
id: 'sync',
|
||||
ironIcon: 'refresh'
|
||||
ironIcon: 'sync'
|
||||
});
|
||||
|
||||
require(['actionsheet'], function () {
|
||||
|
@ -81,6 +81,12 @@
|
||||
html += '</div>';
|
||||
}
|
||||
|
||||
if (tuners.length) {
|
||||
page.querySelector('.tunerSection').classList.remove('hide');
|
||||
} else {
|
||||
page.querySelector('.tunerSection').classList.add('hide');
|
||||
}
|
||||
|
||||
var elem = $('.tunerList', page).html(html);
|
||||
|
||||
$('.btnResetTuner', elem).on('click', function () {
|
||||
@ -493,6 +499,22 @@
|
||||
|
||||
reload(page);
|
||||
|
||||
// on here
|
||||
$('.btnRefresh', page).taskButton({
|
||||
mode: 'on',
|
||||
progressElem: page.querySelector('.refreshGuideProgress'),
|
||||
taskKey: 'RefreshGuide'
|
||||
});
|
||||
|
||||
}).on('pagehide', "#liveTvStatusPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
// off here
|
||||
$('.btnRefreshGuide', page).taskButton({
|
||||
mode: 'off'
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
})(jQuery, document, window);
|
||||
|
@ -32,8 +32,11 @@
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<div class="ui-controlgroup-label" style="display:inline-block;">${LabelBlockContentWithTags}</div>
|
||||
<paper-fab class="btnAddBlockedTag mini" icon="add" title="${ButtonAdd}" style="margin-left:1em;"></paper-fab>
|
||||
<h1 style="display:inline-block;vertical-align:middle;">${LabelBlockContentWithTags}</h1>
|
||||
<paper-button raised class="btnAddBlockedTag submit mini" style="margin-left:1em;" title="${ButtonAdd}">
|
||||
<iron-icon icon="add"></iron-icon>
|
||||
<span>${ButtonAdd}</span>
|
||||
</paper-button>
|
||||
</div>
|
||||
<div class="blockedTags" style="margin-top:.5em;">
|
||||
|
||||
@ -61,8 +64,6 @@
|
||||
<button type="submit" data-role="none" class="clearButton">
|
||||
<paper-button raised class="submit block"><iron-icon icon="check"></iron-icon><span>${ButtonSave}</span></paper-button>
|
||||
</button>
|
||||
|
||||
<paper-button raised class="cancel block btnCancel" onclick="history.back();"><iron-icon icon="close"></iron-icon><span>${ButtonCancel}</span></paper-button>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user