Stylování vzhledu.
@ -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>
|
After Width: | Height: | Size: 585 B |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 816 B |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 893 B |
@ -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>
|
||||
</html>
|
||||
</window>
|
||||
|
||||
</zk>
|