mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixed notification styles for ie
This commit is contained in:
parent
d2077f43d4
commit
120a1b467d
4 changed files with 13 additions and 7 deletions
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="fieldDescription">This will be ignored by the web client on localhost. When disabled clients may present a login screen with a visual selection of users.</div>
|
<div class="fieldDescription">When disabled clients may present a login screen with a visual selection of users.</div>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
|
|
|
@ -178,6 +178,10 @@
|
||||||
.notificationsFlyout {
|
.notificationsFlyout {
|
||||||
width: 450px;
|
width: 450px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.notificationContent p {
|
||||||
|
max-width: 350px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (min-width: 600px) {
|
@media all and (min-width: 600px) {
|
||||||
|
@ -189,4 +193,8 @@
|
||||||
width: 60px;
|
width: 60px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.notificationContent p {
|
||||||
|
max-width: 400px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$('#loginForm').on('submit', LoginPage.onSubmit);
|
$('.loginForm').on('submit', LoginPage.onSubmit);
|
||||||
$('#manualLoginForm').on('submit', LoginPage.onManualSubmit);
|
$('#manualLoginForm').on('submit', LoginPage.onManualSubmit);
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
onPageShow: function () {
|
onPageShow: function () {
|
||||||
Dashboard.showLoadingMsg();
|
Dashboard.showLoadingMsg();
|
||||||
|
|
||||||
var promise1 = ApiClient.getPublicUsers();
|
// Show all users on localhost
|
||||||
|
var promise1 = window.location.toString().toLowerCase().indexOf('localhost') == -1 ? ApiClient.getPublicUsers() : ApiClient.getUsers({ IsDisabled: false });
|
||||||
var promise2 = ApiClient.getServerConfiguration();
|
var promise2 = ApiClient.getServerConfiguration();
|
||||||
|
|
||||||
$.when(promise1, promise2).done(function (response1, response2) {
|
$.when(promise1, promise2).done(function (response1, response2) {
|
||||||
|
@ -17,9 +18,6 @@
|
||||||
|
|
||||||
}).length || !users.length;
|
}).length || !users.length;
|
||||||
|
|
||||||
// Always display users on localhost, just in case they forgot
|
|
||||||
showManualForm &= window.location.toString().toLowerCase().indexOf('localhost') == -1;
|
|
||||||
|
|
||||||
if (showManualForm) {
|
if (showManualForm) {
|
||||||
|
|
||||||
$('#divUsers', '#loginPage').hide();
|
$('#divUsers', '#loginPage').hide();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue