Github user ilgrosso commented on a diff in the pull request:

    https://github.com/apache/syncope/pull/22#discussion_r67326414
  
    --- Diff: 
client/enduser/src/main/resources/META-INF/resources/app/views/self.html ---
    @@ -24,62 +24,39 @@
     
         <title>Apache Syncope Enduser - Login</title>
       </head>
    -
       <body>
    -
         <div ng-cloak class="container">
    -
    -      <div id="login-container" ng-controller="LoginController"  
style="box-sizing: border-box; ">
    -
    -        <!--        <div id="logo">
    -                  <a href="/">
    -                    <img class="login-logo" src="img/logo-green.png" />
    -                  </a>
    -                </div>-->
    +      <div id="login-container" ng-controller="LoginController"  
ng-init="init" style="box-sizing: border-box; ">
             <div id="login" class="card card-container">
               <div>
    -            <!--<div id="language" class="form-group" 
ng-controller="LanguageController" ng-init="init()">
    -              <div id="languageContainer" class="col-xs-2">
    -
    -                <select class="form-control" ng-options="language.name for 
language in languages.availableLanguages track by language.id"
    -                        ng-model="languages.selectedLanguage" ></select>
    -
    -              </div>
    -            </div>-->
    -
                 <img class="login-logo" src="img/logo-green.png" />
    -
                 <div id="login-form" class="form">              
                 </div>
    -
                 <form id="login-form" class="form form-signin" novalidate>
    -
                   <fieldset class="form-group input-group">
    -
                     <div class="form-group">
                       <input autofocus="autofocus" type="text" 
class="form-control" id="login-username" placeholder="Username"
                              ng-required ng-model="credentials.username" 
placeholder="username">
                     </div>
    -
                     <div class="form-group">
                       <input type="password" class="form-control" 
id="login-password" placeholder="Password" 
                              ng-required ng-model="credentials.password" 
placeholder="password">
                     </div>
    -
                     <div class="form-group">
    -
    +                  <select  ng-change="switchLanguage()" id="language" 
style="width: 100%" class="btn dropdown-toggle btn-default" 
    +                           ng-options="language.name for language in 
languages.availableLanguages track by language.id" 
    +                           ng-model="languages.selectedLanguage"></select>
    +                </div>                
    +                <div class="form-group">
                       <button type="submit" id="login-btn" class="btn 
btn-default btn-signin login-btn" 
                               ng-click="login(credentials)">Login</button>
                     </div>
                   </fieldset>
                 </form>
    -
               </div>
    -
             </div>
             <div class="text-center" ng-show="$root.isSelfRegAllowed()">
    -          <a href="javascript:void(0);" class="btn btn-link" 
ng-click="selfCreate()">Self Registration</a>
    -
    +          <a href="javascript:void(0);" class="btn btn-link" 
ng-click="selfCreate()">{{ 'SELFREGISTRATION' | translate}}</a>
               <!--      <div id="initialLoaderDiv">
    --- End diff --
    
    Can you continue removing such commented code?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to