10,6 → 10,12 |
<meta http-equiv="expires" content="0"> |
<title>Пьянка XP - Администрирование - Пьянки</title> |
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
<script> |
function confirmDelete() |
{ |
return confirm("Вы уверены, что хотите удалить эту пьянку со всеми участниками?"); |
} |
</script> |
</head> |
|
<body> |
27,48 → 33,55 |
</div> |
</strutsx:notEmpty> |
|
<table border=1> |
<table border=0 cellspacing=0 cellpadding=4> |
<tr> |
<th>Название</th> |
<th>Место/город</th> |
<th>Начало</th> |
<th>Окончание</th> |
<th>В открытом доступе</th> |
<th>Заявок</th> |
<th>Участников</th> |
<th> </th> |
<th> </th> |
<th> </th> |
<th class="subHeader">Название</th> |
<th class="subHeader">Место/город</th> |
<th class="subHeader">Начало</th> |
<th class="subHeader">Окончание</th> |
<th class="subHeader">В открытом доступе</th> |
<th class="subHeader">Заявок</th> |
<th class="subHeader">Участников</th> |
<th class="subHeader" width=50> </th> |
<th class="subHeader"> </th> |
<th class="subHeader"> </th> |
<th class="subHeader"> </th> |
</tr> |
|
<logic:iterate name="events" id="e"> |
<tr> |
<td><bean:write name="e" property="name" /></td> |
<td><bean:write name="e" property="place" /> </td> |
<td><bean:write name="e" property="start" format="dd.MM.yyyy" /> </td> |
<td><bean:write name="e" property="stop" format="dd.MM.yyyy" /> </td> |
<td> |
<td style="border-bottom: 1px dotted black;"><bean:write name="e" property="name" /></td> |
<td style="border-bottom: 1px dotted black;"><bean:write name="e" property="place" /> </td> |
<td style="border-bottom: 1px dotted black;"><bean:write name="e" property="start" format="dd.MM.yyyy" /> </td> |
<td style="border-bottom: 1px dotted black;"><bean:write name="e" property="stop" format="dd.MM.yyyy" /> </td> |
<td align=middle style="border-bottom: 1px dotted black;"> |
<logic:equal name="e" property="enabled" value="true">да</logic:equal> |
<logic:notEqual name="e" property="enabled" value="true">нет</logic:notEqual> |
</td> |
<td><bean:write name="e" property="participantCount" /></td> |
<td><bean:write name="e" property="personCount" /></td> |
<td> |
<backpath:link action="/admin/event/edit" paramId="id" paramName="e" paramProperty="id">редактировать</backpath:link> |
<td align=right style="border-bottom: 1px dotted black;"><bean:write name="e" property="participantCount" /></td> |
<td align=right style="border-bottom: 1px dotted black;"><bean:write name="e" property="personCount" /></td> |
|
<td style="border-bottom: 1px dotted black;"> </td> |
<td style="border-bottom: 1px dotted black;"> |
<backpath:link action="/admin/event/edit" paramId="id" paramName="e" paramProperty="id"><img src="<strutsx:root />/images/edit.gif" alt="Редактировать" border=0></backpath:link> |
</td> |
<td> |
<backpath:link action="/admin/event/delete" paramId="id" paramName="e" paramProperty="id">удалить</backpath:link> |
<td style="border-bottom: 1px dotted black;"> |
<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> |
</td> |
<td> |
<backpath:link action="/admin/participant/list" paramId="event" paramName="e" paramProperty="id">участники</backpath:link> |
<td style="border-bottom: 1px dotted black;"> |
<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> |
</td> |
</tr> |
</logic:iterate> |
<tr> |
<td colspan=11> </td> |
</tr> |
</table> |
|
<backpath:link action="/admin/event/edit">Добавить пьянку</backpath:link> |
<br> |
<backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty> |
<div> |
<backpath:link action="/admin/event/edit"><img src="<strutsx:root />/images/add.gif" alt="Добавить пьянку" border=0></backpath:link> |
<backpath:notEmpty><backpath:backlink><img src="<strutsx:root />/images/back-small.gif" alt="Назад" border=0></backpath:backlink></backpath:notEmpty> |
</div> |
|
</body> |
|