<!--
  ~ Copyright (C) 2000 - 2026 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"
             xmlns:components="urn:import:org.silverpeas.mobile.client.components"
             xmlns:w="urn:import:org.silverpeas.mobile.client.components.base.widgets">

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

  <g:HTMLPanel ui:field="container" styleName="ui-panel ui-panel-position-left ui-panel-display-push ui-body-inherit ui-panel-animate ui-panel-close">
    <div class="ui-panel-inner">
      <g:HTMLPanel ui:field="user">
        <w:AvatarUpload ui:field="avatar"/>
        <span id="userName"></span>
        <br /><span class="statut"><span ui:field="status"></span><g:Anchor  ui:field="updateStatus" styleName="edit-my-statut" text="{msg.editStatus}"></g:Anchor></span>
      </g:HTMLPanel>

      <div id="menu-search">
        <g:TextBox ui:field="search" styleName="searchBox"/>
        <a ui:field="searchButton" class="searchButton"></a>
      </div>

      <ul id="navmenu-panel">
        <li id="menu-usercalendar">
          <span ui:field="iconUserCalendar"></span>
          <g:Anchor ui:field="calendar" styleName="ui-link" text="{msg.usercalendar}"/>
        </li>
        <li id="menu-notificationsbox">
          <span ui:field="iconInbox"></span>
          <g:Anchor ui:field="notifications" styleName="ui-link" text="{msg.notifications}"/>
        </li>
        <li id="menu-sharesbox">
          <span ui:field="iconShareBox"></span>
          <g:Anchor ui:field="shares" styleName="ui-link" text="{msg.shares}"/>
        </li>
      </ul>

      <components:UnorderedList ui:field="listApplications" />

      <ul id="actions-menu">
        <li id="menu-home">
          <span ui:field="iconHome"></span>
          <g:Anchor ui:field="home" styleName="ui-link" text="{msg.home}"/>
        </li>
        <li id="menu-parameter">
          <span ui:field="iconSettings"></span>
          <g:Anchor ui:field="config" styleName="ui-link" text="{msg.config}"/>
        </li>
        <li id="menu-help">
          <span ui:field="iconHelp"></span>
          <g:Anchor ui:field="help" styleName="ui-link" text="{msg.help}"/>
        </li>
        <li id="menu-logout">
          <span ui:field="iconLogout"></span>
          <g:Anchor ui:field="disconnect" styleName="ui-link" text="{msg.disconnect}"/>
        </li>
      </ul>
    </div>
  </g:HTMLPanel>

</ui:UiBinder> 