<!--
  ~ 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/>.
  -->

<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.apps.config.resources.ConfigMessages'/>

  <g:HTMLPanel ui:field="container" styleName="ui-content ui-body-a">

  <g:HTMLPanel stylePrimaryName="last-publication-bloc bloc">
    <h3 class="title-bloc-part ui-title"><ui:text from="{msg.homePage}"/></h3>
    <ul class="ui-listview ui-listview-inset ui-corner-all ui-shadow config">
      <li class="actuality">
        <a class="ui-btn">
        <g:CheckBox ui:field="newsDisplay" text="{msg.lastNews}"></g:CheckBox>
        </a>
      </li>
      <li class="publication">
        <a class="ui-btn">
          <g:CheckBox ui:field="lastPublicationsDisplay" text="{msg.lastPublications}"></g:CheckBox>
        </a>
      </li>
      <li class="event">
        <a class="ui-btn">
          <g:CheckBox ui:field="lastEventsDisplay" text="{msg.events}"></g:CheckBox>
        </a>
      </li>
      <li class="favoris">
        <a class="ui-btn">
          <g:CheckBox ui:field="favoritesDisplay" text="{msg.favorites}"></g:CheckBox>
        </a>
      </li>
      <li class="shortcut">
        <a class="ui-btn">
          <g:CheckBox ui:field="shortCutsDisplay" text="{msg.shortcurts}"></g:CheckBox>
        </a>
      </li>
      <li class="shortcutools">
        <a class="ui-btn">
          <g:CheckBox ui:field="shortCutsToolsDisplay" text="{msg.tools}"></g:CheckBox>
        </a>
      </li>
    </ul>
    <h3 class="title-bloc-part ui-title"><ui:text from="{msg.fontSize}"/></h3>
    <input type="range" ui:field="fontSize" class="font-percent-size"></input>

    <h3 class="title-bloc-part ui-title"><ui:text from="{msg.filters}"/></h3>
    <span class="filters">
      <g:RadioButton ui:field="standard" name="filters" stylePrimaryName="filter"><ui:text from="{msg.standard}"/></g:RadioButton>
      <g:RadioButton ui:field="grayscale" name="filters" stylePrimaryName="filter"><ui:text from="{msg.grayscale}" /></g:RadioButton>
      <g:RadioButton ui:field="sepia" name="filters" stylePrimaryName="filter"><ui:text from="{msg.sepia}" /></g:RadioButton>
      <g:RadioButton ui:field="inverse" name="filters" stylePrimaryName="filter"><ui:text from="{msg.inverse}" /></g:RadioButton>
    </span>

  </g:HTMLPanel>
  </g:HTMLPanel>

</ui:UiBinder>

