Subversion Repositories general

Rev

Rev 969 | Rev 973 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 969 Rev 972
Line 9... Line 9...
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
	<script>
-
 
15
		function confirmDelete()
-
 
16
		{
-
 
17
			return confirm("Вы уверены, что хотите удалить этого участника?");
-
 
18
		}
-
 
19
	</script>
14
</head>
20
</head>
15
 
21
 
16
<body>
22
<body>
17
 
23
 
18
<h1>Пьянка XP - Администрирование - Участники пьянки "<bean:write name="event" property="name" />"</h1>
24
<h1>Пьянка XP - Администрирование - Участники пьянки "<bean:write name="event" property="name" />"</h1>
Line 26... Line 32...
26
		</logic:iterate>
32
		</logic:iterate>
27
		</ul>
33
		</ul>
28
	</div>
34
	</div>
29
</strutsx:notEmpty>
35
</strutsx:notEmpty>
30
 
36
 
-
 
37
<div style="float:right; width:200px; background-color:#EDD9F1; padding: 1em; ">
31
<!-- legend begin -->
38
	<!-- legend begin -->
32
<div style="float:right; width:200px; background-color:#E0E0E0">
-
 
33
<logic:empty name="event" property="price">
39
	<logic:empty name="event" property="price">
34
<div style="margin: 1em; ">Размер оплаты участия в этой пьянке еще не определен, поэтому статус оплаты не показан.</div>
40
	<div>Размер оплаты участия в этой пьянке еще не определен, поэтому статус оплаты не показан.</div>
35
</logic:empty>
41
	</logic:empty>
36
<logic:notEmpty name="event" property="price">
42
	<logic:notEmpty name="event" property="price">
37
<table border=1 width=100%>
43
	<table border=0 width=100%>
38
	<tr><th colspan=2>Легенда</th><tr>
44
		<tr><th colspan=2>Легенда</th><tr>
39
	<tr><td class="payedNone" style="width:50px;">&nbsp;</td><td>Не заплатил</td></tr>
45
		<tr><td class="payedNone" style="width:50px;">&nbsp;</td><td>Не заплатил</td></tr>
40
	<tr><td class="payedLess">&nbsp;</td><td>Недоплатил</td></tr>
46
		<tr><td class="payedLess">&nbsp;</td><td>Недоплатил</td></tr>
41
	<tr><td class="payedExactly">&nbsp;</td><td>Все точно</td></tr>
47
		<tr><td class="payedExactly">&nbsp;</td><td>Все точно</td></tr>
42
	<tr><td class="payedMore">&nbsp;</td><td>Переплатил</td></tr>
48
		<tr><td class="payedMore">&nbsp;</td><td>Переплатил</td></tr>
-
 
49
		<tr><td colspan=2>&nbsp;</td></tr>
43
</table>
50
	</table>
44
</logic:notEmpty>
51
	</logic:notEmpty>
-
 
52
	<!-- legend end -->
-
 
53
 
-
 
54
	<table border=0 width=100%>
-
 
55
		<tr><th colspan=2>Статистика</th><tr>
-
 
56
		<tr><td>Всего заявок</td><td><bean:write name="event" property="participantCount" /></td></tr>
-
 
57
		<tr><td>Всего участников</td><td><bean:write name="event" property="personCount" /></td></tr>
-
 
58
	</table>
45
</div>
59
</div>
46
<!-- legend end -->
-
 
47
 
60
 
48
<table border=1>
61
<table border=0 cellspacing=0 cellpadding=4>
49
	<tr>
62
	<tr>
50
		<th>Кодовый номер</th>
63
		<th class="subHeader">Кодовый номер</th>
51
		<th>Ник</th>
64
		<th class="subHeader">Ник</th>
52
		<th>e-mail</th>
65
		<th class="subHeader">e-mail</th>
53
		<th>Имя</th>
66
		<th class="subHeader">Имя</th>
54
		<th>Количество</th>
67
		<th class="subHeader">Количество</th>
55
		<th>Оплачено, евро</th>
68
		<th class="subHeader">Оплачено, евро</th>
-
 
69
		<th class="subHeader" width=50>&nbsp;</th>
56
		<th>&nbsp;</th>
70
		<th class="subHeader">&nbsp;</th>
57
		<th>&nbsp;</th>
71
		<th class="subHeader">&nbsp;</th>
58
	</tr>
72
	</tr>
59
 
73
 
60
<logic:iterate name="participants" id="p">
74
<logic:iterate name="participants" id="p">
-
 
75
	<tr>
61
	<tr class="<logic:equal name="p" property="payedStatus" value="0"
