mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
improve user view images
This commit is contained in:
parent
132a02a48d
commit
6b72ea474c
19 changed files with 325 additions and 224 deletions
|
@ -2,28 +2,7 @@
|
|||
|
||||
function onLoggedIn() {
|
||||
|
||||
ConnectionManager.connect().done(function (result) {
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
|
||||
switch (result.State) {
|
||||
|
||||
case MediaBrowser.ConnectionState.Unavilable:
|
||||
// Login succeeded so this should never happen
|
||||
break;
|
||||
case MediaBrowser.ConnectionState.ServerSelection:
|
||||
window.location = 'selectserver.html';
|
||||
break;
|
||||
case MediaBrowser.ConnectionState.ServerSignIn:
|
||||
// This should never happen in connect mode
|
||||
break;
|
||||
case MediaBrowser.ConnectionState.SignedIn:
|
||||
window.location = 'selectserver.html';
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
});
|
||||
window.location = 'selectserver.html';
|
||||
}
|
||||
|
||||
function login(page, username, password) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue