application.app.screen.home_navbar.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Document : home_navbar.xml Created on : 8 de febrero de 2010, 16:30 Author : Pablo GARCIA Description: Navigation bar --> <screen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://aweframework.gitlab.io/awe/docs/schemas/screen.xsd" template="full"> <!-- SAMPLE DEFAULT PARAMETER LOADING target="SesPrm" --> <!-- Center Zone: Show menu and reports --> <tag source="center"> <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 type="div" style="navbar-inner"> <tag type="div" style="navbar-header"> <tag type="h1"> <tag type="span" label="APP_CLIENT"/> </tag> <button button-type="button" style="no-class navbar-toggle collapsed" id="ButNavCol" icon="bars icon navbar-icon"> <button-action type="toggle-navbar"/> </button> </tag> <tag type="div" id="main-navbar-collapse" style="collapse navbar-collapse main-navbar-collapse"> <tag type="div" style="right clearfix"> <!-- Profile --> <tag type="ul" style="nav navbar-nav pull-right right-navbar-nav"> <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="m-2 p-button-text p-button-secondary"> <button-action type="logout"/> </info-button> </tag> </tag> </tag> </tag> </tag> </screen>