76
		<td class="<logic:equal name="p" property="payedStatus" value="0"
62
			>payedNull</logic:equal><logic:equal name="p" property="payedStatus" value="1"
77
			>payedNull</logic:equal><logic:equal name="p" property="payedStatus" value="1"
63
			>payedNone</logic:equal><logic:equal name="p" property="payedStatus" value="2"
78
			>payedNone</logic:equal><logic:equal name="p" property="payedStatus" value="2"
64
			>payedLess</logic:equal><logic:equal name="p" property="payedStatus" value="3"
79
			>payedLess</logic:equal><logic:equal name="p" property="payedStatus" value="3"
65
			>payedExactly</logic:equal><logic:equal name="p" property="payedStatus" value="4"
80
			>payedExactly</logic:equal><logic:equal name="p" property="payedStatus" value="4"
66
			>payedMore</logic:equal>">
81
			>payedMore</logic:equal>" style="border-bottom: 1px dotted black;">
67
		<td><bean:write name="p" property="ident"   /></td>
82
				<bean:write name="p" property="ident"   />
68
		<td><bean:write name="p" property="nick"    />&nbsp;</td>
-
 
69
		<td><a href="mailto:<bean:write name="p" property="email"   />"><bean:write name="p" property="email"   /></a></td>
-
 
70
		<td><bean:write name="p" property="name"    />&nbsp;</td>
-
 
71
		<td><bean:write name="p" property="persons" />&nbsp;</td>
-
 
72
		<td><bean:write name="p" property="payed" format="0.00" />&nbsp;</td>
-
 
73
		<td>
-
 
74
			<kickup:link action="/admin/participant/edit" paramId="id" paramName="p" paramProperty="id" paramId2="event" paramName2="event" paramProperty2="id">редактировать</kickup:link>
-
 
75
		</td>
83
		</td>
76
		<td>
84
		<td style="border-bottom: 1px dotted black;">
77
			<backpath:link action="/admin/participant/delete" paramId="id" paramName="p" paramProperty="id">удалить</backpath:link>
85
			<bean:write name="p" property="nick"    />&nbsp;
78
		</td>
86
		</td>
-
 
87
		<td style="border-bottom: 1px dotted black;">
-
 
88
			<a href="mailto:<bean:write name="p" property="email"   />"><bean:write name="p" property="email"   /></a>
-
 
89
		</td>
-
 
90
		<td style="border-bottom: 1px dotted black;">
-
 
91
			<bean:write name="p" property="name"    />&nbsp;
-
 
92
		</td>
-
 
93
		<td style="border-bottom: 1px dotted black;">
-
 
94
			<bean:write name="p" property="persons" />&nbsp;
-
 
95
		</td>
-
 
96
		<td style="border-bottom: 1px dotted black;">
-
 
97
			<bean:write name="p" property="payed" format="0.00" />&nbsp;
-
 
98
		</td>
-
 
99
 
-
 
100
		<td class="standardCell" style="border-bottom: 1px dotted black;">&nbsp;</td>
-
 
101
		<td class="standardCell" style="border-bottom: 1px dotted black;">
-
 
102
			<kickup:link action="/admin/participant/edit" paramId="id" paramName="p" paramProperty="id" paramId2="event" paramName2="event" paramProperty2="id"><img src="<strutsx:root />/images/edit.gif" alt="Редактировать" border=0></kickup:link>
-
 
103
		</td>
-
 
104
		<td class="standardCell" style="border-bottom: 1px dotted black;">
-
 
105
			<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>
-
 
106
		</td>
79
	</tr>
107
	</tr>
80
</logic:iterate>
108
</logic:iterate>
-
 
109
	<tr>
-
 
110
		<td colspan=9>&nbsp;</td>
-
 
111
	</tr>
81
</table>
112
</table>
82
 
113
 
83
<p>Всего заявок: <bean:write name="event" property="participantCount" /></p>
-
 
84
<p>Всего участников: <bean:write name="event" property="personCount" /></p>
-
 
85
 
114
<div>
86
<backpath:link action="/admin/participant/edit" paramId="event" paramName="event" paramProperty="id">Добавить участника</backpath:link>
115
<backpath:link action="/admin/participant/edit" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/add.gif" alt="Добавить участника" border=0></backpath:link>
87
<br>
-
 
88
<backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty>
116
<backpath:notEmpty><backpath:backlink><img src="<strutsx:root />/images/back-small.gif" alt="Назад" border=0></backpath:backlink></backpath:notEmpty>
-
 
117
</div>
89
 
118
 
90
</body>
119
</body>
91
 
120
 
92
</html>
121
</html>