Subversion Repositories general

Rev

Rev 980 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
980 dev 1
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
9 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">
9 dev 8
<html>
9
 
10
<head>
11
	<meta http-equiv="expires" content="0">
10 dev 12
	<title>Пьянка XP - Администрирование - Участник пьянки "<bean:write name="event" property="name" />"</title>
9 dev 13
	<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
14
</head>
15
 
16
<body>
17
 
10 dev 18
<h1>Пьянка XP - Администрирование - Участник пьянки "<bean:write name="event" property="name" />"</h1>
9 dev 19
 
20
<strutsx:errorsIterator id="errors" />
21
<strutsx:notEmpty name="errors">
10 dev 22
	<div class="error">Ошибки:
9 dev 23
		<ul>
24
		<logic:iterate name="errors" id="error">
25
			<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
26
		</logic:iterate>
27
		</ul>
28
	</div>
29
</strutsx:notEmpty>
30
 
31
<html:form action="/admin/participant/submit">
32
<backpath:current />
33
<html:hidden property="id" />
34
<html:hidden property="event" />
35
 
972 dev 36
<table border=0 cellspacing=0 cellpadding=4>
37
	<tr class="even">
10 dev 38
		<th>Кодовый номер</th>
972 dev 39
		<td colspan=2 width=300><bean:write name="participant" property="ident" />&nbsp;</td>
9 dev 40
    </tr>
972 dev 41
	<tr class="odd">
10 dev 42
		<th>Ник</th>
975 dev 43
		<td colspan=2><html:text property="nick" style="width:100%" maxlength="255" /></td>
9 dev 44
    </tr>
972 dev 45
	<tr class="even">
10 dev 46
		<th>e-mail</th>
975 dev 47
		<td colspan=2><html:text property="email" style="width:100%" maxlength="255" /></td>
9 dev 48
    </tr>
972 dev 49
	<tr class="odd">
10 dev 50
		<th>Показ e-mail разрешен</th>
969 dev 51
		<td colspan=2><html:checkbox property="emailPublic" /></td>
9 dev 52
    </tr>
972 dev 53
	<tr class="even">
10 dev 54
		<th>Имя</th>
975 dev 55
		<td colspan=2><html:text property="name" style="width:100%" maxlength="255" /></td>
9 dev 56
    </tr>
972 dev 57
	<tr class="odd">
10 dev 58
		<th>Телефон</th>
975 dev 59
		<td colspan=2><html:text property="phone" style="width:100%" maxlength="255" /></td>
9 dev 60
    </tr>
972 dev 61
	<tr class="even">
10 dev 62
		<th>Количество человек</th>
975 dev 63
		<td colspan=2><html:text property="persons" style="width:100%" maxlength="10" /></td>
9 dev 64
    </tr>
972 dev 65
	<tr class="odd">
10 dev 66
		<th>Выезд из PLZ</th>
975 dev 67
		<td colspan=2><html:text property="fromZip" style="width:100%" maxlength="10" /></td>
9 dev 68
    </tr>
972 dev 69
	<tr class="even">
10 dev 70
		<th>Выезд из города</th>
975 dev 71
		<td colspan=2><html:text property="fromCity" style="width:100%" maxlength="100" /></td>
9 dev 72
    </tr>
972 dev 73
	<tr class="odd">
10 dev 74
		<th>Время отправления</th>
975 dev 75
		<td colspan=2><html:text property="departure" style="width:100%" maxlength="100" /></td>
9 dev 76
    </tr>
972 dev 77
	<tr class="even">
10 dev 78
		<th>Свободных мест в машине</th>
975 dev 79
		<td colspan=2><html:text property="freeTransport" style="width:100%" maxlength="10" /></td>
9 dev 80
    </tr>
972 dev 81
	<tr class="odd">
10 dev 82
		<th>Условия транспортировки</th>
972 dev 83
		<td colspan=2><html:textarea property="transportComment" cols="40" rows="8" style="width:100%" /></td>
9 dev 84
    </tr>
972 dev 85
	<tr class="even">
10 dev 86
		<th>Свободных спальных мест</th>
975 dev 87
		<td colspan=2><html:text property="freeSleep" style="width:100%" maxlength="10" /></td>
9 dev 88
    </tr>
972 dev 89
	<tr class="odd">
10 dev 90
		<th>Условия ночевки</th>
972 dev 91
		<td colspan=2><html:textarea property="sleepComment" cols="40" rows="8" style="width:100%" /></td>
9 dev 92
    </tr>
972 dev 93
	<tr class="even">
1428 dev 94
		<th>Дополнительная информация<br><span class="comment">видима для всех</span></th>
972 dev 95
		<td colspan=2><html:textarea property="comment" cols="40" rows="8" style="width:100%" /></td>
9 dev 96
    </tr>
972 dev 97
	<tr class="odd">
1428 dev 98
		<th>Информация для организаторов<br><span class="comment">видима только данному участнику</span></th>
99
		<td colspan=2><html:textarea property="comment" cols="40" rows="8" style="width:100%" /></td>
100
    </tr>
101
	<tr class="even">
969 dev 102
		<th>Оплачено, евро</th>
975 dev 103
		<td><html:text property="payed" style="width:100%" maxlength="10" /></td>
969 dev 104
		<td>
105
			<logic:notEmpty name="participant" property="mustPay">
106
				(должен заплатить: <bean:write name="participant" property="mustPay" format="0.00" />)
107
			</logic:notEmpty>
108
		</td>
9 dev 109
    </tr>
1428 dev 110
	<tr class="odd">
111
		<th>Комментарии организаторов<br><span class="comment">видимы только организаторам</span></th>
972 dev 112
		<td colspan=2><html:textarea property="privateComment" cols="40" rows="8" style="width:100%" /></td>
9 dev 113
    </tr>
27 dev 114
 
115
<logic:notEmpty name="actList" property="objects">
116
	<tr>
972 dev 117
		<th colspan=3><div class="smallHeader">Участвует в</div></th>
27 dev 118
    </tr>
119
	<tr>
972 dev 120
		<td class="subHeader">Название</td>
121
		<td class="subHeader">Включить</td>
122
		<td class="subHeader">Дополнительно</td>
27 dev 123
    </tr>
124
	<logic:iterate name="ParticipantEditForm" property="acts" id="acts" indexId="iid">
125
		<tr>
972 dev 126
			<td>
27 dev 127
				<bean:write name="actList" property='<%= "objects[" + iid + "].act.name" %>' />
128
				<html:hidden name="acts" property="actId" indexed="true" />
972 dev 129
			</td>
27 dev 130
			<td><html:checkbox name="acts" property="selected" indexed="true" /></td>
972 dev 131
			<td><html:text name="acts" property="comment" indexed="true" style="width:100%" /></td>
27 dev 132
		</tr>
133
	</logic:iterate>
134
</logic:notEmpty>
135
 
9 dev 136
	<tr>
969 dev 137
		<td colspan=3>
10 dev 138
			<html:submit>Сохранить</html:submit>
16 dev 139
			<backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty>
9 dev 140
		</td>
141
    </tr>
142
</table>
143
 
144
</html:form>
145
 
975 dev 146
<%@ include file="/admin/footer.jsp" %>
147
 
9 dev 148
</body>
149
 
150
</html>