<?xml version="1.0" encoding="UTF-8"?>
<?page id="mainWin" contentType="text/html;charset=UTF-8"?>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="win"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>

<zk xmlns="http://www.zkoss.org/2005/zul">

    <window id="win" border="normal"
            apply="${indexController}" height="100%" width="100%" sizable="true"
            contentStyle="overflow:auto"  >

        <caption id="lblNombreAplicacion"  label="${c:l('indexController.app.nome')}"  style="font-weight:bold;"/>

        <style>
            .myBack{
                background-image : url(${c:encodeURL('/ImageServlet?imagene=empresa.png')});
                background-color : #e3e2ec;
                background-repeat: no-repeat;
                background-position:center;
                background-height:200px;
                background-width:200px;
            }            
        </style>
        
        <borderlayout>
            <north border="none" >
                <menubar id="menubar">
                </menubar>
            </north>
            <center id="innerWindow" sclass="myBack">

            </center>
            <south>
                <toolbar height="28px">
                    <toolbarbutton id="toolBarLogout" tooltiptext="${c:l('indexController.toolBar.tooltiptext')}"
                        image="/gui/img/logout.png" href="/j_spring_security_logout"/>
                    <toolbarbutton id="toolBarUser" image="/gui/img/user24.png"/>
                  	<button id="toolBarSearch" tooltiptext="${c:l('lb.btnPesquisa.label')}" image="/gui/img/find.png"/>
                </toolbar>
            </south>
        </borderlayout>
    </window>
</zk>