mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix placeholder message style
This commit is contained in:
parent
532d73a80b
commit
1b23895e81
3 changed files with 9 additions and 12 deletions
|
@ -220,6 +220,12 @@
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.centerMessage {
|
||||||
|
margin: auto;
|
||||||
|
width: 30%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.layout-desktop .searchTabButton,
|
.layout-desktop .searchTabButton,
|
||||||
.layout-mobile .searchTabButton,
|
.layout-mobile .searchTabButton,
|
||||||
.layout-tv .headerSearchButton {
|
.layout-tv .headerSearchButton {
|
||||||
|
|
|
@ -104,24 +104,17 @@ define(['playbackManager', 'userSettings', 'alphaPicker', 'alphaNumericShortcuts
|
||||||
}
|
}
|
||||||
|
|
||||||
function showSortMenu() {
|
function showSortMenu() {
|
||||||
|
|
||||||
var instance = this;
|
var instance = this;
|
||||||
|
|
||||||
require(['sortMenu'], function (SortMenu) {
|
require(['sortMenu'], function (SortMenu) {
|
||||||
|
|
||||||
new SortMenu().show({
|
new SortMenu().show({
|
||||||
|
|
||||||
settingsKey: instance.getSettingsKey(),
|
settingsKey: instance.getSettingsKey(),
|
||||||
settings: instance.getSortValues(),
|
settings: instance.getSortValues(),
|
||||||
onChange: instance.itemsContainer.refreshItems.bind(instance.itemsContainer),
|
onChange: instance.itemsContainer.refreshItems.bind(instance.itemsContainer),
|
||||||
serverId: instance.params.serverId,
|
serverId: instance.params.serverId,
|
||||||
sortOptions: instance.getSortMenuOptions()
|
sortOptions: instance.getSortMenuOptions()
|
||||||
|
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
|
|
||||||
updateSortText(instance);
|
updateSortText(instance);
|
||||||
updateAlphaPickerState(instance);
|
updateAlphaPickerState(instance);
|
||||||
|
|
||||||
instance.itemsContainer.refreshItems();
|
instance.itemsContainer.refreshItems();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -45,11 +45,9 @@
|
||||||
<div class="pageTabContent" id="upcomingTab" data-index="3">
|
<div class="pageTabContent" id="upcomingTab" data-index="3">
|
||||||
<div id="upcomingItems">
|
<div id="upcomingItems">
|
||||||
</div>
|
</div>
|
||||||
<div class="noItemsMessage" style="display: none;">
|
<div class="noItemsMessage centerMessage" style="display: none;">
|
||||||
<p>${MessageNothingHere}</p>
|
<h1>${MessageNothingHere}</h1>
|
||||||
<p>
|
<p>${MessagePleaseEnsureInternetMetadata}</p>
|
||||||
<a href="library.html">${MessagePleaseEnsureInternetMetadata}</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="pageTabContent" id="genresTab" data-index="4">
|
<div class="pageTabContent" id="genresTab" data-index="4">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue