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
User=Uživatel
ChangePassword=Změnit heslo
Login=Přihlásit
Loggingin=Přihlášení
Logout=Odhlásit
WrongNameOrPassword=Špatné jméno nebo heslo
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,47 +1,65 @@
<?page title="Informace" contentType="text/html;charset=UTF-8"?>
<zk>
<window border="normal" apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.dashboard.DashBoardVM')">
<caption zclass="form-caption" label="${labels.Information}" />
<vbox>
<hbox>
<label value="${labels.LogedInUser}"/> <image src="/img/user-small.png"/> <label value="@load(vm.user)"/>
</hbox>
<groupbox mold="3d">
<caption image="/img/commission-small.png" label="${labels.CentresForRequirements}"/>
<hbox children="@load(vm.centres)">
<template name="children">
<listbox model="@load(vm.groupRoles[each])">
<listhead>
<listheader label="@load(each.fullName)"/>
</listhead>
<template name="model" var="role">
<listitem>
<listcell label="@load(role.description)"/>
</listitem>
</template>
</listbox>
</template>
</hbox>
</groupbox>
<groupbox mold="3d">
<caption image="/img/commission-small.png" label="${labels.WorkgroupMembership}"/>
<hbox children="@load(vm.workgroups)">
<template name="children">
<listbox model="@load(vm.groupRoles[each])">
<listhead>
<listheader label="@load(each.fullName)"/>
</listhead>
<template name="model" var="role">
<listitem>
<listcell label="@load(role.description)"/>
</listitem>
</template>
</listbox>
</template>
</hbox>
</groupbox>
</vbox>
</window>
<window
vflex="1"
border="normal"
apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.dashboard.DashBoardVM')">
<caption
zclass="form-caption"
label="${labels.Information}" />
<vbox vflex="1">
<hbox>
<label value="${labels.LogedInUser}" />
<image src="/img/user-small.png" />
<label value="@load(vm.user)" />
</hbox>
<groupbox
vflex="1"
mold="3d">
<caption
image="/img/commission-small.png"
label="${labels.CentresForRequirements}" />
<hbox children="@load(vm.centres)">
<template name="children">
<listbox model="@load(vm.groupRoles[each])">
<listhead>
<listheader label="@load(each.fullName)" />
</listhead>
<template
name="model"
var="role">
<listitem>
<listcell label="@load(role.description)" />
</listitem>
</template>
</listbox>
</template>
</hbox>
</groupbox>
<groupbox
vflex="1"
mold="3d">
<caption
image="/img/commission-small.png"
label="${labels.WorkgroupMembership}" />
<hbox children="@load(vm.workgroups)">
<template name="children">
<listbox model="@load(vm.groupRoles[each])">
<listhead>
<listheader label="@load(each.fullName)" />
</listhead>
<template
name="model"
var="role">
<listitem>
<listcell label="@load(role.description)" />
</listitem>
</template>
</listbox>
</template>
</hbox>
</groupbox>
</vbox>
</window>
</zk>

