File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
bmclapi_dashboard/static/js Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1- v1.0.23
1+ v1.0.24
Original file line number Diff line number Diff line change @@ -2381,22 +2381,24 @@ class Authentication {
23812381 this . username = null
23822382 this . avatar = null
23832383 this . _input = {
2384- username : app . createElement ( "input" ) ,
2384+ username : app . createElement ( "input" ) . setAttribute ( "placeholder" , "用户名" ) ,
23852385 password : app . createElement ( "input" ) ,
23862386 captcha : {
23872387 image : app . createElement ( "img" ) ,
23882388 input : app . createElement ( "input" )
23892389 } ,
23902390 label : app . createElement ( "p" ) ,
2391- auth : app . createElement ( "button" ) . setI18N ( "dashboard.auth.login" )
2391+ auth : app . createElement ( "button" ) . setI18N ( "dashboard.auth.login" ) ,
2392+ forever : app . createElement ( "button" ) . setAttribute ( "type" , "checkbox" )
23922393 }
23932394 this . _captcha = app . createElement ( "div" )
23942395 this . _container = app . createElement ( "div" ) . class ( "panel-auth" ) . append (
23952396 this . _input . username ,
23962397 this . _input . password ,
23972398 this . _captcha ,
23982399 this . _input . label ,
2399- this . _input . auth
2400+ this . _input . auth ,
2401+ this . _input . forever ,
24002402 )
24012403 this . _Styles = {
24022404 ".panel-auth" : `
Original file line number Diff line number Diff line change @@ -931,7 +931,6 @@ async def __call__(
931931 if bound :
932932 break
933933 if (self ._headers .get ("Connection" ) or "keep-alive" ).lower () == "closed" :
934- print ("a" )
935934 client .close ()
936935
937936
You can’t perform that action at this time.
0 commit comments