IDEMPIERE-724 Zk: Make iDempiere theme more easily customizable. Fixed broken image link.
This commit is contained in:
parent
0b179c8de1
commit
7ccfcac443
|
@ -462,17 +462,17 @@ public class WAcctViewer extends Window implements EventListener<Event>
|
|||
forcePost.setVisible(false);
|
||||
|
||||
// Elaine 2009/07/29
|
||||
bZoom.setImage(ThemeManager.getThemeResource(ThemeManager.getThemeResource("images/Zoom16.png")));
|
||||
bZoom.setImage(ThemeManager.getThemeResource("images/Zoom16.png"));
|
||||
bZoom.setTooltiptext(Util.cleanAmp(Msg.getMsg(Env.getCtx(), "Zoom")));
|
||||
bZoom.setVisible(tabbedPane.getSelectedIndex() == 1);
|
||||
bZoom.addEventListener(Events.ON_CLICK, this);
|
||||
//
|
||||
|
||||
bQuery.setImage(ThemeManager.getThemeResource(ThemeManager.getThemeResource("images/Refresh16.png")));
|
||||
bQuery.setImage(ThemeManager.getThemeResource("images/Refresh16.png"));
|
||||
bQuery.setTooltiptext(Util.cleanAmp(Msg.getMsg(Env.getCtx(), "Refresh")));
|
||||
bQuery.addEventListener(Events.ON_CLICK, this);
|
||||
|
||||
bExport.setImage(ThemeManager.getThemeResource(ThemeManager.getThemeResource("images/Export16.png")));
|
||||
bExport.setImage(ThemeManager.getThemeResource("images/Export16.png"));
|
||||
bExport.setTooltiptext(Util.cleanAmp(Msg.getMsg(Env.getCtx(), "Export")));
|
||||
bExport.addEventListener(Events.ON_CLICK, this);
|
||||
bExport.setVisible(false);
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?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">
|
||||
|
@ -13,7 +16,7 @@
|
|||
<separator orient="vertical" spacing="2px"/>
|
||||
<label id="lblDate"/>
|
||||
<toolbarbutton id="btnRefresh" label="Refresh" class="refresh"/>
|
||||
<toolbarbutton id="btnCal" image="/images/Calendar16.png"/>
|
||||
<toolbarbutton id="btnCal" image="${calendarIcon}"/>
|
||||
</div>
|
||||
</hbox>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue