Subversion Repositories general

Rev

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

Rev Author Line No. Line
979 dev 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
¿<%@ page contentType="text/html;charset=UTF-8" language="java" %>
9 dev 3
<%@ taglib uri="/WEB-INF/struts-bean.tld"      prefix="bean"     %>
4
<%@ taglib uri="/WEB-INF/struts-logic.tld"     prefix="logic"    %>
5
<%@ taglib uri="/WEB-INF/struts-html.tld"      prefix="html"     %>
6
<%@ taglib uri="/WEB-INF/ak-backpath.tld"      prefix="backpath" %>
7
<%@ taglib uri="/WEB-INF/ak-strutsx.tld"       prefix="strutsx"  %>
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">
10 dev 94
		<th>Дополнительная информация</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">
969 dev 98
		<th>Оплачено, евро</th>
975 dev 99
		<td><html:text property="payed" style="width:100%" maxlength="10" /></td>
969 dev 100
		<td>
101
			<logic:notEmpty name="participant" property="mustPay">
102
				(должен заплатить: <bean:write name="participant" property="mustPay" format="0.00" />)
103
			</logic:notEmpty>
104
		</td>
9 dev 105
    </tr>
972 dev 106
	<tr class="even">
10 dev 107
		<th>Комментарии организаторов</th>
972 dev 108
		<td colspan=2><html:textarea property="privateComment" cols="40" rows="8" style="width:100%" /></td>
9 dev 109
    </tr>
27 dev 110
 
111
<logic:notEmpty name="actList" property="objects">
112
	<tr>
972 dev 113
		<th colspan=3><div class="smallHeader">Участвует в</div></th>
27 dev 114
    </tr>
115
	<tr>
972 dev 116
		<td class="subHeader">Название</td>
117
		<td class="subHeader">Включить</td>
118
		<td class="subHeader">Дополнительно</td>
27 dev 119
    </tr>
120
	<logic:iterate name="ParticipantEditForm" property="acts" id="acts" indexId="iid">
121
		<tr>
972 dev 122
			<td>
27 dev 123
				<bean:write name="actList" property='<%= "objects[" + iid + "].act.name" %>' />
124
				<html:hidden name="acts" property="actId" indexed="true" />
972 dev 125
			</td>
27 dev 126
			<td><html:checkbox name="acts" property="selected" indexed="true" /></td>
972 dev 127
			<td><html:text name="acts" property="comment" indexed="true" style="width:100%" /></td>
27 dev 128
		</tr>
129
	</logic:iterate>
130
</logic:notEmpty>
131
 
9 dev 132
	<tr>
969 dev 133
		<td colspan=3>
10 dev 134
			<html:submit>Сохранить</html:submit>
16 dev 135
			<backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty>
9 dev 136
		</td>
137
    </tr>
138
</table>
139
 
140
</html:form>
141
 
975 dev 142
<%@ include file="/admin/footer.jsp" %>
143
 
9 dev 144
</body>
145
 
146
</html>