All Downloads are FREE. Search and download functionalities are using the official Maven repository.

application.awe-react.screen.home-topbar.xml Maven / Gradle / Ivy

There is a newer version: 0.0.12
Show newest version
<?xml version="1.0" encoding="UTF-8"?>

<!--
    Document   : home.xml
    Created on : 8 de febrero de 2010, 16:30
    Author     : Pablo GARCIA
    Description: New Home page (Menu and Report)
-->
<screen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://aweframework.gitlab.io/awe/docs/schemas/screen.xsd" template="full" onload="MgrUsrLogIn">

  <!--
  SAMPLE DEFAULT PARAMETER LOADING
  target="SesPrm" -->

  <!-- Center Zone: Show menu and reports -->
  <tag source="center">
    <tag type="div" id="page-home" style="expand" expandible="vertical">
      <tag type="div" style="layout-header flex">
        <tag type="div" style="layout-header-left">
          <tag type="h1" style="application-logo">
            <tag type="span" label="APP_CLIENT"/>
          </tag>
        </tag>
        <tag type="div" style="layout-header-right ml-auto">
          <!-- Profile -->
          <tag type="ul" style="navbar p-2">
            <include target-screen="notification-panel" target-source="notification-panel"/>
            <info id="ButSetTog" icon="cog" title="SCREEN_TEXT_SETTINGS" dropdown-style="dropdown-lg">
              <info-criteria icon="puzzle-piece" title="SCREEN_TEXT_MODULE" component="select" id="module"
                             initial-load="query" target-action="ModNamByOpeSel" session="module"
                             style="col-xs-12 no-label" info-style="form-group">
                <dependency>
                  <dependency-element id="module"/>
                  <dependency-action type="server" server-action="maintain-silent" target-action="SesVarMod" silent="true"/>
                  <dependency-action type="server" server-action="refresh-menu" silent="true"/>
                </dependency>
              </info-criteria>
              <info-criteria icon="sitemap" title="SCREEN_TEXT_SITE" component="select" id="site" initial-load="query"
                             target-action="SitNamByOpeSel" session="site" style="col-xs-12 no-label"
                             info-style="form-group">
                <dependency>
                  <dependency-element id="site"/>
                  <dependency-action type="server" server-action="maintain-silent" target-action="SesVarSit"/>
                  <dependency-action type="server" server-action="data" target-action="DbsAlsBySitModSel"
                                     target="_database_"/>
                </dependency>
              </info-criteria>
              <info-criteria icon="database" title="SCREEN_TEXT_DBS" component="select" id="_database_"
                             initial-load="query" target-action="DbsAlsBySitModSel" session="database"
                             style="col-xs-12 no-label"
                             info-style="form-group">
                <dependency>
                  <dependency-element id="_database_"/>
                  <dependency-action type="server" server-action="maintain-silent" target-action="SesVarDbs"
                                     silent="true"/>
                </dependency>
              </info-criteria>
            </info>
            <info id="ButSetAutRef" icon="refresh" title="SCREEN_TEXT_REFRESH_SETTINGS"
                  dropdown-style="dropdown-lg padding-xs-hr">
              <info-criteria id="RefreshTime" icon="clock-o" title="SCREEN_TEXT_REFRESH_TIME"
                             placeholder="SCREEN_TEXT_TIME_SECONDS" component="numeric" style="col-xs-12 no-label"
                             info-style="col-xs-10 no-padding-hr"/>
              <info-button id="ButPauseRefresh" title="BUTTON_PAUSE" icon="pause"
                           info-style="navbar-form-awe col-xs-2 no-padding-hr" style="no-padding">
                <button-action type="remove-class" target="#ButSetAutRef .fa-refresh" target-action="fa-spin"/>
                <dependency target-type="show" initial="true">
                  <dependency-element id="SetAutoload" condition="eq" value="1"/>
                </dependency>
              </info-button>
              <info-button id="ButPlayRefresh" title="BUTTON_PLAY" icon="play"
                           info-style="navbar-form-awe col-xs-2 no-padding-hr" style="no-padding">
                <button-action type="add-class" target="#ButSetAutRef .fa-refresh" target-action="fa-spin"/>
                <dependency target-type="show" initial="true">
                  <dependency-element id="SetAutoload" condition="eq" value="0"/>
                </dependency>
              </info-button>
            </info>
            <info id="ButUsrAct" icon="user" initial-load="query" target-action="connectedUser">
              <include target-screen="notification-panel" target-source="user-settings"/>
              <info-criteria icon="image" title="PARAMETER_THEME" component="select" id="theme" initial-load="query"
                             target-action="ThmSelVal" session="theme" style="col-xs-12 no-label"
                             info-style="form-group">
                <dependency>
                  <dependency-element id="theme"/>
                  <dependency-action type="server" server-action="maintain-silent" target-action="SesVarThm"
                                     silent="true"/>
                  <dependency-action type="change-theme" target="theme"/>
                </dependency>
              </info-criteria>
              <info-criteria icon="language" title="PARAMETER_LANGUAGE" component="select" id="language"
                             initial-load="enum" target-action="Lan" session="language" style="col-xs-12 no-label"
                             info-style="form-group">
                <dependency>
                  <dependency-element id="language"/>
                  <dependency-action type="server" server-action="maintain-silent" target-action="SesVarLan"
                                     silent="true"/>
                  <dependency-action type="change-language" target="language"/>
                </dependency>
              </info-criteria>
            </info>
            <info-button id="ButLogOut" icon="sign-out" title="BUTTON_LOGOUT" style="p-button-text p-button-rounded p-button-secondary">
              <button-action type="logout"/>
            </info-button>
          </tag>
        </tag>
      </tag>
      <tag type="div" id="layout-content" style="expand reportView" expandible="vertical">
        <menu-container id="MainMenu" style="horizontal navigation"/>
        <view name="report" style="expand expandible-vertical"/>
      </tag>
    </tag>
  </tag>
  <tag source="hidden">
    <criteria id="SetAutoload" value="0" component="hidden">
      <dependency source-type="value" target-type="input" value="0">
        <dependency-element id="ButPauseRefresh" event="click"/>
      </dependency>
      <dependency source-type="value" target-type="input" value="1">
        <dependency-element id="ButPlayRefresh" event="click"/>
      </dependency>
    </criteria>
  </tag>
</screen>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy