Rev 992 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
990 | 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" %> |
||
16 | dev | 7 | <%@ taglib uri="/WEB-INF/ak-kickup.tld" prefix="kickup" %> |
980 | dev | 8 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
9 | dev | 9 | <html> |
10 | |||
11 | <head> |
||
12 | <meta http-equiv="expires" content="0"> |
||
10 | dev | 13 | <title>Пьянка XP - Администрирование - Участники пьянки "<bean:write name="event" property="name" />"</title> |
9 | dev | 14 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
983 | dev | 15 | <script type="text/javascript"> |
972 | dev | 16 | function confirmDelete() |
17 | { |
||
18 | return confirm("Вы уверены, что хотите удалить этого участника?"); |
||
19 | } |
||
20 | </script> |
||
9 | dev | 21 | </head> |
22 | |||
23 | <body> |
||
24 | |||
10 | dev | 25 | <h1>Пьянка XP - Администрирование - Участники пьянки "<bean:write name="event" property="name" />"</h1> |
9 | dev | 26 | |
27 | <strutsx:errorsIterator id="errors" /> |
||
28 | <strutsx:notEmpty name="errors"> |
||
10 | dev | 29 | <div class="error">Ошибки: |
9 | dev | 30 | <ul> |
31 | <logic:iterate name="errors" id="error"> |
||
32 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
||
33 | </logic:iterate> |
||
34 | </ul> |
||
35 | </div> |
||
36 | </strutsx:notEmpty> |
||
37 | |||
972 | dev | 38 | <div style="float:right; width:200px; background-color:#EDD9F1; padding: 1em; "> |
39 | <!-- legend begin --> |
||
40 | <logic:empty name="event" property="price"> |
||
41 | <div>Размер оплаты участия в этой пьянке еще не определен, поэтому статус оплаты не показан.</div> |
||
42 | </logic:empty> |
||
43 | <logic:notEmpty name="event" property="price"> |
||
989 | dev | 44 | <table border=0 width="100%"> |
992 | dev | 45 | <tr><th colspan=2>Легенда</th></tr> |
972 | dev | 46 | <tr><td class="payedNone" style="width:50px;"> </td><td>Не заплатил</td></tr> |
47 | <tr><td class="payedLess"> </td><td>Недоплатил</td></tr> |
||
48 | <tr><td class="payedExactly"> </td><td>Все точно</td></tr> |
||
49 | <tr><td class="payedMore"> </td><td>Переплатил</td></tr> |
||
50 | <tr><td colspan=2> </td></tr> |
||
51 | </table> |
||
52 | </logic:notEmpty> |
||
53 | <!-- legend end --> |
||
54 | |||
988 | dev | 55 | <table border=0 width="100%"> |
992 | dev | 56 | <tr><th colspan=2>Статистика</th></tr> |
972 | dev | 57 | <tr><td>Всего заявок</td><td><bean:write name="event" property="participantCount" /></td></tr> |
58 | <tr><td>Всего участников</td><td><bean:write name="event" property="personCount" /></td></tr> |
||
59 | </table> |
||
969 | dev | 60 | </div> |
61 | |||
972 | dev | 62 | <table border=0 cellspacing=0 cellpadding=4> |
9 | dev | 63 | <tr> |
972 | dev | 64 | <th class="subHeader">Кодовый номер</th> |
65 | <th class="subHeader">Ник</th> |
||
66 | <th class="subHeader">e-mail</th> |
||
67 | <th class="subHeader">Имя</th> |
||
1428 | dev | 68 | <th class="subHeader">Город</th> |
972 | dev | 69 | <th class="subHeader">Количество</th> |
70 | <th class="subHeader">Оплачено, евро</th> |
||
71 | <th class="subHeader" width=50> </th> |
||
72 | <th class="subHeader"> </th> |
||
73 | <th class="subHeader"> </th> |
||
9 | dev | 74 | </tr> |
75 | |||
76 | <logic:iterate name="participants" id="p"> |
||
972 | dev | 77 | <tr> |
78 | <td class="<logic:equal name="p" property="payedStatus" value="0" |
||
969 | dev | 79 | >payedNull</logic:equal><logic:equal name="p" property="payedStatus" value="1" |
80 | >payedNone</logic:equal><logic:equal name="p" property="payedStatus" value="2" |
||
81 | >payedLess</logic:equal><logic:equal name="p" property="payedStatus" value="3" |
||
82 | >payedExactly</logic:equal><logic:equal name="p" property="payedStatus" value="4" |
||
990 | dev | 83 | >payedMore</logic:equal>" style="border-bottom: 1px solid #C0C0C0; "> |
972 | dev | 84 | <bean:write name="p" property="ident" /> |
9 | dev | 85 | </td> |
973 | dev | 86 | <td class="listCell"> |
972 | dev | 87 | <bean:write name="p" property="nick" /> |
9 | dev | 88 | </td> |
973 | dev | 89 | <td class="listCell"> |
972 | dev | 90 | <a href="mailto:<bean:write name="p" property="email" />"><bean:write name="p" property="email" /></a> |
91 | </td> |
||
973 | dev | 92 | <td class="listCell"> |
972 | dev | 93 | <bean:write name="p" property="name" /> |
94 | </td> |
||
973 | dev | 95 | <td class="listCell"> |
1428 | dev | 96 | <bean:write name="p" property="fromCity" /> |
97 | </td> |
||
98 | <td class="listCell"> |
||
99 | <bean:write name="p" property="persons" /> |
||
972 | dev | 100 | </td> |
973 | dev | 101 | <td class="listCell"> |
972 | dev | 102 | <bean:write name="p" property="payed" format="0.00" /> |
103 | </td> |
||
104 | |||
973 | dev | 105 | <td class="listCell"> </td> |
106 | <td class="listCell"> |
||
976 | dev | 107 | <kickup:link action="/admin/participant/edit" paramId="id" paramName="p" paramProperty="id" paramId2="event" paramName2="event" paramProperty2="id" backpath="true"><img src="<strutsx:root />/images/edit.gif" alt="Редактировать" border=0></kickup:link> |
972 | dev | 108 | </td> |
973 | dev | 109 | <td class="listCell"> |
972 | dev | 110 | <backpath:link action="/admin/participant/delete" paramId="id" paramName="p" paramProperty="id" onclick="return confirmDelete();"><img src="<strutsx:root />/images/delete.gif" alt="Удалить" border=0></backpath:link> |
111 | </td> |
||
9 | dev | 112 | </tr> |
113 | </logic:iterate> |
||
972 | dev | 114 | <tr> |
115 | <td colspan=9> </td> |
||
116 | </tr> |
||
9 | dev | 117 | </table> |
118 | |||
972 | dev | 119 | <div> |
120 | <backpath:link action="/admin/participant/edit" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/add.gif" alt="Добавить участника" border=0></backpath:link> |
||
121 | <backpath:notEmpty><backpath:backlink><img src="<strutsx:root />/images/back-small.gif" alt="Назад" border=0></backpath:backlink></backpath:notEmpty> |
||
122 | </div> |
||
19 | dev | 123 | |
975 | dev | 124 | <%@ include file="/admin/footer.jsp" %> |
125 | |||
9 | dev | 126 | </body> |
127 | |||
128 | </html> |