File tree 1 file changed +10
-8
lines changed
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,17 @@ async function UIWindowSessionList(options){
28
28
return new Promise ( async ( resolve ) => {
29
29
let h = '' ;
30
30
h += `<div style="margin:10px;">` ;
31
- h += `<div class="loading">${ i18n ( 'signing_in' ) } </div>`
32
- h += `<div style="overflow-y: scroll; max-width: 400px; margin: 0 auto;">` ;
33
- h += `<h1 style="text-align: center; font-size: 18px; font-weight: normal; color: #757575;"><img src="${ window . icons [ 'logo-white.svg' ] } " style="padding: 4px; background-color: blue; border-radius: 5px; width: 25px; box-sizing: border-box; margin-bottom: -6px; margin-right: 6px;">${ i18n ( 'sign_in_with_puter' ) } </h1>`
34
- for ( let index = 0 ; index < window . logged_in_users . length ; index ++ ) {
35
- const l_user = window . logged_in_users [ index ] ;
36
- h += `<div data-uuid="${ l_user . uuid } " class="session-entry">${ l_user . username } </div>` ;
37
- }
31
+ // loading indicator
32
+ h += `<div class="loading">${ i18n ( 'signing_in' ) } </div>` ;
33
+ // session list
34
+ h += `<div class="hide-scrollbar" style="overflow-y: scroll; max-width: 400px; margin: 0 auto;">` ;
35
+ h += `<h1 style="text-align: center; font-size: 18px; font-weight: normal; color: #757575;"><img src="${ window . icons [ 'logo-white.svg' ] } " style="padding: 4px; background-color: blue; border-radius: 5px; width: 25px; box-sizing: border-box; margin-bottom: -6px; margin-right: 6px;">${ i18n ( 'sign_in_with_puter' ) } </h1>`
36
+ for ( let index = 0 ; index < window . logged_in_users . length ; index ++ ) {
37
+ const l_user = window . logged_in_users [ index ] ;
38
+ h += `<div data-uuid="${ l_user . uuid } " class="session-entry">${ l_user . username } </div>` ;
39
+ }
38
40
h += `</div>` ;
39
-
41
+ // c2a
40
42
h += `<div style="margin-top: 20px; margin-bottom: 20px; text-align:center;"><span class="login-c2a-session-list">Log Into Another Account</span> • <span class="signup-c2a-session-list">${ i18n ( 'create_account' ) } </span></div>` ;
41
43
h += `</div>` ;
42
44
You can’t perform that action at this time.
0 commit comments