Subversion Repositories general

Rev

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

Rev Author Line No. Line
979 dev 1
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
3 dev 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"  %>
980 dev 7
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3 dev 8
<html>
9
 
10
<head>
11
	<meta http-equiv="expires" content="0">
10 dev 12
	<title>Пьянка XP - Администрирование - Пьянки</title>
3 dev 13
	<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
972 dev 14
	<script>
15
		function confirmDelete()
16
		{
17
			return confirm("Вы уверены, что хотите удалить эту пьянку со всеми участниками?");
18
		}
19
	</script>
3 dev 20
</head>
21
 
22
<body>
23
 
10 dev 24
<h1>Пьянка XP - Администрирование - Пьянки</h1>
3 dev 25
 
26
<strutsx:errorsIterator id="errors" />
27
<strutsx:notEmpty name="errors">
10 dev 28
	<div class="error">Ошибки:
3 dev 29
		<ul>
30
		<logic:iterate name="errors" id="error">
31
			<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
32
		</logic:iterate>
33
		</ul>
34
	</div>
35
</strutsx:notEmpty>
36
 
972 dev 37
<table border=0 cellspacing=0 cellpadding=4>
3 dev 38
	<tr>
972 dev 39
		<th class="subHeader">Название</th>
40
		<th class="subHeader">Место/город</th>
41
		<th class="subHeader">Начало</th>
42
		<th class="subHeader">Окончание</th>
43
		<th class="subHeader">В открытом доступе</th>
44
		<th class="subHeader">Заявок</th>
45
		<th class="subHeader">Участников</th>
46
		<th class="subHeader" width=50>&nbsp;</th>
47
		<th class="subHeader">&nbsp;</th>
48
		<th class="subHeader">&nbsp;</th>
49
		<th class="subHeader">&nbsp;</th>
3 dev 50
	</tr>
51
 
52
<logic:iterate name="events" id="e">
53
	<tr>
973 dev 54
		<td class="listCell"><bean:write name="e" property="name"  /></td>
55
		<td class="listCell"><bean:write name="e" property="place" />&nbsp;</td>
56
		<td class="listCell"><bean:write name="e" property="start" format="dd.MM.yyyy" />&nbsp;</td>
57
		<td class="listCell"><bean:write name="e" property="stop"  format="dd.MM.yyyy" />&nbsp;</td>
58
		<td align=middle class="listCell">
10 dev 59
			<logic:equal name="e" property="enabled" value="true">да</logic:equal>
60
			<logic:notEqual name="e" property="enabled" value="true">нет</logic:notEqual>
3 dev 61
		</td>
973 dev 62
		<td align=right class="listCell"><bean:write name="e" property="participantCount" /></td>
63
		<td align=right class="listCell"><bean:write name="e" property="personCount" /></td>
972 dev 64
 
973 dev 65
		<td class="listCell">&nbsp;</td>
66
		<td class="listCell">
972 dev 67
			<backpath:link action="/admin/event/edit" paramId="id" paramName="e" paramProperty="id"><img src="<strutsx:root />/images/edit.gif" alt="Редактировать" border=0></backpath:link>
3 dev 68
		</td>
973 dev 69
		<td class="listCell">
972 dev 70
			<backpath:link action="/admin/event/delete" paramId="id" paramName="e" paramProperty="id" onclick="return confirmDelete();"><img src="<strutsx:root />/images/delete.gif" alt="Удалить" border=0></backpath:link>
3 dev 71
		</td>
973 dev 72
		<td class="listCell">
972 dev 73
			<backpath:link action="/admin/participant/list" paramId="event" paramName="e" paramProperty="id"><img src="<strutsx:root />/images/participants-small.gif" alt="Участники" border=0></backpath:link>
9 dev 74
		</td>
3 dev 75
	</tr>
76
</logic:iterate>
972 dev 77
	<tr>
78
		<td colspan=11>&nbsp;</td>
79
	</tr>
3 dev 80
</table>
81
 
972 dev 82
<div>
83
<backpath:link action="/admin/event/edit"><img src="<strutsx:root />/images/add.gif" alt="Добавить пьянку" border=0></backpath:link>
84
<backpath:notEmpty><backpath:backlink><img src="<strutsx:root />/images/back-small.gif" alt="Назад" border=0></backpath:backlink></backpath:notEmpty>
85
</div>
3 dev 86
 
975 dev 87
<%@ include file="/admin/footer.jsp" %>
88
 
3 dev 89
</body>
90
 
91
</html>