Stylování vzhledu.

multitenant
František Přibyl 10 years ago
parent 0287c65d9c
commit 65e42f6d43

@ -218,7 +218,10 @@ Permissions=Práva
NumberSeries=Číselné řady NumberSeries=Číselné řady
User=Uživatel User=Uživatel
ChangePassword=Změnit heslo ChangePassword=Změnit heslo
Login=Přihlásit
Loggingin=Přihlášení
Logout=Odhlásit Logout=Odhlásit
WrongNameOrPassword=Špatné jméno nebo heslo
DateFormat=dd. MM. yyyy DateFormat=dd. MM. yyyy

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Objednávky</title>
</head>
<body>
administrace
</body>
</html>

@ -1,21 +1,34 @@
<?page title="Informace" contentType="text/html;charset=UTF-8"?> <?page title="Informace" contentType="text/html;charset=UTF-8"?>
<zk> <zk>
<window border="normal" apply="org.zkoss.bind.BindComposer" <window
vflex="1"
border="normal"
apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.dashboard.DashBoardVM')"> viewModel="@id('vm') @init('info.bukova.isspst.ui.dashboard.DashBoardVM')">
<caption zclass="form-caption" label="${labels.Information}" /> <caption
<vbox> zclass="form-caption"
label="${labels.Information}" />
<vbox vflex="1">
<hbox> <hbox>
<label value="${labels.LogedInUser}"/> <image src="/img/user-small.png"/> <label value="@load(vm.user)"/> <label value="${labels.LogedInUser}" />
<image src="/img/user-small.png" />
<label value="@load(vm.user)" />
</hbox> </hbox>
<groupbox mold="3d"> <groupbox
<caption image="/img/commission-small.png" label="${labels.CentresForRequirements}"/> vflex="1"
mold="3d">
<caption
image="/img/commission-small.png"
label="${labels.CentresForRequirements}" />
<hbox children="@load(vm.centres)"> <hbox children="@load(vm.centres)">
<template name="children"> <template name="children">
<listbox model="@load(vm.groupRoles[each])"> <listbox model="@load(vm.groupRoles[each])">
<listhead> <listhead>
<listheader label="@load(each.fullName)" /> <listheader label="@load(each.fullName)" />
</listhead> </listhead>
<template name="model" var="role"> <template
name="model"
var="role">
<listitem> <listitem>
<listcell label="@load(role.description)" /> <listcell label="@load(role.description)" />
</listitem> </listitem>
@ -24,15 +37,21 @@
</template> </template>
</hbox> </hbox>
</groupbox> </groupbox>
<groupbox mold="3d"> <groupbox
<caption image="/img/commission-small.png" label="${labels.WorkgroupMembership}"/> vflex="1"
mold="3d">
<caption
image="/img/commission-small.png"
label="${labels.WorkgroupMembership}" />
<hbox children="@load(vm.workgroups)"> <hbox children="@load(vm.workgroups)">
<template name="children"> <template name="children">
<listbox model="@load(vm.groupRoles[each])"> <listbox model="@load(vm.groupRoles[each])">
<listhead> <listhead>
<listheader label="@load(each.fullName)" /> <listheader label="@load(each.fullName)" />
</listhead> </listhead>
<template name="model" var="role"> <template
name="model"
var="role">
<listitem> <listitem>
<listcell label="@load(role.description)" /> <listcell label="@load(role.description)" />
</listitem> </listitem>
@ -42,6 +61,5 @@
</hbox> </hbox>
</groupbox> </groupbox>
</vbox> </vbox>
</window> </window>
</zk> </zk>