@ -29,6 +29,7 @@
label="${labels.CurrentRequirements}"
href="/trips/requirement" />
<menuitem
image="/img/pickup-024.png"
label="${labels.TravelOrders}"
href="" />
</menupopup>
@ -37,10 +38,12 @@
<menu label="${labels.Lists}">
<menupopup>
<menuitem
image="/img/palet-024.png"
label="${labels.AgendaMaterial}"
href="/lists/material"
disabled="${not sec:isAllGranted('PERM_READ_MATERIAL')}" />
<menuitem
image="/img/painting-016.png"
label="${labels.AgendaServices}"
href="/lists/service"
disabled="${not sec:isAllGranted('PERM_READ_SERVICES')}" />
@ -49,6 +52,7 @@
href="/lists/addressbook"
disabled="${not sec:isAllGranted('PERM_READ_ADDRESSBOOK')}" />
<menuitem
image="/img/house-016.png"
label="${labels.AgendaBuildings}"
href="/lists/buildings"
disabled="${not sec:isAllGranted('PERM_READ_BUILDINGS')}" />
@ -97,6 +101,7 @@
label="${labels.ChangePassword}…"
onClick="@command('passwd')" />
<menuitem
image="/img/unlock-016.png"
label="${labels.Logout}"
href="/j_spring_security_logout" />
</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"?>
<zk>
<?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')">
<caption zclass="form-caption" label="${labels.AgendaBuildings}" />
<window
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" />
<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">
<listheader label="${labels.BuildingsGridColumnCode}" sort="czech(code)" width="10%" />
<listheader label="${labels.BuildingsGridColumnName}" sort="czech(name)" width="30%" />
<listheader label="${labels.BuildingsGridColumnDescription}" sort="czech(description)" width="60%" />
<listheader
label="${labels.BuildingsGridColumnCode}"
sort="czech(code)"
width="10%" />
<listheader
label="${labels.BuildingsGridColumnName}"
sort="czech(name)"
width="30%" />
<listheader
label="${labels.BuildingsGridColumnDescription}"
sort="czech(description)"
width="60%" />
</listhead>
<auxhead sclass="category-center" visible="@load(vm.filter)">
<auxhead
sclass="category-center"
visible="@load(vm.filter)">
<auxheader>
<div sclass="find-grid-cell">
<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 sclass="find-grid-img">
<image src="/img/funnel.png" />
@ -27,7 +51,11 @@
<auxheader>
<div sclass="find-grid-cell">
<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 sclass="find-grid-img">
<image src="/img/funnel.png" />
@ -37,7 +65,11 @@
<auxheader>
<div sclass="find-grid-cell">
<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 sclass="find-grid-img">
<image src="/img/funnel.png" />
@ -45,7 +77,6 @@
</div>
</auxheader>
</auxhead>
<template name="model">
<listitem>
<listcell label="@load(each.code)" />
@ -55,29 +86,30 @@
</template>
</listbox>
<vbox>
<label value="${labels.BuildingsGridRooms}"/>
<grid model="@load(vm.dataBean.rooms)" hflex="6">
<label value="${labels.BuildingsGridRooms}" />
<grid
model="@load(vm.dataBean.rooms)"
hflex="6">
<columns menupopup="auto">
<column label="${labels.code}"/>
<column label="${labels.name}"/>
<column label="${labels.shortcut}"/>
<column label="${labels.number}"/>
<column label="${labels.floor}"/>
<column label="${labels.code}" />
<column label="${labels.name}" />
<column label="${labels.shortcut}" />
<column label="${labels.number}" />
<column label="${labels.floor}" />
</columns>
<rows>
<template name="model">
<row>
<label value="@bind(each.code)"/>
<label value="@bind(each.name)"/>
<label value="@bind(each.shortcut)"/>
<label value="@bind(each.number)"/>
<label value="@bind(each.floor)"/>
<label value="@bind(each.code)" />
<label value="@bind(each.name)" />
<label value="@bind(each.shortcut)" />
<label value="@bind(each.number)" />
<label value="@bind(each.floor)" />
</row>
</template>
</rows>
</grid>
</vbox>
</hbox>
</window>
</zk>

@ -1,53 +1,102 @@
<?page title="${labels.BuildingsFormTitle}" contentType="text/html;charset=UTF-8"?>
<zk>
<window id="editWin" closable="true" border="normal" position="center" apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.buildings.BuildingForm')" width="750px">
<caption src="/img/building.png" zclass="form-caption" label="${labels.BuildingsFormTitle}" />
<window
id="editWin"
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>
<grid hflex="min">
<columns>
<column align="right" hflex="min" />
<column
align="right"
hflex="min" />
<column />
</columns>
<rows>
<row>
<cell sclass="row-title">${labels.BuildingsFormCode} :</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>
</row>
<row>
<cell sclass="row-title">${labels.BuildingsFormName} :</cell>
<cell>
<textbox id="name" width="200px" value="@bind(vm.dataBean.name)" />
<textbox
id="name"
width="200px"
value="@bind(vm.dataBean.name)" />
</cell>
</row>
<row>
<cell sclass="row-title">${labels.BuildingsFormDescription} :</cell>
<cell>
<textbox id="description" width="300px" value="@bind(vm.dataBean.description)" />
<textbox
id="description"
width="300px"
value="@bind(vm.dataBean.description)" />
</cell>
</row>
</rows>
</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)">
<listhead>
<listheader label="${labels.code}"/>
<listheader label="${labels.name}"/>
<listheader label="${labels.shortcut}"/>
<listheader label="${labels.number}"/>
<listheader label="${labels.floor}"/>
<listheader/>
<listheader label="${labels.code}" />
<listheader label="${labels.name}" />
<listheader label="${labels.shortcut}" />
<listheader label="${labels.number}" />
<listheader label="${labels.floor}" />
<listheader />
</listhead>
<template name="model">
<listitem>
<listcell><textbox inplace="true" value="@bind(each.code)"/></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>
<listcell>
<textbox
inplace="true"
value="@bind(each.code)" />
</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>
</template>
</listbox>

