<!--
  ~ Copyright (C) 2000 - 2025 Silverpeas
  ~
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU Affero General Public License as
  ~ published by the Free Software Foundation, either version 3 of the
  ~ License, or (at your option) any later version.
  ~
  ~ As a special exception to the terms and conditions of version 3.0 of
  ~ the GPL, you may redistribute this Program in connection with Free/Libre
  ~ Open Source Software ("FLOSS") applications as described in Silverpeas's
  ~ FLOSS exception.  You should have received a copy of the text describing
  ~ the FLOSS exception, and it is also available here:
  ~ "https://www.silverpeas.org/legal/floss_exception.html"
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU Affero General Public License for more details.
  ~
  ~ You should have received a copy of the GNU Affero General Public License
  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  -->

<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
             xmlns:g="urn:import:com.google.gwt.user.client.ui">

  <ui:with field='msg'
           type='org.silverpeas.mobile.client.resources.ApplicationMessages' />

  <g:HTMLPanel>
    <div id="header">
      <h1 id="page-login-title"><ui:safehtml from="{msg.loginTitle}"/></h1>
    </div>

    <div id="page-login" class="ui-content ui-body-a">
      <g:FormPanel ui:field="form">
        <g:HTMLPanel>
        <div id="login-formLogin">
          <g:TextBox ui:field="loginField" focus="true" name="Login"/>
        </div>
        <div id="password-formLogin">
          <g:PasswordTextBox ui:field="passwordField" name="Password"/>
        </div>
        <div id="password-visibility">
          <g:InlineHTML ui:field="labelTooglePasswordView" text="{msg.showPwd}"/>
          <g:CheckBox ui:field="tooglePasswordView" stylePrimaryName="checkbox-wrapper"/>
        </div>

        <div id="domain-formLogin">
          <g:ListBox ui:field="domains" name="DomainId"/>
        </div>
        <div class=" ui-controlgroup ui-controlgroup-horizontal">
          <div class="ui-controlgroup-controls ">
            <g:Anchor ui:field="go" styleName="submit btn-validate ui-link">
              <span class="ui-btn-text"><ui:safehtml from="{msg.loginLabel}"/></span>
            </g:Anchor>
          </div>
        </div>
        <div id="copyright">
          <ui:safehtml from="{msg.copyright}"/>
        </div>
        <div ui:field="version"></div>
        </g:HTMLPanel>
      </g:FormPanel>
    </div>


  </g:HTMLPanel>




</ui:UiBinder> 