Merge branch 'master' of https://git.bukova.info/repos/git/isspst
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
<?page title="${labels.ReportReport}" contentType="text/html;charset=UTF-8"?>
|
||||
<zk>
|
||||
<window title="${labels.ReportReport}" border="normal" closable="true" apply="org.zkoss.bind.BindComposer"
|
||||
viewModel="@id('vm') @init('info.bukova.isspst.ui.ReportVM')">
|
||||
<toolbar>
|
||||
<toolbarbutton image="/img/send.png" tooltiptext="${labels.ReportSend}"/>
|
||||
</toolbar>
|
||||
<iframe width="800px" height="680px" src="/api/report.pdf"/>
|
||||
</window>
|
||||
</zk>
|
||||
@@ -1,32 +0,0 @@
|
||||
<?page title="${labels.ReportReports}" contentType="text/html;charset=UTF-8"?>
|
||||
<zk>
|
||||
<window id="reportDialog" title="${labels.ReportReports}" border="normal" apply="org.zkoss.bind.BindComposer"
|
||||
viewModel="@id('vm') @init('info.bukova.isspst.ui.ReportDialogVM')"
|
||||
closable="true" width="550px">
|
||||
|
||||
<hbox>
|
||||
<listbox model="@load(vm.reports)" width="250px" height="350px" selectedItem="@bind(vm.selected)">
|
||||
<template name="model">
|
||||
<listitem>
|
||||
<listcell><label value="@load(each.name)"/></listcell>
|
||||
</listitem>
|
||||
</template>
|
||||
</listbox>
|
||||
<groupbox mold="3d" closable="false" width="270px">
|
||||
<caption label="${labels.ReportOptions}"></caption>
|
||||
<hbox>
|
||||
<label value="${labels.ReportTitle}"/> <textbox value="@bind(vm.reportDefinition.reportTitle)"/>
|
||||
</hbox>
|
||||
<vbox children="@load(vm.columns.checks)">
|
||||
<template name="children">
|
||||
<checkbox label="@load(each.member)" checked="@bind(each.checked)"/>
|
||||
</template>
|
||||
</vbox>
|
||||
</groupbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<button label="${labels.ReportPrint}" onClick="@command('print', window=reportDialog)"/> <button label="${labels.ButtonStorno}" onClick="reportDialog.detach()"/>
|
||||
</hbox>
|
||||
|
||||
</window>
|
||||
</zk>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?page title="Column Select" contentType="text/html;charset=UTF-8"?>
|
||||
<zk>
|
||||
<groupbox mold="3d" closable="false" width="270px" apply="org.zkoss.bind.BindComposer"
|
||||
viewModel="@id('vmOpt') @init('info.bukova.isspst.ui.reporting.ColSelectVM')">
|
||||
<caption label="${labels.ReportOptions}"></caption>
|
||||
<hbox>
|
||||
<label value="${labels.ReportTitle}"/> <textbox value="@bind(vmOpt.reportDefinition.reportTitle)"/>
|
||||
</hbox>
|
||||
<vbox children="@load(vmOpt.columns.checks)">
|
||||
<template name="children">
|
||||
<checkbox label="@load(each.member) @converter(vmOpt.locConverter)" checked="@bind(each.checked)"/>
|
||||
</template>
|
||||
</vbox>
|
||||
</groupbox>
|
||||
</zk>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?page title="No Options" contentType="text/html;charset=UTF-8"?>
|
||||
<zk>
|
||||
<div>
|
||||
<label value="${labels.ReportNoOptions}"/>
|
||||
</div>
|
||||
</zk>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?page title="${labels.ReportReport}" contentType="text/html;charset=UTF-8"?>
|
||||
<zk>
|
||||
<window border="normal" closable="true" apply="org.zkoss.bind.BindComposer"
|
||||
viewModel="@id('vm') @init('info.bukova.isspst.ui.reporting.ReportVM')">
|
||||
<caption src="/img/print.png" zclass="form-caption" label="${labels.ReportReport}" />
|
||||
<toolbar>
|
||||
<toolbarbutton image="/img/send.png" tooltiptext="${labels.ReportSend}"/>
|
||||
</toolbar>
|
||||
<iframe width="800px" height="660px" src="/api/report.pdf"/>
|
||||
</window>
|
||||
</zk>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?page title="${labels.ReportReports}" contentType="text/html;charset=UTF-8"?>
|
||||
<zk>
|
||||
<window id="reportDialog" border="normal" apply="org.zkoss.bind.BindComposer"
|
||||
viewModel="@id('vm') @init('info.bukova.isspst.ui.reporting.ReportDialogVM')"
|
||||
closable="true" width="550px">
|
||||
<caption src="/img/print.png" zclass="form-caption" label="${labels.ReportReports}" />
|
||||
|
||||
<hbox>
|
||||
<listbox model="@load(vm.reports)" width="250px" height="350px" selectedItem="@bind(vm.selected)">
|
||||
<template name="model">
|
||||
<listitem disabled="@load(each.singleRecord and empty vm.singleObject)">
|
||||
<listcell><label value="@load(each.name)"/></listcell>
|
||||
</listitem>
|
||||
</template>
|
||||
</listbox>
|
||||
<include src="@load(vm.optionsForm)"/>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<button image="/img/print-button.png" label="${labels.ReportPrint}" onClick="@command('print', window=reportDialog)" sclass="nicebutton" disabled="@bind(empty vm.selected)"/> <button image="~./zul/img/misc/drag-disallow.png" label="${labels.ButtonStorno}" onClick="reportDialog.detach()" sclass="nicebutton"/>
|
||||
</hbox>
|
||||
|
||||
</window>
|
||||
</zk>
|
||||
Reference in New Issue
Block a user