@ -1,23 +1,49 @@
<?page title="${labels.AgendaMaterial}" contentType="text/html;charset=UTF-8"?>
<zk>
<?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')">
<caption zclass="form-caption" label="${labels.AgendaMaterial}" />
<window
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" />
<listbox model="@load(vm.dataList)" selectedItem="@bind(vm.dataBean)" height="500px">
<listbox
vflex="1"
model="@load(vm.dataList)"
selectedItem="@bind(vm.dataBean)"
height="500px">
<listhead menupopup="auto">
<listheader label="${labels.code}" sort="czech(code)" 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%" />
<listheader
label="${labels.code}"
sort="czech(code)"
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>
<auxhead sclass="category-center" visible="@load(vm.filter)">
<auxheader>
<auxhead
sclass="category-center"
visible="@load(vm.filter)">
<auxheader>
<div sclass="find-grid-cell">
<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 sclass="find-grid-img">
<image src="/img/funnel.png" />
@ -27,7 +53,11 @@
<auxheader>
<div sclass="find-grid-cell">
<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 sclass="find-grid-img">
<image src="/img/funnel.png" />
@ -56,7 +86,11 @@
<auxheader>
<div sclass="find-grid-cell">
<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 sclass="find-grid-img">
<image src="/img/funnel.png" />
@ -64,16 +98,14 @@
</div>
</auxheader>
</auxhead>
<template name="model">
<listitem>
<listcell label="@load(each.code)" />
<listcell label="@load(each.name)" />
<listcell label="@load(each.munit.name)"/>
<listcell label="@load(each.munit.name)" />
<listcell label="@load(each.description)" />
</listitem>
</template>
</listbox>
</window>
</zk>

@ -1,33 +1,53 @@
<?page title="${labels.MaterialFormTitle}" contentType="text/html;charset=UTF-8"?>
<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')">
<caption src="/img/material.png" zclass="form-caption" label="${labels.MaterialFormTitle}" />
<caption
image="/img/palet-032.png"
zclass="form-caption"
label="${labels.MaterialFormTitle}" />
<vlayout>
<grid hflex="min">
<columns>
<column align="right" hflex="min" />
<column
align="right"
hflex="min" />
<column />
</columns>
<rows>
<row>
<cell sclass="row-title">${labels.code} :</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>
</row>
<row>
<cell sclass="row-title">${labels.name} :</cell>
<cell>
<textbox id="name" width="200px" value="@bind(vm.dataBean.name)" />
<textbox
id="name"
width="200px"
value="@bind(vm.dataBean.name)" />
</cell>
</row>
<row>
<cell sclass="row-title">${labels.munit} :</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">
<comboitem label="@load(each.name)"/>
<comboitem label="@load(each.name)" />
</template>
</combobox>
</cell>
@ -35,7 +55,10 @@
<row>
<cell sclass="row-title">${labels.description} :</cell>
<cell>
<textbox id="description" width="300px" value="@bind(vm.dataBean.description)" />
<textbox
id="description"
width="300px"
value="@bind(vm.dataBean.description)" />
</cell>
</row>
</rows>

