Subversion Repositories general

Rev

Rev 973 | Rev 979 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 dev 1
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
2
<%@ taglib uri="/WEB-INF/struts-bean.tld"      prefix="bean"     %>
3
<%@ taglib uri="/WEB-INF/struts-logic.tld"     prefix="logic"    %>
4
<%@ taglib uri="/WEB-INF/struts-html.tld"      prefix="html"     %>
5
<%@ taglib uri="/WEB-INF/ak-backpath.tld"      prefix="backpath" %>
6
<%@ taglib uri="/WEB-INF/ak-strutsx.tld"       prefix="strutsx"  %>
7
<html>
8
 
9
<head>
10
	<meta http-equiv="expires" content="0">
10 dev 11
	<title>Пьянка XP - Администрирование - Гостиницы</title>
3 dev 12
	<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
972 dev 13
	<script>
14
		function confirmDelete()
15
		{
16
			return confirm("Вы уверены, что хотите удалить эту гостиницу?");
17
		}
18
	</script>
3 dev 19
</head>
20
 
21
<body>
22
 
10 dev 23
<h1>Пьянка XP - Администрирование - Гостиницы</h1>
3 dev 24
 
25
<strutsx:errorsIterator id="errors" />
26
<strutsx:notEmpty name="errors">
10 dev 27
	<div class="error">Ошибки:
3 dev 28
		<ul>
29
		<logic:iterate name="errors" id="error">
30
			<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
31
		</logic:iterate>
32
		</ul>
33
	</div>
34
</strutsx:notEmpty>
35
 
972 dev 36
<table border=0 cellspacing=0 cellpadding=4>
3 dev 37
	<tr>
972 dev 38
		<th class="subHeader">Название</th>
39
		<th class="subHeader" width=50>&nbsp;</th>
40
		<th class="subHeader">&nbsp;</th>
41
		<th class="subHeader">&nbsp;</th>
3 dev 42
	</tr>
43
 
44
<logic:iterate name="apartments" id="a">
45
	<tr>
973 dev 46
		<td class="listCell"><bean:write name="a" property="name"  /></td>
47
		<td class="listCell">&nbsp;</td>
48
		<td class="listCell">
972 dev 49
			<backpath:link action="/admin/apartment/edit" paramId="id" paramName="a" paramProperty="id"><img src="<strutsx:root />/images/edit.gif" alt="Редактировать" border=0></backpath:link>
3 dev 50
		</td>
973 dev 51
		<td class="listCell">
972 dev 52
			<backpath:link action="/admin/apartment/delete" paramId="id" paramName="a" paramProperty="id" onclick="return confirmDelete();"><img src="<strutsx:root />/images/delete.gif" alt="Удалить" border=0></backpath:link>
3 dev 53
		</td>
54
	</tr>
55
</logic:iterate>
972 dev 56
	<tr>
57
		<td colspan=4>&nbsp;</td>
58
	</tr>
3 dev 59
</table>
60
 
972 dev 61
<div>
62
<backpath:link action="/admin/apartment/edit"><img src="<strutsx:root />/images/add.gif" alt="Добавить гостиницу" border=0></backpath:link>
63
<backpath:notEmpty><backpath:backlink><img src="<strutsx:root />/images/back-small.gif" alt="Назад" border=0></backpath:backlink></backpath:notEmpty>
64
</div>
3 dev 65
 
975 dev 66
<%@ include file="/admin/footer.jsp" %>
67
 
3 dev 68
</body>
69
 
70
</html>