Rev 16 | Rev 976 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 16 | Rev 18 | ||
---|---|---|---|
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
7 | <html> |
7 | <html> |
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 | </head> |
13 | </head> |
14 | 14 | ||
15 | <body> |
15 | <body> |
16 | 16 | ||
17 | <h1>Пьянка XP</h1> |
17 | <h1>Пьянка XP</h1> |
18 | 18 | ||
19 | <strutsx:errorsIterator id="errors" /> |
19 | <strutsx:errorsIterator id="errors" /> |
20 | <strutsx:notEmpty name="errors"> |
20 | <strutsx:notEmpty name="errors"> |
21 | <div class="error">Ошибки: |
21 | <div class="error">Ошибки: |
22 | <ul> |
22 | <ul> |
23 | <logic:iterate name="errors" id="error"> |
23 | <logic:iterate name="errors" id="error"> |
24 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
24 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
25 | </logic:iterate> |
25 | </logic:iterate> |
26 | </ul> |
26 | </ul> |
27 | </div> |
27 | </div> |
28 | </strutsx:notEmpty> |
28 | </strutsx:notEmpty> |
29 | 29 | ||
30 | <table border=1> |
30 | <table border=1> |
31 | <tr> |
31 | <tr> |
32 | <th>Название</th> |
32 | <th>Название</th> |
33 | <th>Место/город</th> |
33 | <th>Место/город</th> |
34 | <th>Начало</th> |
34 | <th>Начало</th> |
35 | <th>Окончание</th> |
35 | <th>Окончание</th> |
36 | <th>Регистрация разрешена</th> |
36 | <th>Регистрация разрешена</th> |
37 | </tr> |
37 | </tr> |
38 | 38 | ||
39 | <logic:iterate name="events" id="e"> |
39 | <logic:iterate name="events" id="e"> |
40 | <tr> |
40 | <tr> |
41 | <td> |
41 | <td> |
42 | <backpath:link action="/event/show" paramId="id" paramName="e" paramProperty="id"> |
42 | <backpath:link action="/event/show" paramId="id" paramName="e" paramProperty="id"> |
43 | <bean:write name="e" property="name" /> |
43 | <bean:write name="e" property="name" /> |
44 | </backpath:link> |
44 | </backpath:link> |
45 | </td> |
45 | </td> |
46 | <td><bean:write name="e" property="place" /> </td> |
46 | <td><bean:write name="e" property="place" /> </td> |
47 | <td><bean:write name="e" property="start" format="dd.MM.yyyy" /> </td> |
47 | <td><bean:write name="e" property="start" format="dd.MM.yyyy" /> </td> |
48 | <td><bean:write name="e" property="stop" format="dd.MM.yyyy" /> </td> |
48 | <td><bean:write name="e" property="stop" format="dd.MM.yyyy" /> </td> |
49 | <td> |
49 | <td> |
50 | <logic:equal name="e" property="registrationAvailable" value="true">да</logic:equal> |
50 | <logic:equal name="e" property="registrationAvailable" value="true">да</logic:equal> |
51 | <logic:notEqual name="e" property="registrationAvailable" value="true">нет</logic:notEqual> |
51 | <logic:notEqual name="e" property="registrationAvailable" value="true">нет</logic:notEqual> |
52 | </td> |
52 | </td> |
53 | </tr> |
53 | </tr> |
54 | </logic:iterate> |
54 | </logic:iterate> |
55 | </table> |
55 | </table> |
56 | 56 | ||
57 | <backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty> |
57 | <p><backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty></p> |
- | 58 | ||
- | 59 | <p><html:link page="/admin">Администрирование</html:link></<> |
|
58 | 60 | ||
59 | </body> |
61 | </body> |
60 | 62 | ||
61 | </html> |
63 | </html> |