File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -405,6 +405,7 @@ module openflow {
405405 public username : string = "" ;
406406 public password : string = "" ;
407407 public message : string = "" ;
408+ public domain : string = "" ;
408409 public static $inject = [
409410 "$scope" ,
410411 "$location" ,
@@ -418,6 +419,7 @@ module openflow {
418419 public WebSocketClient : WebSocketClient
419420 ) {
420421 console . log ( "LoginCtrl::constructor" ) ;
422+ this . domain = window . location . hostname ;
421423 WebSocketClient . getJSON ( "/loginproviders" , async ( error : any , data : any ) => {
422424 this . providers = data ;
423425 for ( var i : number = this . providers . length - 1 ; i >= 0 ; i -- ) {
Original file line number Diff line number Diff line change 33 < div class ="col-sm-9 col-md-7 col-lg-5 mx-auto ">
44 < div class ="card card-signin my-5 ">
55 < div class ="card-body ">
6- < h5 class ="card-title text-center " translate lib ="web "> signin</ h5 >
6+ < h5 class ="card-title text-center "> < span translate lib ="web "> signin</ span > {{ctrl.domain}}</ h5 >
7+ </ h5 >
78 < form class ="form-signin " ngNoForm method ='post ' action ='/local '>
89 < div class ="form-label-group " ng-show ="ctrl.localenabled ">
910 < input type ="text " name ="username " ng-model ="ctrl.username " class ="form-control " placeholder ="Username "
You can’t perform that action at this time.
0 commit comments