@ -29,6 +29,7 @@
label="${labels.CurrentRequirements}" label="${labels.CurrentRequirements}"
href="/trips/requirement" /> href="/trips/requirement" />
<menuitem <menuitem
image="/img/pickup-024.png"
label="${labels.TravelOrders}" label="${labels.TravelOrders}"
href="" /> href="" />
</menupopup> </menupopup>
@ -37,10 +38,12 @@
<menu label="${labels.Lists}"> <menu label="${labels.Lists}">
<menupopup> <menupopup>
<menuitem <menuitem
image="/img/palet-024.png"
label="${labels.AgendaMaterial}" label="${labels.AgendaMaterial}"
href="/lists/material" href="/lists/material"
disabled="${not sec:isAllGranted('PERM_READ_MATERIAL')}" /> disabled="${not sec:isAllGranted('PERM_READ_MATERIAL')}" />
<menuitem <menuitem
image="/img/painting-016.png"
label="${labels.AgendaServices}" label="${labels.AgendaServices}"
href="/lists/service" href="/lists/service"
disabled="${not sec:isAllGranted('PERM_READ_SERVICES')}" /> disabled="${not sec:isAllGranted('PERM_READ_SERVICES')}" />
@ -49,6 +52,7 @@
href="/lists/addressbook" href="/lists/addressbook"
disabled="${not sec:isAllGranted('PERM_READ_ADDRESSBOOK')}" /> disabled="${not sec:isAllGranted('PERM_READ_ADDRESSBOOK')}" />
<menuitem <menuitem
image="/img/house-016.png"
label="${labels.AgendaBuildings}" label="${labels.AgendaBuildings}"
href="/lists/buildings" href="/lists/buildings"
disabled="${not sec:isAllGranted('PERM_READ_BUILDINGS')}" /> disabled="${not sec:isAllGranted('PERM_READ_BUILDINGS')}" />
@ -97,6 +101,7 @@
label="${labels.ChangePassword}…" label="${labels.ChangePassword}…"
onClick="@command('passwd')" /> onClick="@command('passwd')" />
<menuitem <menuitem
image="/img/unlock-016.png"
label="${labels.Logout}" label="${labels.Logout}"
href="/j_spring_security_logout" /> href="/j_spring_security_logout" />
</menupopup> </menupopup>

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 893 B

