mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix recording button
This commit is contained in:
parent
02b433a97f
commit
c73ed976d9
30 changed files with 165 additions and 129 deletions
|
@ -69,7 +69,7 @@
|
|||
html += '<div class="cardImage" style="text-align:center;">';
|
||||
|
||||
var icon = server.Id == 'new' ? 'plus-circle' : 'server';
|
||||
html += '<i class="fa fa-' + icon + '" style="color:#fff;vertical-align:middle;font-size:100px;"></i>';
|
||||
html += '<i class="fa fa-' + icon + '" style="color:#fff;vertical-align:middle;font-size:100px;margin-top:40px;"></i>';
|
||||
}
|
||||
|
||||
html += "</div>";
|
||||
|
@ -306,7 +306,7 @@
|
|||
html += '<a class="cardContent" href="' + href + '">';
|
||||
|
||||
html += '<div class="cardImage" style="text-align:center;">';
|
||||
html += '<i class="fa fa-globe" style="color:#fff;vertical-align:middle;font-size:100px;"></i>';
|
||||
html += '<i class="fa fa-globe" style="color:#fff;vertical-align:middle;font-size:100px;margin-top:40px;"></i>';
|
||||
html += "</div>";
|
||||
|
||||
// cardContent
|
||||
|
@ -385,15 +385,6 @@
|
|||
|
||||
servers = servers.slice(0);
|
||||
|
||||
if (AppInfo.isNativeApp) {
|
||||
servers.push({
|
||||
Name: Globalize.translate('ButtonNewServer'),
|
||||
Id: 'new',
|
||||
showOptions: false,
|
||||
href: 'connectlogin.html?mode=manualserver'
|
||||
});
|
||||
}
|
||||
|
||||
renderServers(page, servers);
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
|
@ -415,6 +406,12 @@
|
|||
} else {
|
||||
$(page).removeClass('libraryPage').removeClass('noSecondaryNavPage').addClass('standalonePage');
|
||||
}
|
||||
|
||||
if (AppInfo.isNativeApp) {
|
||||
$('.addServer', page).show();
|
||||
} else {
|
||||
$('.addServer', page).hide();
|
||||
}
|
||||
}
|
||||
|
||||
$(document).on('pageinitdepends pagebeforeshowready', "#selectServerPage", function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue