AdmMono/web/gui/esquema_operacional/editarCorridaAsiento.zul

248 lines
18 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?page contentType="text/html;charset=UTF-8"?>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winEditarCorridaAsiento"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winEditarCorridaAsiento" border="normal"
apply="${editarCorridaAsientoController}"
width="790px" height="450px" contentStyle="overflow:auto"
title="${c:l('editarConfiguracionCorridaController.window.title')}"
xmlns:h="http://www.w3.org/1999/xhtml">
<style>
.myGreen .z-button-cm {
background-image : url(${c:encodeURL('/gui/img/green.png')});
}
.myRed .z-button-cm {
background-image : url(${c:encodeURL('/gui/img/red.png')});
#color: white;
}
.myBlue .z-button-cm {
background-image : url(${c:encodeURL('/gui/img/blue.png')});
#color: white;
#font-size:8px;
}
.myGray .z-button-cm {
background-image : url(${c:encodeURL('/gui/img/grey.png')});
#color: white;
#font-size:8px;
}
.btndiv .z-button-cm {
background : no-repeat 0 0 ;
}
</style>
<toolbar>
<hbox spacing="5px" style="padding:1px" align="right">
<!--button id="btnApagar" height="20"
image="/gui/img/remove.png" width="35px"
tooltiptext="${c:l('editarConfiguracionCorridaController.btnApagar.tooltiptext')}"/-->
<!--button id="btnSalvar" height="20"
image="/gui/img/save.png" width="35px"
tooltiptext="${c:l('editarConfiguracionCorridaController.btnSalvar.tooltiptext')}"/-->
<button id="btnFechar" height="20"
image="/gui/img/exit.png" width="35px"
onClick="winEditarCorridaAsiento.detach()"
tooltiptext="${c:l('editarConfiguracionCorridaController.btnFechar.tooltiptext')}"/>
</hbox>
</toolbar>
<h:center>
<h:table width="767" border="0" cellpadding="0" cellspacing="0" background="gui/img/background_onibus.png" id="tab_bus">
<h:tr>
<h:td height= "198">
<h:table width="75%" height="80%" border="0" align="center" cellpadding="0" cellspacing="2" id="tab_poltronas">
<h:tr>
<h:td>
<hbox>
<button id="btn_1_1" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_1_2" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_1_3" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_1_4" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_1_5" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_1_6" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_1_7" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_1_8" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_1_9" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_1_10" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_1_11" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_1_12" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_1_13" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
</hbox>
</h:td>
</h:tr>
<!--h:tr>
<h:td>
<hbox>
<button id="btn_2_1" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_2_2" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_2_3" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_2_4" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_2_5" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_2_6" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_2_7" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_2_8" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_2_9" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_2_10" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_2_11" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_2_12" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_2_13" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
</hbox>
</h:td>
</h:tr-->
<h:tr>
<h:td>
<hbox>
<button id="btn_3_1" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_3_2" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_3_3" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_3_4" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_3_5" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_3_6" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_3_7" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_3_8" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_3_9" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_3_10" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_3_11" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_3_12" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_3_13" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
</hbox>
</h:td>
</h:tr>
<h:tr height="50%">
<h:td>
<!--hbox>
<button id="btn_4_1" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_4_2" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_4_3" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_4_4" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_4_5" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_4_6" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_4_7" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_4_8" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_4_9" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_4_10" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_4_11" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_4_12" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_4_13" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
</hbox-->
</h:td>
</h:tr>
<h:tr>
<h:td>
<hbox>
<button id="btn_5_1" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_5_2" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_5_3" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_5_4" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_5_5" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_5_6" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_5_7" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_5_8" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_5_9" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_5_10" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_5_11" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_5_12" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_5_13" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
</hbox>
</h:td>
</h:tr>
<!--h:tr>
<h:td>
<hbox>
<button id="btn_6_1" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_6_2" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_6_3" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_6_4" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_6_5" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_6_6" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_6_7" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_6_8" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_6_9" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_6_10" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_6_11" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_6_12" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_6_13" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
</hbox>
</h:td>
</h:tr-->
<h:tr>
<h:td>
<hbox>
<button id="btn_7_1" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_7_2" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_7_3" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_7_4" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_7_5" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_7_6" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_7_7" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_7_8" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_7_9" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_7_10" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_7_11" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_7_12" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
<button id="btn_7_13" width="40px" height="22px" sclass="myGreen" mold="trendy"/>
</hbox>
</h:td>
</h:tr>
</h:table>
</h:td>
</h:tr>
</h:table>
</h:center>
<grid fixedLayout="true" >
<columns>
<column width="20%" />
<column width="80%" />
</columns>
<rows>
<row>
<label value="${c:l('editarConfiguracionCorridaAsientoController.lbMotivoOcupacao.value')}"/>
<radiogroup Id="radiogroupMotivo">
<radio Id="poltronaExclusiva" label="${c:l('editarConfiguracionCorridaAsientoController.rdPoltronaExclusiva.value')}" checked="true" />
<radio Id="poltronaOcupada" label="${c:l('editarConfiguracionCorridaAsientoController.rdPoltronaOcupada.value')}" />
</radiogroup>
</row>
<row>
<label value="${c:l('editarConfiguracionCorridaAsientoController.lbOrigem.value')}"/>
<combobox id="cmbOrigen" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" constraint="no empty"
mold="rounded" buttonVisible="true" width="300px"
model="@{winEditarCorridaAsiento$composer.lsOrigen}"/>
</row>
<row>
<label value="${c:l('editarConfiguracionCorridaAsientoController.lbDestino.value')}"/>
<combobox id="cmbDestino" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true" width="300px"
model="@{winEditarCorridaAsiento$composer.lsOrigen}"/>
</row>
<row>
<label value="${c:l('editarConfiguracionCorridaAsientoController.lbAsiento.value')}"/>
<hbox>
<textbox id="txtAsiento" width="300px"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
<label value="${c:l('editarConfiguracionCorridaAsientoController.MSG.help')}"/>
</hbox>
</row>
<row>
<label value="${c:l('editarConfiguracionCorridaAsientoController.lbMotivo.value')}"/>
<hbox>
<textbox id="txtMotivo" width="300px" use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
</hbox>
</row>
<row>
<label value=""/>
<hbox>
<button id="btnCeder" label="${c:l('editarConfiguracionCorridaAsientoController.btnCeder.value')}" />
<button id="btnLiberar" label="${c:l('editarConfiguracionCorridaAsientoController.btnLiberar.value')}" />
</hbox>
</row>
</rows>
</grid>
</window>
</zk>