@ -1,23 +1,47 @@
<?page title="${labels.AgendaBuildings}" contentType="text/html;charset=UTF-8"?> <?page title="${labels.AgendaBuildings}" contentType="text/html;charset=UTF-8"?>
<zk> <zk>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?> <?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<window border="normal" apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('info.bukova.isspst.ui.buildings.BuildingList')"> <window
<caption zclass="form-caption" label="${labels.AgendaBuildings}" /> vflex="1"
border="normal"
apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.buildings.BuildingList')">
<caption
image="/img/house-032.png"
zclass="form-caption"
label="${labels.AgendaBuildings}" />
<include src="/app/toolbar.zul" /> <include src="/app/toolbar.zul" />
<hbox width="100%"> <hbox width="100%">
<listbox model="@load(vm.dataList)" selectedItem="@bind(vm.dataBean)" hflex="4"> <listbox
vflex="1"
model="@load(vm.dataList)"
selectedItem="@bind(vm.dataBean)"
hflex="4">
<listhead menupopup="auto"> <listhead menupopup="auto">
<listheader label="${labels.BuildingsGridColumnCode}" sort="czech(code)" width="10%" /> <listheader
<listheader label="${labels.BuildingsGridColumnName}" sort="czech(name)" width="30%" /> label="${labels.BuildingsGridColumnCode}"
<listheader label="${labels.BuildingsGridColumnDescription}" sort="czech(description)" width="60%" /> sort="czech(code)"
width="10%" />
<listheader
label="${labels.BuildingsGridColumnName}"
sort="czech(name)"
width="30%" />
<listheader
label="${labels.BuildingsGridColumnDescription}"
sort="czech(description)"
width="60%" />
</listhead> </listhead>
<auxhead
<auxhead sclass="category-center" visible="@load(vm.filter)"> sclass="category-center"
visible="@load(vm.filter)">
<auxheader> <auxheader>
<div sclass="find-grid-cell"> <div sclass="find-grid-cell">
<div sclass="find-grid-divtextbox"> <div sclass="find-grid-divtextbox">
<textbox value="@bind(vm.filterTemplate.code)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" /> <textbox
value="@bind(vm.filterTemplate.code)"
instant="true"
onChange="@command('doFilter')"
sclass="find-grid-textbox" />
</div> </div>
<div sclass="find-grid-img"> <div sclass="find-grid-img">
<image src="/img/funnel.png" /> <image src="/img/funnel.png" />
@ -27,7 +51,11 @@
<auxheader> <auxheader>
<div sclass="find-grid-cell"> <div sclass="find-grid-cell">
<div sclass="find-grid-divtextbox"> <div sclass="find-grid-divtextbox">
<textbox value="@bind(vm.filterTemplate.name)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" /> <textbox
value="@bind(vm.filterTemplate.name)"
instant="true"
onChange="@command('doFilter')"
sclass="find-grid-textbox" />
</div> </div>
<div sclass="find-grid-img"> <div sclass="find-grid-img">
<image src="/img/funnel.png" /> <image src="/img/funnel.png" />
@ -37,7 +65,11 @@
<auxheader> <auxheader>
<div sclass="find-grid-cell"> <div sclass="find-grid-cell">
<div sclass="find-grid-divtextbox"> <div sclass="find-grid-divtextbox">
<textbox value="@bind(vm.filterTemplate.description)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" /> <textbox
value="@bind(vm.filterTemplate.description)"
instant="true"
onChange="@command('doFilter')"
sclass="find-grid-textbox" />
</div> </div>
<div sclass="find-grid-img"> <div sclass="find-grid-img">
<image src="/img/funnel.png" /> <image src="/img/funnel.png" />
@ -45,7 +77,6 @@
</div> </div>
</auxheader> </auxheader>
</auxhead> </auxhead>
<template name="model"> <template name="model">
<listitem> <listitem>
<listcell label="@load(each.code)" /> <listcell label="@load(each.code)" />
@ -56,7 +87,9 @@
</listbox> </listbox>
<vbox> <vbox>
<label value="${labels.BuildingsGridRooms}" /> <label value="${labels.BuildingsGridRooms}" />
<grid model="@load(vm.dataBean.rooms)" hflex="6"> <grid
model="@load(vm.dataBean.rooms)"
hflex="6">
<columns menupopup="auto"> <columns menupopup="auto">
<column label="${labels.code}" /> <column label="${labels.code}" />
<column label="${labels.name}" /> <column label="${labels.name}" />
@ -78,6 +111,5 @@
</grid> </grid>
</vbox> </vbox>
</hbox> </hbox>
</window> </window>
</zk> </zk>