@ -1,22 +1,46 @@
<?page title="${labels.AgendaServices}" contentType="text/html;charset=UTF-8"?>
<zk>
<?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')">
<caption zclass="form-caption" label="${labels.AgendaServices}" />
<window
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" />
<listbox model="@load(vm.dataList)" selectedItem="@bind(vm.dataBean)" height="500px">
<listbox
vflex="1"
model="@load(vm.dataList)"
selectedItem="@bind(vm.dataBean)"
height="500px">
<listhead menupopup="auto">
<listheader label="${labels.code}" sort="czech(code)" width="10%" />
<listheader label="${labels.name}" sort="czech(name)" width="30%" />
<listheader label="${labels.description}" sort="czech(description)" width="60%" />
<listheader
label="${labels.code}"
sort="czech(code)"
width="10%" />
<listheader
label="${labels.name}"
sort="czech(name)"
width="30%" />
<listheader
label="${labels.description}"
sort="czech(description)"
width="60%" />
</listhead>
<auxhead sclass="category-center" visible="@load(vm.filter)">
<auxheader>
<auxhead
sclass="category-center"
visible="@load(vm.filter)">
<auxheader>
<div sclass="find-grid-cell">
<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 sclass="find-grid-img">
<image src="/img/funnel.png" />
@ -26,7 +50,11 @@
<auxheader>
<div sclass="find-grid-cell">
<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 sclass="find-grid-img">
<image src="/img/funnel.png" />
@ -36,7 +64,11 @@
<auxheader>
<div sclass="find-grid-cell">
<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 sclass="find-grid-img">
<image src="/img/funnel.png" />
@ -44,7 +76,6 @@
</div>
</auxheader>
</auxhead>
<template name="model">
<listitem>
<listcell label="@load(each.code)" />
@ -53,6 +84,5 @@
</listitem>
</template>
</listbox>
</window>
</zk>

@ -1,31 +1,51 @@
<?page title="${labels.ServiceFormTitle}" contentType="text/html;charset=UTF-8"?>
<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')">
<caption src="/img/service.png" zclass="form-caption" label="${labels.ServiceFormTitle}" />
<caption
image="/img/painting-032.png"
zclass="form-caption"
label="${labels.ServiceFormTitle}" />
<vlayout>
<grid hflex="min">
<columns>
<column align="right" hflex="min" />
<column
align="right"
hflex="min" />
<column />
</columns>
<rows>
<row>
<cell sclass="row-title">${labels.code} :</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>
</row>
<row>
<cell sclass="row-title">${labels.name} :</cell>
<cell>
<textbox id="name" width="200px" value="@bind(vm.dataBean.name)" />
<textbox
id="name"
width="200px"
value="@bind(vm.dataBean.name)" />
</cell>
</row>
<row>
<cell sclass="row-title">${labels.description} :</cell>
<cell>
<textbox id="description" width="300px" value="@bind(vm.dataBean.description)" />
<textbox
id="description"
width="300px"
value="@bind(vm.dataBean.description)" />
</cell>
</row>
</rows>

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

@ -1,36 +1,42 @@
<?page title="Přihlášení" contentType="text/x-component;charset=UTF-8"?>
<?page title="${labels.Loggingin}" contentType="text/x-component;charset=UTF-8"?>
<zk>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<window title="Přihlášení" border="normal" width="300px"
apply="org.zkoss.bind.BindComposer"
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)"/>
<window
border="normal"
width="300px"
apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.LoginVM')">
<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;">
<![CDATA[
<form name='loginForm' action="j_spring_security_check"
method='POST'>
<form name='loginForm' action="j_spring_security_check" method='POST'>
<table>
<tr>
<td>Uživatel:</td>
<td><input type='text' name='j_username' value=''/>
</td>
</tr>
<tr>
<td>Heslo:</td>
<td><input type='password' name='j_password' />
</td>
</tr>
<tr>
<td colspan='2'><input name="submit" type="submit"
value="Přihlásit" class="nicebutton" />
</td>
</tr>
<tr>
<td>${labels.UsersFormFirstName}:</td>
<td><input type='text' name='j_username' value='' size="25" /></td>
</tr>
<tr>
<td>${labels.UsersFormPassword}:</td>
<td><input type='password' name='j_password' size="25" /></td>
</tr>
<tr>
<td colspan='2' align="center">
<input name="submit" type="submit" value="${labels.Login}" class="nicebutton" />
</td>
</tr>
</table>
</form>
]]>
</html>
</window>
</zk>

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

Loading…
Cancel
Save