Subversion Repositories general

Rev

Rev 16 | Rev 972 | 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">
13
</head>
14
 
15
<body>
16
 
10 dev 17
<h1>Пьянка XP - Администрирование - Пьянки</h1>
3 dev 18
 
19
<strutsx:errorsIterator id="errors" />
20
<strutsx:notEmpty name="errors">
10 dev 21
	<div class="error">Ошибки:
3 dev 22
		<ul>
23
		<logic:iterate name="errors" id="error">
24
			<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
25
		</logic:iterate>
26
		</ul>
27
	</div>
28
</strutsx:notEmpty>
29
 
30
<table border=1>
31
	<tr>
10 dev 32
		<th>Название</th>
33
		<th>Место/город</th>
34
		<th>Начало</th>
35
		<th>Окончание</th>
19 dev 36
		<th>В открытом доступе</th>
37
		<th>Заявок</th>
38
		<th>Участников</th>
3 dev 39
		<th>&nbsp;</th>
40
		<th>&nbsp;</th>
9 dev 41
		<th>&nbsp;</th>
3 dev 42
	</tr>
43
 
44
<logic:iterate name="events" id="e">
45
	<tr>
46
		<td><bean:write name="e" property="name"  /></td>
47
		<td><bean:write name="e" property="place" />&nbsp;</td>
9 dev 48
		<td><bean:write name="e" property="start" format="dd.MM.yyyy" />&nbsp;</td>
49
		<td><bean:write name="e" property="stop"  format="dd.MM.yyyy" />&nbsp;</td>
3 dev 50
		<td>
10 dev 51
			<logic:equal name="e" property="enabled" value="true">да</logic:equal>
52
			<logic:notEqual name="e" property="enabled" value="true">нет</logic:notEqual>
3 dev 53
		</td>
19 dev 54
		<td><bean:write name="e" property="participantCount" /></td>
55
		<td><bean:write name="e" property="personCount" /></td>
3 dev 56
		<td>
10 dev 57
			<backpath:link action="/admin/event/edit" paramId="id" paramName="e" paramProperty="id">редактировать</backpath:link>
3 dev 58
		</td>
59
		<td>
10 dev 60
			<backpath:link action="/admin/event/delete" paramId="id" paramName="e" paramProperty="id">удалить</backpath:link>
3 dev 61
		</td>
9 dev 62
		<td>
10 dev 63
			<backpath:link action="/admin/participant/list" paramId="event" paramName="e" paramProperty="id">участники</backpath:link>
9 dev 64
		</td>
3 dev 65
	</tr>
66
</logic:iterate>
67
</table>
68
 
10 dev 69
<backpath:link action="/admin/event/edit">Добавить пьянку</backpath:link>
3 dev 70
<br>
16 dev 71
<backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty>
3 dev 72
 
73
</body>
74
 
75
</html>