@ -1,36 +1,60 @@
<?page title="${labels.BuildingsFormTitle}" contentType="text/html;charset=UTF-8"?> <?page title="${labels.BuildingsFormTitle}" contentType="text/html;charset=UTF-8"?>
<zk> <zk>
<window id="editWin" closable="true" border="normal" position="center" apply="org.zkoss.bind.BindComposer" <window
viewModel="@id('vm') @init('info.bukova.isspst.ui.buildings.BuildingForm')" width="750px"> id="editWin"
<caption src="/img/building.png" zclass="form-caption" label="${labels.BuildingsFormTitle}" /> closable="true"
border="normal"
position="center"
apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.buildings.BuildingForm')"
width="750px">
<caption
image="/img/house-032.png"
zclass="form-caption"
label="${labels.BuildingsFormTitle}" />
<vlayout> <vlayout>
<grid hflex="min"> <grid hflex="min">
<columns> <columns>
<column align="right" hflex="min" /> <column
align="right"
hflex="min" />
<column /> <column />
</columns> </columns>
<rows> <rows>
<row> <row>
<cell sclass="row-title">${labels.BuildingsFormCode} :</cell> <cell sclass="row-title">${labels.BuildingsFormCode} :</cell>
<cell> <cell>
<textbox id="code" constraint="@load(vm.constriant)" width="200px" value="@bind(vm.dataBean.code)" /> <textbox
id="code"
constraint="@load(vm.constriant)"
width="200px"
value="@bind(vm.dataBean.code)" />
</cell> </cell>
</row> </row>
<row> <row>
<cell sclass="row-title">${labels.BuildingsFormName} :</cell> <cell sclass="row-title">${labels.BuildingsFormName} :</cell>
<cell> <cell>
<textbox id="name" width="200px" value="@bind(vm.dataBean.name)" /> <textbox
id="name"
width="200px"
value="@bind(vm.dataBean.name)" />
</cell> </cell>
</row> </row>
<row> <row>
<cell sclass="row-title">${labels.BuildingsFormDescription} :</cell> <cell sclass="row-title">${labels.BuildingsFormDescription} :</cell>
<cell> <cell>
<textbox id="description" width="300px" value="@bind(vm.dataBean.description)" /> <textbox
id="description"
width="300px"
value="@bind(vm.dataBean.description)" />
</cell> </cell>
</row> </row>
</rows> </rows>
</grid> </grid>
<button image="/img/item-add.png" label="${labels.BuildingsFormAddRoom}" onClick="@command('addRoom')"/> <button
image="/img/item-add.png"
label="${labels.BuildingsFormAddRoom}"
onClick="@command('addRoom')" />
<listbox model="@load(vm.dataBean.rooms)"> <listbox model="@load(vm.dataBean.rooms)">
<listhead> <listhead>
<listheader label="${labels.code}" /> <listheader label="${labels.code}" />
@ -42,12 +66,37 @@
</listhead> </listhead>
<template name="model"> <template name="model">
<listitem> <listitem>
<listcell><textbox inplace="true" value="@bind(each.code)"/></listcell> <listcell>
<listcell><textbox inplace="true" value="@bind(each.name)"/></listcell> <textbox
<listcell><textbox inplace="true" value="@bind(each.shortcut)"/></listcell> inplace="true"
<listcell><textbox inplace="true" value="@bind(each.number)"/></listcell> value="@bind(each.code)" />
<listcell><textbox inplace="true" value="@bind(each.floor)"/></listcell> </listcell>
<listcell><button image="/img/item-remove.png" label="${labels.BuildingsFormRemove}" onClick="@command('removeRoom', room=each)"/></listcell> <listcell>
<textbox
inplace="true"
value="@bind(each.name)" />
</listcell>
<listcell>
<textbox
inplace="true"
value="@bind(each.shortcut)" />
</listcell>
<listcell>
<textbox
inplace="true"
value="@bind(each.number)" />
</listcell>
<listcell>
<textbox
inplace="true"
value="@bind(each.floor)" />
</listcell>
<listcell>
<button
image="/img/item-remove.png"
label="${labels.BuildingsFormRemove}"
onClick="@command('removeRoom', room=each)" />
</listcell>
</listitem> </listitem>
</template> </template>
</listbox> </listbox>

