Subversion Repositories general

Rev

Rev 975 | Rev 980 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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