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"?>
 | 
					<?page title="Informace" contentType="text/html;charset=UTF-8"?>
 | 
				
			||||||
<zk>
 | 
					<zk>
 | 
				
			||||||
<window border="normal" apply="org.zkoss.bind.BindComposer"
 | 
						<window
 | 
				
			||||||
	viewModel="@id('vm') @init('info.bukova.isspst.ui.dashboard.DashBoardVM')">
 | 
							vflex="1"
 | 
				
			||||||
<caption zclass="form-caption" label="${labels.Information}" />
 | 
							border="normal"
 | 
				
			||||||
<vbox>
 | 
							apply="org.zkoss.bind.BindComposer"
 | 
				
			||||||
	<hbox>
 | 
							viewModel="@id('vm') @init('info.bukova.isspst.ui.dashboard.DashBoardVM')">
 | 
				
			||||||
		<label value="${labels.LogedInUser}"/> <image src="/img/user-small.png"/> <label value="@load(vm.user)"/>
 | 
							<caption
 | 
				
			||||||
	</hbox>
 | 
								zclass="form-caption"
 | 
				
			||||||
	<groupbox mold="3d">
 | 
								label="${labels.Information}" />
 | 
				
			||||||
		<caption image="/img/commission-small.png" label="${labels.CentresForRequirements}"/>
 | 
							<vbox vflex="1">
 | 
				
			||||||
		<hbox children="@load(vm.centres)">
 | 
								<hbox>
 | 
				
			||||||
			<template name="children">
 | 
									<label value="${labels.LogedInUser}" />
 | 
				
			||||||
			<listbox model="@load(vm.groupRoles[each])">
 | 
									<image src="/img/user-small.png" />
 | 
				
			||||||
				<listhead>
 | 
									<label value="@load(vm.user)" />
 | 
				
			||||||
					<listheader label="@load(each.fullName)"/>
 | 
								</hbox>
 | 
				
			||||||
				</listhead>
 | 
								<groupbox
 | 
				
			||||||
				<template name="model" var="role">
 | 
									vflex="1"
 | 
				
			||||||
					<listitem>
 | 
									mold="3d">
 | 
				
			||||||
						<listcell label="@load(role.description)"/>
 | 
									<caption
 | 
				
			||||||
					</listitem>
 | 
										image="/img/commission-small.png"
 | 
				
			||||||
				</template>
 | 
										label="${labels.CentresForRequirements}" />
 | 
				
			||||||
			</listbox>
 | 
									<hbox children="@load(vm.centres)">
 | 
				
			||||||
			</template>
 | 
										<template name="children">
 | 
				
			||||||
		</hbox>
 | 
											<listbox model="@load(vm.groupRoles[each])">
 | 
				
			||||||
	</groupbox>
 | 
												<listhead>
 | 
				
			||||||
	<groupbox mold="3d">
 | 
													<listheader label="@load(each.fullName)" />
 | 
				
			||||||
		<caption image="/img/commission-small.png" label="${labels.WorkgroupMembership}"/>
 | 
												</listhead>
 | 
				
			||||||
		<hbox children="@load(vm.workgroups)">
 | 
												<template
 | 
				
			||||||
			<template name="children">
 | 
													name="model"
 | 
				
			||||||
			<listbox model="@load(vm.groupRoles[each])">
 | 
													var="role">
 | 
				
			||||||
				<listhead>
 | 
													<listitem>
 | 
				
			||||||
					<listheader label="@load(each.fullName)"/>
 | 
														<listcell label="@load(role.description)" />
 | 
				
			||||||
				</listhead>
 | 
													</listitem>
 | 
				
			||||||
				<template name="model" var="role">
 | 
												</template>
 | 
				
			||||||
					<listitem>
 | 
											</listbox>
 | 
				
			||||||
						<listcell label="@load(role.description)"/>
 | 
										</template>
 | 
				
			||||||
					</listitem>
 | 
									</hbox>
 | 
				
			||||||
				</template>
 | 
								</groupbox>
 | 
				
			||||||
			</listbox>
 | 
								<groupbox
 | 
				
			||||||
			</template>
 | 
									vflex="1"
 | 
				
			||||||
		</hbox>
 | 
									mold="3d">
 | 
				
			||||||
	</groupbox>
 | 
									<caption
 | 
				
			||||||
</vbox>
 | 
										image="/img/commission-small.png"
 | 
				
			||||||
 | 
										label="${labels.WorkgroupMembership}" />
 | 
				
			||||||
</window>
 | 
									<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>
 | 
					</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">
 | 
					<html
 | 
				
			||||||
    <head>
 | 
						xmlns="native"
 | 
				
			||||||
        <title>Objednávky</title>
 | 
						xmlns:u="zul"
 | 
				
			||||||
    </head>
 | 
						xmlns:zk="zk">
 | 
				
			||||||
    <body style="height: 100%; padding: 0 5px;">
 | 
						<head>
 | 
				
			||||||
 | 
							<title>${labels.Loggingin}</title>
 | 
				
			||||||
<div style="height: 15%"/>
 | 
						</head>
 | 
				
			||||||
 | 
						<body style="height: 100%; padding: 0 5px;">
 | 
				
			||||||
<div align="center">
 | 
							<div style="height: 15%" />
 | 
				
			||||||
 | 
							<div align="center">
 | 
				
			||||||
	<u:include src="login.zul"/>
 | 
								<u:include src="login.zul" />
 | 
				
			||||||
	
 | 
							</div>
 | 
				
			||||||
</div>
 | 
						</body>
 | 
				
			||||||
</body>
 | 
					 | 
				
			||||||
</html>
 | 
					</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>
 | 
					<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
 | 
				
			||||||
	apply="org.zkoss.bind.BindComposer"
 | 
							border="normal"
 | 
				
			||||||
	viewModel="@id('vm') @init('info.bukova.isspst.ui.LoginVM')">
 | 
							width="300px"
 | 
				
			||||||
		<label value="Špatný login nebo heslo!" style="font-weight:bold; font-size: 14px; color: red;" visible="@load(vm.loginFailed)"/>
 | 
							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;">
 | 
							<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>${labels.UsersFormPassword}:</td>
 | 
				
			||||||
  <td>Heslo:</td>
 | 
							<td><input type='password' name='j_password' size="25" /></td>
 | 
				
			||||||
  <td><input type='password' name='j_password' />
 | 
						</tr>
 | 
				
			||||||
  </td>
 | 
						<tr>
 | 
				
			||||||
 </tr>
 | 
							<td colspan='2' align="center">
 | 
				
			||||||
 <tr>
 | 
								<input name="submit" type="submit" value="${labels.Login}" class="nicebutton" />
 | 
				
			||||||
  <td colspan='2'><input name="submit" type="submit"
 | 
							</td>
 | 
				
			||||||
   value="Přihlásit" class="nicebutton" />
 | 
						</tr>
 | 
				
			||||||
  </td>
 | 
					 | 
				
			||||||
 </tr>
 | 
					 | 
				
			||||||
</table>
 | 
					</table>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
</form>
 | 
					</form>
 | 
				
			||||||
			]]>
 | 
								]]>
 | 
				
			||||||
		</html>	
 | 
							</html>
 | 
				
			||||||
	</window>
 | 
						</window>
 | 
				
			||||||
 | 
					 | 
				
			||||||
</zk>
 | 
					</zk>
 | 
				
			||||||