@ -1,23 +1,49 @@
<?page title="${labels.AgendaMaterial}" contentType="text/html;charset=UTF-8"?> <?page title="${labels.AgendaMaterial}" contentType="text/html;charset=UTF-8"?>
<zk> <zk>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?> <?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<window border="normal" apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('info.bukova.isspst.ui.reqsubjects.MaterialList')"> <window
<caption zclass="form-caption" label="${labels.AgendaMaterial}" /> vflex="1"
border="normal"
apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.reqsubjects.MaterialList')">
<caption
image="/img/palet-032.png"
zclass="form-caption"
label="${labels.AgendaMaterial}" />
<include src="/app/toolbar.zul" /> <include src="/app/toolbar.zul" />
<listbox
<listbox model="@load(vm.dataList)" selectedItem="@bind(vm.dataBean)" height="500px"> vflex="1"
model="@load(vm.dataList)"
selectedItem="@bind(vm.dataBean)"
height="500px">
<listhead menupopup="auto"> <listhead menupopup="auto">
<listheader label="${labels.code}" sort="czech(code)" width="10%" /> <listheader
<listheader label="${labels.name}" sort="czech(name)" width="25%" /> label="${labels.code}"
<listheader label="${labels.munit}" width="15%"/> sort="czech(code)"
<listheader label="${labels.description}" sort="czech(description)" width="50%" /> width="10%" />
<listheader
label="${labels.name}"
sort="czech(name)"
width="25%" />
<listheader
label="${labels.munit}"
width="15%" />
<listheader
label="${labels.description}"
sort="czech(description)"
width="50%" />
</listhead> </listhead>
<auxhead
<auxhead sclass="category-center" visible="@load(vm.filter)"> sclass="category-center"
visible="@load(vm.filter)">
<auxheader> <auxheader>
<div sclass="find-grid-cell"> <div sclass="find-grid-cell">
<div sclass="find-grid-divtextbox"> <div sclass="find-grid-divtextbox">
<textbox value="@bind(vm.filterTemplate.code)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" /> <textbox
value="@bind(vm.filterTemplate.code)"
instant="true"
onChange="@command('doFilter')"
sclass="find-grid-textbox" />
</div> </div>
<div sclass="find-grid-img"> <div sclass="find-grid-img">
<image src="/img/funnel.png" /> <image src="/img/funnel.png" />
@ -27,7 +53,11 @@
<auxheader> <auxheader>
<div sclass="find-grid-cell"> <div sclass="find-grid-cell">
<div sclass="find-grid-divtextbox"> <div sclass="find-grid-divtextbox">
<textbox value="@bind(vm.filterTemplate.name)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" /> <textbox
value="@bind(vm.filterTemplate.name)"
instant="true"
onChange="@command('doFilter')"
sclass="find-grid-textbox" />
</div> </div>
<div sclass="find-grid-img"> <div sclass="find-grid-img">
<image src="/img/funnel.png" /> <image src="/img/funnel.png" />
@ -56,7 +86,11 @@
<auxheader> <auxheader>
<div sclass="find-grid-cell"> <div sclass="find-grid-cell">
<div sclass="find-grid-divtextbox"> <div sclass="find-grid-divtextbox">
<textbox value="@bind(vm.filterTemplate.description)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" /> <textbox
value="@bind(vm.filterTemplate.description)"
instant="true"
onChange="@command('doFilter')"
sclass="find-grid-textbox" />
</div> </div>
<div sclass="find-grid-img"> <div sclass="find-grid-img">
<image src="/img/funnel.png" /> <image src="/img/funnel.png" />
@ -64,7 +98,6 @@
</div> </div>
</auxheader> </auxheader>
</auxhead> </auxhead>
<template name="model"> <template name="model">
<listitem> <listitem>
<listcell label="@load(each.code)" /> <listcell label="@load(each.code)" />
@ -74,6 +107,5 @@
</listitem> </listitem>
</template> </template>
</listbox> </listbox>
</window> </window>
</zk> </zk>

