Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 971 → Rev 972

/kickup/trunk/webapp/admin/event/list.jsp
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>&nbsp;</th>
<th>&nbsp;</th>
<th>&nbsp;</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>&nbsp;</th>
<th class="subHeader">&nbsp;</th>
<th class="subHeader">&nbsp;</th>
<th class="subHeader">&nbsp;</th>
</tr>
 
<logic:iterate name="events" id="e">
<tr>
<td><bean:write name="e" property="name" /></td>
<td><bean:write name="e" property="place" />&nbsp;</td>
<td><bean:write name="e" property="start" format="dd.MM.yyyy" />&nbsp;</td>
<td><bean:write name="e" property="stop" format="dd.MM.yyyy" />&nbsp;</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" />&nbsp;</td>
<td style="border-bottom: 1px dotted black;"><bean:write name="e" property="start" format="dd.MM.yyyy" />&nbsp;</td>
<td style="border-bottom: 1px dotted black;"><bean:write name="e" property="stop" format="dd.MM.yyyy" />&nbsp;</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;">&nbsp;</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>&nbsp;</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>
 
/kickup/trunk/webapp/admin/event/edit.jsp
31,103 → 31,107
<backpath:current />
<html:hidden property="id" />
 
<table border=1>
<tr>
<table border=0 cellspacing=0 cellpadding=4>
<tr class="even">
<th>Название</th>
<td colspan=3><html:text property="name" /></td>
<td colspan=3><html:text property="name" style="width:100%" /></td>
</tr>
<tr>
<tr class="odd">
<th>Контактный e-mail</th>
<td colspan=3><html:text property="email" /></td>
<td colspan=3><html:text property="email" style="width:100%" /></td>
</tr>
<tr>
<tr class="even">
<th>Организаторы</th>
<td colspan=3><html:text property="admins" /></td>
<td colspan=3><html:text property="admins" style="width:100%" /></td>
</tr>
<tr>
<tr class="odd">
<th>Контактные телефоны</th>
<td colspan=3><html:text property="phones" style="width:100%" /></td>
</tr>
<tr class="even">
<th>Место/город</th>
<td colspan=3><html:text property="place" /></td>
<td colspan=3><html:text property="place" style="width:100%" /></td>
</tr>
<tr>
<tr class="odd">
<th>Точный адрес</th>
<td colspan=3><html:textarea property="address" /></td>
<td colspan=3><html:textarea property="address" rows="8" style="width:100%" /></td>
</tr>
<tr>
<tr class="even">
<th>Описание проезда</th>
<td colspan=3><html:textarea property="transport" /></td>
<td colspan=3><html:textarea property="transport" rows="8" style="width:100%" /></td>
</tr>
<tr>
<tr class="odd">
<th>Начало</th>
<td colspan=3><html:text property="start" /></td>
<td colspan=3><html:text property="start" style="width:100%" /></td>
</tr>
<tr>
<tr class="even">
<th>Окончание</th>
<td colspan=3><html:text property="stop" /></td>
<td colspan=3><html:text property="stop" style="width:100%" /></td>
</tr>
<tr>
<tr class="odd">
<th>Дата окончания регистрации</th>
<td colspan=3><html:text property="lastreg" /></td>
<td colspan=3><html:text property="lastreg" style="width:100%" /></td>
</tr>
<tr>
<tr class="even">
<th>Последний срок отказа</th>
<td colspan=3><html:text property="lastunreg" /></td>
<td colspan=3><html:text property="lastunreg" style="width:100%" /></td>
</tr>
<tr>
<tr class="odd">
<th>Цена с человека</th>
<td colspan=3><html:text property="price" /></td>
<td colspan=3><html:text property="price" style="width:100%" /></td>
</tr>
<tr>
<tr class="even">
<th>Счет для перевода денег</th>
<td colspan=3><html:textarea property="account" /></td>
<td colspan=3><html:textarea property="account" rows="8" style="width:100%" /></td>
</tr>
<tr>
<tr class="odd">
<th>Открыть доступ</th>
<td colspan=3><html:checkbox property="enabled" /></td>
</tr>
<tr>
<tr class="even">
<th>Описание</th>
<td colspan=3><html:textarea property="comment" /></td>
<td colspan=3><html:textarea property="comment" rows="8" style="width:100%" /></td>
</tr>
 
<tr>
<th colspan=4>Планируемые мероприятия</th>
<th colspan=4><div class="smallHeader">Планируемые мероприятия</div></th>
</tr>
<tr>
<td>Название</td>
<td>Включить</td>
<td>Описание</td>
<td>&nbsp;</td>
<td class="subHeader">Название</td>
<td class="subHeader">Включить</td>
<td class="subHeader">Дополнительная информация</td>
<td class="subHeader">&nbsp;</td>
</tr>
<logic:iterate name="EventEditForm" property="acts" id="acts" indexId="iid">
<tr>
<th>
<td>
<bean:write name="actList" property='<%= "objects[" + iid + "].name" %>' />
<html:hidden name="acts" property="actId" indexed="true" />
</th>
</td>
<td><html:checkbox name="acts" property="selected" indexed="true" /></td>
<td><html:text name="acts" property="comment" indexed="true" /></td>
<td><html:text name="acts" property="comment" indexed="true" style="width:100%" /></td>
<td>&nbsp;</td>
</tr>
</logic:iterate>
 
<tr>
<th colspan=4>Ближайшие гостиницы</th>
<th colspan=4><div class="smallHeader">Ближайшие гостиницы</div></th>
</tr>
<tr>
<td>Название</td>
<td>Включить</td>
<td>Описание</td>
<td>Расстояние до местa (км)</td>
<td class="subHeader">Название</td>
<td class="subHeader">Включить</td>
<td class="subHeader">Дополнительная информация</td>
<td class="subHeader">Расстояние до местa (км)</td>
</tr>
<logic:iterate name="EventEditForm" property="apartments" id="apartments" indexId="iid2">
<tr>
<th>
<td>
<bean:write name="apartmentList" property='<%= "objects[" + iid2 + "].name" %>' />
<html:hidden name="apartments" property="apartmentId" indexed="true" />
</th>
</td>
<td><html:checkbox name="apartments" property="selected" indexed="true" /></td>
<td><html:text name="apartments" property="comment" indexed="true" /></td>
<td><html:text name="apartments" property="distance" indexed="true" /></td>
<td><html:text name="apartments" property="comment" indexed="true" style="width:100%" /></td>
<td><html:text name="apartments" property="distance" indexed="true" style="width:100%" /></td>
</tr>
</logic:iterate>