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 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 />
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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();
|
||||
|
@ -71,7 +69,7 @@
|
|||
ApiClient.authenticateUserByName(username, password).done(function (result) {
|
||||
|
||||
var user = result.User;
|
||||
|
||||
|
||||
Dashboard.setCurrentUser(user.Id);
|
||||
|
||||
if (user.Configuration.IsAdministrator) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue