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