Rev 19 | Rev 973 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 19 | Rev 972 | ||
---|---|---|---|
Line 8... | Line 8... | ||
8 | 8 | ||
9 | <head> |
9 | <head> |
10 | <meta http-equiv="expires" content="0"> |
10 | <meta http-equiv="expires" content="0"> |
11 | <title>Пьянка XP - Администрирование - Пьянки</title> |
11 | <title>Пьянка XP - Администрирование - Пьянки</title> |
12 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
12 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
- | 13 | <script> |
|
- | 14 | function confirmDelete() |
|
- | 15 | { |
|
- | 16 | return confirm("Вы уверены, что хотите удалить эту пьянку со всеми участниками?"); |
|
- | 17 | } |
|
- | 18 | </script> |
|
13 | </head> |
19 | </head> |
14 | 20 | ||
15 | <body> |
21 | <body> |
16 | 22 | ||
17 | <h1>Пьянка XP - Администрирование - Пьянки</h1> |
23 | <h1>Пьянка XP - Администрирование - Пьянки</h1> |
Line 25... | Line 31... | ||
25 | </logic:iterate> |
31 | </logic:iterate> |
26 | </ul> |
32 | </ul> |
27 | </div> |
33 | </div> |
28 | </strutsx:notEmpty> |
34 | </strutsx:notEmpty> |
29 | 35 | ||
30 | <table border=1> |
36 | <table border=0 cellspacing=0 cellpadding=4> |
31 | <tr> |
37 | <tr> |
32 | <th>Название</th> |
38 | <th class="subHeader">Название</th> |
33 | <th>Место/город</th> |
39 | <th class="subHeader">Место/город</th> |
34 | <th>Начало</th> |
40 | <th class="subHeader">Начало</th> |
35 | <th>Окончание</th> |
41 | <th class="subHeader">Окончание</th> |
36 | <th>В открытом доступе</th> |
42 | <th class="subHeader">В открытом доступе</th> |
37 | <th>Заявок</th> |
43 | <th class="subHeader">Заявок</th> |
38 | <th>Участников</th> |
44 | <th class="subHeader">Участников</th> |
- | 45 | <th class="subHeader" width=50> </th> |
|
39 | <th> </th> |
46 | <th class="subHeader"> </th> |
40 | <th> </th> |
47 | <th class="subHeader"> </th> |
41 | <th> </th> |
48 | <th class="subHeader"> </th> |
42 | </tr> |
49 | </tr> |
43 | 50 | ||
44 | <logic:iterate name="events" id="e"> |
51 | <logic:iterate name="events" id="e"> |
45 | <tr> |
52 | <tr> |
46 | <td><bean:write name="e" property="name" /></td> |
53 | <td style="border-bottom: 1px dotted black;"><bean:write name="e" property="name" /></td> |
47 | <td><bean:write name="e" property="place" /> </td> |
54 | <td style="border-bottom: 1px dotted black;"><bean:write name="e" property="place" /> </td> |
48 | <td><bean:write name="e" property="start" format="dd.MM.yyyy" /> </td> |
55 | <td style="border-bottom: 1px dotted black;"><bean:write name="e" property="start" format="dd.MM.yyyy" /> </td> |
49 | <td><bean:write name="e" property="stop" format="dd.MM.yyyy" /> </td> |
56 | <td style="border-bottom: 1px dotted black;"><bean:write name="e" property="stop" format="dd.MM.yyyy" /> </td> |
50 | <td> |
57 | <td align=middle style="border-bottom: 1px dotted black;"> |
51 | <logic:equal name="e" property="enabled" value="true">да</logic:equal> |
58 | <logic:equal name="e" property="enabled" value="true">да</logic:equal> |
52 | <logic:notEqual name="e" property="enabled" value="true">нет</logic:notEqual> |
59 | <logic:notEqual name="e" property="enabled" value="true">нет</logic:notEqual> |
53 | </td> |
60 | </td> |
54 | <td><bean:write name="e" property="participantCount" /></td> |
61 | <td align=right style="border-bottom: 1px dotted black;"><bean:write name="e" property="participantCount" /></td> |
55 | <td><bean:write name="e" property="personCount" /></td> |
62 | <td align=right style="border-bottom: 1px dotted black;"><bean:write name="e" property="personCount" /></td> |
56 | <td> |
63 | |
- | 64 | <td style="border-bottom: 1px dotted black;"> </td> |
|
- | 65 | <td style="border-bottom: 1px dotted black;"> |
|
57 | <backpath:link action="/admin/event/edit" paramId="id" paramName="e" paramProperty="id">редактировать</backpath:link> |
66 | <backpath:link action="/admin/event/edit" paramId="id" paramName="e" paramProperty="id"><img src="<strutsx:root />/images/edit.gif" alt="Редактировать" border=0></backpath:link> |
58 | </td> |
67 | </td> |
59 | <td> |
68 | <td style="border-bottom: 1px dotted black;"> |
60 | <backpath:link action="/admin/event/delete" paramId="id" paramName="e" paramProperty="id">удалить</backpath:link> |
69 | <backpath:link action="/admin/event/delete" paramId="id" paramName="e" paramProperty="id" onclick="return confirmDelete();"><img src="<strutsx:root />/images/delete.gif" alt="Удалить" border=0></backpath:link> |
61 | </td> |
70 | </td> |
62 | <td> |
71 | <td style="border-bottom: 1px dotted black;"> |
63 | <backpath:link action="/admin/participant/list" paramId="event" paramName="e" paramProperty="id">участники</backpath:link> |
72 | <backpath:link action="/admin/participant/list" paramId="event" paramName="e" paramProperty="id"><img src="<strutsx:root />/images/participants-small.gif" alt="Участники" border=0></backpath:link> |
64 | </td> |
73 | </td> |
65 | </tr> |
74 | </tr> |
66 | </logic:iterate> |
75 | </logic:iterate> |
- | 76 | <tr> |
|
- | 77 | <td colspan=11> </td> |
|
- | 78 | </tr> |
|
67 | </table> |
79 | </table> |
68 | 80 | ||
69 | <backpath:link action="/admin/event/edit">Добавить пьянку</backpath:link> |
- | |
70 | <br> |
81 | <div> |
- | 82 | <backpath:link action="/admin/event/edit"><img src="<strutsx:root />/images/add.gif" alt="Добавить пьянку" border=0></backpath:link> |
|
71 | <backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty> |
83 | <backpath:notEmpty><backpath:backlink><img src="<strutsx:root />/images/back-small.gif" alt="Назад" border=0></backpath:backlink></backpath:notEmpty> |
- | 84 | </div> |
|
72 | 85 | ||
73 | </body> |
86 | </body> |
74 | 87 | ||
75 | </html> |
88 | </html> |