@ -1,31 +1,51 @@
<?page title="${labels.MaterialFormTitle}" contentType="text/html;charset=UTF-8"?> <?page title="${labels.MaterialFormTitle}" contentType="text/html;charset=UTF-8"?>
<zk> <zk>
<window id="editWin" closable="true" border="normal" position="center" apply="org.zkoss.bind.BindComposer" <window
id="editWin"
closable="true"
border="normal"
position="center"
apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.reqsubjects.MaterialForm')"> viewModel="@id('vm') @init('info.bukova.isspst.ui.reqsubjects.MaterialForm')">
<caption src="/img/material.png" zclass="form-caption" label="${labels.MaterialFormTitle}" /> <caption
image="/img/palet-032.png"
zclass="form-caption"
label="${labels.MaterialFormTitle}" />
<vlayout> <vlayout>
<grid hflex="min"> <grid hflex="min">
<columns> <columns>
<column align="right" hflex="min" /> <column
align="right"
hflex="min" />
<column /> <column />
</columns> </columns>
<rows> <rows>
<row> <row>
<cell sclass="row-title">${labels.code} :</cell> <cell sclass="row-title">${labels.code} :</cell>
<cell> <cell>
<textbox id="code" constraint="@load(vm.constriant)" width="200px" value="@bind(vm.dataBean.code)" /> <textbox
id="code"
constraint="@load(vm.constriant)"
width="200px"
value="@bind(vm.dataBean.code)" />
</cell> </cell>
</row> </row>
<row> <row>
<cell sclass="row-title">${labels.name} :</cell> <cell sclass="row-title">${labels.name} :</cell>
<cell> <cell>
<textbox id="name" width="200px" value="@bind(vm.dataBean.name)" /> <textbox
id="name"
width="200px"
value="@bind(vm.dataBean.name)" />
</cell> </cell>
</row> </row>
<row> <row>
<cell sclass="row-title">${labels.munit} :</cell> <cell sclass="row-title">${labels.munit} :</cell>
<cell> <cell>
<combobox model="@load(vm.munits)" selectedItem="@bind(vm.dataBean.munit)" readonly="true"> <combobox
model="@load(vm.munits)"
selectedItem="@bind(vm.dataBean.munit)"
readonly="true">
<template name="model"> <template name="model">
<comboitem label="@load(each.name)" /> <comboitem label="@load(each.name)" />
</template> </template>
@ -35,7 +55,10 @@
<row> <row>
<cell sclass="row-title">${labels.description} :</cell> <cell sclass="row-title">${labels.description} :</cell>
<cell> <cell>
<textbox id="description" width="300px" value="@bind(vm.dataBean.description)" /> <textbox
id="description"
width="300px"
value="@bind(vm.dataBean.description)" />
</cell> </cell>
</row> </row>
</rows> </rows>

