1
0
Fork 0
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:
Luke Pulverenti 2013-07-15 21:36:18 -04:00
parent d2077f43d4
commit 120a1b467d
4 changed files with 13 additions and 7 deletions

View file

@ -27,7 +27,7 @@
</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 />

View file

@ -178,6 +178,10 @@
.notificationsFlyout {
width: 450px;
}
.notificationContent p {
max-width: 350px;
}
}
@media all and (min-width: 600px) {
@ -189,4 +193,8 @@
width: 60px;
height: 60px;
}
.notificationContent p {
max-width: 400px;
}
}

View file

@ -49,7 +49,7 @@
</div>
<script type="text/javascript">
$('#loginForm').on('submit', LoginPage.onSubmit);
$('.loginForm').on('submit', LoginPage.onSubmit);
$('#manualLoginForm').on('submit', LoginPage.onManualSubmit);
</script>
</div>

View file

@ -3,7 +3,8 @@
onPageShow: function () {
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();
$.when(promise1, promise2).done(function (response1, response2) {
@ -17,9 +18,6 @@
}).length || !users.length;
// Always display users on localhost, just in case they forgot
showManualForm &= window.location.toString().toLowerCase().indexOf('localhost') == -1;
if (showManualForm) {
$('#divUsers', '#loginPage').hide();