blob: d72b731290da2db7349a7c106888da45f4b3d767 [file] [log] [blame]
<?page title="EllisDon Portal" contentType="text/html;charset=UTF-8"?>
<zk>
<window id="my_vacation" border="normal" width="680px" height="620px" >
<caption image="/images/happyface.png" label="My Vacation" style="font-size:12px;"/>
<tablelayout columns="2" width="100%">
<tablechildren colspan="1" width="50%">
<panel title="Entitlement" border="normal" height="145px" style="margin-bottom:5px">
<panelchildren style="padding-left:5px; padding-top:10px">
<vbox style="margin-top:3px; margin-left:3px">
<div>
<label style="font-size:12px;font-weight:bold;" value="Yearly Entitlement : "/>
<listbox id="listEntDays" rows="1" mold="select" style="font-size:12px">
<listitem label="15" value="15" />
<listitem label="20" value="20" />
<listitem label="25" value="25" />
<listitem label="30" value="30" />
<listitem label="35" value="35" />
</listbox>
<label style="font-size:12px;" value="Days"/>
</div>
<div style="margin-top:10px">
<label style="font-size:12px;" value="Last Updated : "/>
<label style="font-size:12px;" value="01-Jan-2010"/>
</div>
<div>
<button id="EntUpdate" label="Update Entitlement"/>
</div>
</vbox>
</panelchildren>
</panel>
</tablechildren>
<tablechildren colspan="1" width="50%">
<panel title="Balance" border="normal" height="145px" style="margin-left:5pxs;margin-bottom:5px">
<panelchildren style="padding-top:10px; padding-left:5px">
<vbox style="margin-top:3px; margin-left:3px">
<hbox>
<div>
<label style="font-size:12px;font-weight:bold;" value="Balance to Date : "/>
<style dynamic="true">
.mylbl {
border: 1px solid black;
padding-left:10px;
padding-right:10px;
}
</style>
<label sclass="mylbl" id="lblBalanceDays" style="font-size:12px;font-weight:bold;color:red;" width="30px" value="10" />
<label style="font-size:12px;" value="Days"/>
</div>
</hbox>
<hbox style="margin-top:10px">
<div>
<label style="font-size:12px;" value="As of January 1, 2010 you had "/>
<style dynamic="true">
.mylbl {
border: 1px solid black;
padding-left:10px;
padding-right:10px;
}
</style>
<label sclass="mylbl" id="lblCarryForwardDays" style="font-size:12px;font-weight:bold;color:blue;" width="30px" value="15" />
<label style="font-size:12px;" value=" days vacation carried forward. This vacation needs to be taken by"/>
</div>
</hbox>
<label style="font-size:12px;" value="July 01, 2012."/>
</vbox>
</panelchildren>
</panel>
</tablechildren>
<tablechildren colspan="2">
<panel title="Take Vacation" border="normal" height="205px" style="margin-bottom:5px">
<panelchildren>
<div>
<grid fixedLayout="true">
<columns>
<column label="Type" width="150px" />
<column label="Content" />
</columns>
<rows>
<row>
<label value="From" width="150px" />
<datebox id="fromdb" width="150px" />
</row>
<row>
<label value="To" width="150px" />
<datebox id="todb" width="150px" />
</row>
<row>
<label value="Days taken" width="150px" />
<spinner value="1" constraint="no negative,no zero"/>
</row>
<row>
<label value="Comments" width="150px" />
<textbox value="" width="300px" />
</row>
</rows>
</grid>
</div>
<div id="UpdateClear" style="padding-top:10px">
<hbox>
<div >
<button label="Update"/>
<button label="Clear"/>
</div>
</hbox>
</div>
</panelchildren>
</panel>
</tablechildren>
<tablechildren colspan="2">
<panel title="History" border="normal" height="200px" >
<panelchildren>
<grid id="historyGrid">
<columns>
<column label="Year" width="40px"/>
<column label="From" width="40px"/>
<column label="To" width="40px"/>
<column label="Days Taken" width="60px"/>
<column label="Not Taken" width="60px"/>
<column label="Comments" width="100px" align="center"/>
<column label="Action" width="40px" align="center"/>
</columns>
</grid>
</panelchildren>
</panel>
</tablechildren>
</tablelayout>
</window>
</zk>