@ -1,22 +1,46 @@
<?page title="${labels.AgendaServices}" contentType="text/html;charset=UTF-8"?> <?page title="${labels.AgendaServices}" contentType="text/html;charset=UTF-8"?>
<zk> <zk>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?> <?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<window border="normal" apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('info.bukova.isspst.ui.reqsubjects.ServiceItemList')"> <window
<caption zclass="form-caption" label="${labels.AgendaServices}" /> vflex="1"
border="normal"
apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.reqsubjects.ServiceItemList')">
<caption
image="/img/painting-032.png"
zclass="form-caption"
label="${labels.AgendaServices}" />
<include src="/app/toolbar.zul" /> <include src="/app/toolbar.zul" />
<listbox
<listbox model="@load(vm.dataList)" selectedItem="@bind(vm.dataBean)" height="500px"> vflex="1"
model="@load(vm.dataList)"
selectedItem="@bind(vm.dataBean)"
height="500px">
<listhead menupopup="auto"> <listhead menupopup="auto">
<listheader label="${labels.code}" sort="czech(code)" width="10%" /> <listheader
<listheader label="${labels.name}" sort="czech(name)" width="30%" /> label="${labels.code}"
<listheader label="${labels.description}" sort="czech(description)" width="60%" /> sort="czech(code)"
width="10%" />
<listheader
label="${labels.name}"
sort="czech(name)"
width="30%" />
<listheader
label="${labels.description}"
sort="czech(description)"
width="60%" />
</listhead> </listhead>
<auxhead
<auxhead sclass="category-center" visible="@load(vm.filter)"> sclass="category-center"
visible="@load(vm.filter)">
<auxheader> <auxheader>
<div sclass="find-grid-cell"> <div sclass="find-grid-cell">
<div sclass="find-grid-divtextbox"> <div sclass="find-grid-divtextbox">
<textbox value="@bind(vm.filterTemplate.code)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" /> <textbox
value="@bind(vm.filterTemplate.code)"
instant="true"
onChange="@command('doFilter')"
sclass="find-grid-textbox" />
</div> </div>
<div sclass="find-grid-img"> <div sclass="find-grid-img">
<image src="/img/funnel.png" /> <image src="/img/funnel.png" />
@ -26,7 +50,11 @@
<auxheader> <auxheader>
<div sclass="find-grid-cell"> <div sclass="find-grid-cell">
<div sclass="find-grid-divtextbox"> <div sclass="find-grid-divtextbox">
<textbox value="@bind(vm.filterTemplate.name)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" /> <textbox
value="@bind(vm.filterTemplate.name)"
instant="true"
onChange="@command('doFilter')"
sclass="find-grid-textbox" />
</div> </div>
<div sclass="find-grid-img"> <div sclass="find-grid-img">
<image src="/img/funnel.png" /> <image src="/img/funnel.png" />
@ -36,7 +64,11 @@
<auxheader> <auxheader>
<div sclass="find-grid-cell"> <div sclass="find-grid-cell">
<div sclass="find-grid-divtextbox"> <div sclass="find-grid-divtextbox">
<textbox value="@bind(vm.filterTemplate.description)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" /> <textbox
value="@bind(vm.filterTemplate.description)"
instant="true"
onChange="@command('doFilter')"
sclass="find-grid-textbox" />
</div> </div>
<div sclass="find-grid-img"> <div sclass="find-grid-img">
<image src="/img/funnel.png" /> <image src="/img/funnel.png" />
@ -44,7 +76,6 @@
</div> </div>
</auxheader> </auxheader>
</auxhead> </auxhead>
<template name="model"> <template name="model">
<listitem> <listitem>
<listcell label="@load(each.code)" /> <listcell label="@load(each.code)" />
@ -53,6 +84,5 @@
</listitem> </listitem>
</template> </template>
</listbox> </listbox>
</window> </window>
</zk> </zk>

@ -1,31 +1,51 @@
<?page title="${labels.ServiceFormTitle}" contentType="text/html;charset=UTF-8"?> <?page title="${labels.ServiceFormTitle}" contentType="text/html;charset=UTF-8"?>
<zk> <zk>
<window id="editWin" closable="true" border="normal" position="center" apply="org.zkoss.bind.BindComposer" <window
id="editWin"
closable="true"
border="normal"
position="center"
apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.reqsubjects.ServiceItemForm')"> viewModel="@id('vm') @init('info.bukova.isspst.ui.reqsubjects.ServiceItemForm')">
<caption src="/img/service.png" zclass="form-caption" label="${labels.ServiceFormTitle}" /> <caption
image="/img/painting-032.png"
zclass="form-caption"
label="${labels.ServiceFormTitle}" />
<vlayout> <vlayout>
<grid hflex="min"> <grid hflex="min">
<columns> <columns>
<column align="right" hflex="min" /> <column
align="right"
hflex="min" />
<column /> <column />
</columns> </columns>
<rows> <rows>
<row> <row>
<cell sclass="row-title">${labels.code} :</cell> <cell sclass="row-title">${labels.code} :</cell>
<cell> <cell>
<textbox id="code" constraint="@load(vm.constriant)" width="200px" value="@bind(vm.dataBean.code)" /> <textbox
id="code"
constraint="@load(vm.constriant)"
width="200px"
value="@bind(vm.dataBean.code)" />
</cell> </cell>
</row> </row>
<row> <row>
<cell sclass="row-title">${labels.name} :</cell> <cell sclass="row-title">${labels.name} :</cell>
<cell> <cell>
<textbox id="name" width="200px" value="@bind(vm.dataBean.name)" /> <textbox
id="name"
width="200px"
value="@bind(vm.dataBean.name)" />
</cell> </cell>
</row> </row>
<row> <row>
<cell sclass="row-title">${labels.description} :</cell> <cell sclass="row-title">${labels.description} :</cell>
<cell> <cell>
<textbox id="description" width="300px" value="@bind(vm.dataBean.description)" /> <textbox
id="description"
width="300px"
value="@bind(vm.dataBean.description)" />
</cell> </cell>
</row> </row>
</rows> </rows>

