Subversion Repositories general

Rev

Rev 19 | Rev 975 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 dev 1
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
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"  %>
7
<html>
8
 
9
<head>
10
	<meta http-equiv="expires" content="0">
10 dev 11
	<title>Пьянка XP - Администрирование - Редактирование пьянки</title>
3 dev 12
	<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
13
</head>
14
 
15
<body>
16
 
10 dev 17
<h1>Пьянка XP - Администрирование - Редактирование пьянки</h1>
3 dev 18
 
19
<strutsx:errorsIterator id="errors" />
20
<strutsx:notEmpty name="errors">
10 dev 21
	<div class="error">Ошибки:
3 dev 22
		<ul>
23
		<logic:iterate name="errors" id="error">
24
			<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
25
		</logic:iterate>
26
		</ul>
27
	</div>
28
</strutsx:notEmpty>
29
 
30
<html:form action="/admin/event/submit">
31
<backpath:current />
32
<html:hidden property="id" />
33
 
972 dev 34
<table border=0 cellspacing=0 cellpadding=4>
35
	<tr class="even">
10 dev 36
		<th>Название</th>
972 dev 37
		<td colspan=3><html:text property="name" style="width:100%" /></td>
3 dev 38
    </tr>
972 dev 39
	<tr class="odd">
19 dev 40
		<th>Контактный e-mail</th>
972 dev 41
		<td colspan=3><html:text property="email" style="width:100%" /></td>
19 dev 42
    </tr>
972 dev 43
	<tr class="even">
19 dev 44
		<th>Организаторы</th>
972 dev 45
		<td colspan=3><html:text property="admins" style="width:100%" /></td>
19 dev 46
    </tr>
972 dev 47
	<tr class="odd">
48
		<th>Контактные телефоны</th>
49
		<td colspan=3><html:text property="phones" style="width:100%" /></td>
50
    </tr>
51
	<tr class="even">
10 dev 52
		<th>Место/город</th>
972 dev 53
		<td colspan=3><html:text property="place" style="width:100%" /></td>
3 dev 54
    </tr>
972 dev 55
	<tr class="odd">
10 dev 56
		<th>Точный адрес</th>
972 dev 57
		<td colspan=3><html:textarea property="address" rows="8" style="width:100%" /></td>
3 dev 58
    </tr>
972 dev 59
	<tr class="even">
10 dev 60
		<th>Описание проезда</th>
972 dev 61
		<td colspan=3><html:textarea property="transport" rows="8" style="width:100%" /></td>
3 dev 62
    </tr>
972 dev 63
	<tr class="odd">
10 dev 64
		<th>Начало</th>
972 dev 65
		<td colspan=3><html:text property="start" style="width:100%" /></td>
3 dev 66
    </tr>
972 dev 67
	<tr class="even">
10 dev 68
		<th>Окончание</th>
972 dev 69
		<td colspan=3><html:text property="stop" style="width:100%" /></td>
3 dev 70
    </tr>
972 dev 71
	<tr class="odd">
10 dev 72
		<th>Дата окончания регистрации</th>
972 dev 73
		<td colspan=3><html:text property="lastreg" style="width:100%" /></td>
3 dev 74
    </tr>
972 dev 75
	<tr class="even">
10 dev 76
		<th>Последний срок отказа</th>
972 dev 77
		<td colspan=3><html:text property="lastunreg" style="width:100%" /></td>
3 dev 78
    </tr>
972 dev 79
	<tr class="odd">
10 dev 80
		<th>Цена с человека</th>
972 dev 81
		<td colspan=3><html:text property="price" style="width:100%" /></td>
3 dev 82
    </tr>
972 dev 83
	<tr class="even">
10 dev 84
		<th>Счет для перевода денег</th>
972 dev 85
		<td colspan=3><html:textarea property="account" rows="8" style="width:100%" /></td>
3 dev 86
    </tr>
972 dev 87
	<tr class="odd">
19 dev 88
		<th>Открыть доступ</th>
9 dev 89
		<td colspan=3><html:checkbox property="enabled" /></td>
3 dev 90
    </tr>
972 dev 91
	<tr class="even">
10 dev 92
		<th>Описание</th>
972 dev 93
		<td colspan=3><html:textarea property="comment" rows="8" style="width:100%" /></td>
3 dev 94
    </tr>
95
 
9 dev 96
	<tr>
972 dev 97
		<th colspan=4><div class="smallHeader">Планируемые мероприятия</div></th>
9 dev 98
    </tr>
99
	<tr>
972 dev 100
		<td class="subHeader">Название</td>
101
		<td class="subHeader">Включить</td>
102
		<td class="subHeader">Дополнительная информация</td>
103
		<td class="subHeader">&nbsp;</td>
9 dev 104
    </tr>
3 dev 105
<logic:iterate name="EventEditForm" property="acts" id="acts" indexId="iid">
106
	<tr>
972 dev 107
		<td>
9 dev 108
			<bean:write name="actList" property='<%= "objects[" + iid + "].name" %>' />
3 dev 109
			<html:hidden name="acts" property="actId" indexed="true" />
972 dev 110
		</td>
9 dev 111
		<td><html:checkbox name="acts" property="selected" indexed="true" /></td>
972 dev 112
		<td><html:text name="acts" property="comment" indexed="true" style="width:100%" /></td>
9 dev 113
		<td>&nbsp;</td>
3 dev 114
	</tr>
115
</logic:iterate>
116
 
9 dev 117
	<tr>
972 dev 118
		<th colspan=4><div class="smallHeader">Ближайшие гостиницы</div></th>
9 dev 119
    </tr>
120
	<tr>
972 dev 121
		<td class="subHeader">Название</td>
122
		<td class="subHeader">Включить</td>
123
		<td class="subHeader">Дополнительная информация</td>
124
		<td class="subHeader">Расстояние до местa (км)</td>
9 dev 125
    </tr>
126
<logic:iterate name="EventEditForm" property="apartments" id="apartments" indexId="iid2">
127
	<tr>
972 dev 128
		<td>
9 dev 129
			<bean:write name="apartmentList" property='<%= "objects[" + iid2 + "].name" %>' />
130
			<html:hidden name="apartments" property="apartmentId" indexed="true" />
972 dev 131
		</td>
9 dev 132
		<td><html:checkbox name="apartments" property="selected" indexed="true" /></td>
972 dev 133
		<td><html:text name="apartments" property="comment" indexed="true" style="width:100%" /></td>
134
		<td><html:text name="apartments" property="distance" indexed="true" style="width:100%" /></td>
9 dev 135
	</tr>
136
</logic:iterate>
137
 
3 dev 138
	<tr>
9 dev 139
		<td colspan=4>
10 dev 140
			<html:submit>Сохранить</html:submit>
16 dev 141
			<backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty>
3 dev 142
		</td>
143
    </tr>
144
</table>
145
 
146
</html:form>
147
 
148
</body>
149
 
150
</html>