core-jgi/org.adempiere.ui.zk/calendar_mini.zul

25 lines
876 B
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<?component name="divarrow" macro-uri="divarrow.zul"?>
<zk>
<zscript><![CDATA[
var calendarIcon = org.adempiere.webui.theme.ThemeManager.getThemeResource("images/Calendar16.png");
]]></zscript>
<style src="calendar.css"/>
<calendars firstDayOfWeek="Monday" model="${cm}" mold="month" id="cal">
<toolbar sclass="calendar-toolbar">
<div class="float-left">
<hbox>
<divarrow id="divArrowLeft" type="arrow-left"/>
<divarrow id="divArrowRight" type="arrow-right"/>
<div>
<button id="btnCurrentDate" mold="os" label="today"/>
<separator orient="vertical" spacing="2px"/>
<label id="lblDate"/>
<toolbarbutton id="btnRefresh" label="Refresh" class="refresh"/>
<toolbarbutton id="btnCal" image="${calendarIcon}"/>
</div>
</hbox>
</div>
</toolbar>
</calendars>
</zk>