@ -1,15 +1,14 @@
<html xmlns="native" xmlns:u="zul" xmlns:zk="zk"> <html
xmlns="native"
xmlns:u="zul"
xmlns:zk="zk">
<head> <head>
<title>Objednávky</title> <title>${labels.Loggingin}</title>
</head> </head>
<body style="height: 100%; padding: 0 5px;"> <body style="height: 100%; padding: 0 5px;">
<div style="height: 15%" /> <div style="height: 15%" />
<div align="center"> <div align="center">
<u:include src="login.zul" /> <u:include src="login.zul" />
</div> </div>
</body> </body>
</html> </html>

@ -1,29 +1,36 @@
<?page title="Přihlášení" contentType="text/x-component;charset=UTF-8"?> <?page title="${labels.Loggingin}" contentType="text/x-component;charset=UTF-8"?>
<zk> <zk>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?> <?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<window title="Přihlášení" border="normal" width="300px" <window
border="normal"
width="300px"
apply="org.zkoss.bind.BindComposer" apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.LoginVM')"> viewModel="@id('vm') @init('info.bukova.isspst.ui.LoginVM')">
<label value="Špatný login nebo heslo!" style="font-weight:bold; font-size: 14px; color: red;" visible="@load(vm.loginFailed)"/> <caption
image="/img/lock-032.png"
zclass="form-caption"
label="${labels.Loggingin}" />
<label
value="${labels.WrongNameOrPassword}"
style="font-weight:bold; font-size: 14px; color: red;"
visible="@load(vm.loginFailed)" />
<html style="font-family:arial,sans-serif;font-size:12px;"> <html style="font-family:arial,sans-serif;font-size:12px;">
<![CDATA[ <![CDATA[
<form name='loginForm' action="j_spring_security_check" <form name='loginForm' action="j_spring_security_check" method='POST'>
method='POST'>
<table> <table>
<tr> <tr>
<td>Uživatel:</td> <td>${labels.UsersFormFirstName}:</td>
<td><input type='text' name='j_username' value=''/> <td><input type='text' name='j_username' value='' size="25" /></td>
</td>
</tr> </tr>
<tr> <tr>
<td>Heslo:</td> <td>${labels.UsersFormPassword}:</td>
<td><input type='password' name='j_password' /> <td><input type='password' name='j_password' size="25" /></td>
</td>
</tr> </tr>
<tr> <tr>
<td colspan='2'><input name="submit" type="submit" <td colspan='2' align="center">
value="Přihlásit" class="nicebutton" /> <input name="submit" type="submit" value="${labels.Login}" class="nicebutton" />
</td> </td>
</tr> </tr>
</table> </table>
@ -32,5 +39,4 @@ method='POST'>
]]> ]]>
</html> </html>
</window> </window>
</zk> </zk>

@ -19,11 +19,11 @@
<tab <tab
id="tabMaterial" id="tabMaterial"
label="${labels.AgendaMaterial}" label="${labels.AgendaMaterial}"
image="/img/material.png" /> image="/img/palet-032.png" />
<tab <tab
id="tabService" id="tabService"
label="${labels.AgendaServices}" label="${labels.AgendaServices}"
image="/img/service.png" /> image="/img/painting-032.png" />
</tabs> </tabs>
<tabpanels> <tabpanels>
<tabpanel> <tabpanel>

Loading…
Cancel
Save