Rev 13 | Rev 19 | 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 | <table border=1> |
||
31 | <tr> |
||
10 | dev | 32 | <th>Название</th> |
33 | <th>Место/город</th> |
||
34 | <th>Начало</th> |
||
35 | <th>Окончание</th> |
||
36 | <th>Регистрация разрешена</th> |
||
3 | dev | 37 | <th> </th> |
38 | <th> </th> |
||
9 | dev | 39 | <th> </th> |
3 | dev | 40 | </tr> |
41 | |||
42 | <logic:iterate name="events" id="e"> |
||
43 | <tr> |
||
44 | <td><bean:write name="e" property="name" /></td> |
||
45 | <td><bean:write name="e" property="place" /> </td> |
||
9 | dev | 46 | <td><bean:write name="e" property="start" format="dd.MM.yyyy" /> </td> |
47 | <td><bean:write name="e" property="stop" format="dd.MM.yyyy" /> </td> |
||
3 | dev | 48 | <td> |
10 | dev | 49 | <logic:equal name="e" property="enabled" value="true">да</logic:equal> |
50 | <logic:notEqual name="e" property="enabled" value="true">нет</logic:notEqual> |
||
3 | dev | 51 | </td> |
52 | <td> |
||
10 | dev | 53 | <backpath:link action="/admin/event/edit" paramId="id" paramName="e" paramProperty="id">редактировать</backpath:link> |
3 | dev | 54 | </td> |
55 | <td> |
||
10 | dev | 56 | <backpath:link action="/admin/event/delete" paramId="id" paramName="e" paramProperty="id">удалить</backpath:link> |
3 | dev | 57 | </td> |
9 | dev | 58 | <td> |
10 | dev | 59 | <backpath:link action="/admin/participant/list" paramId="event" paramName="e" paramProperty="id">участники</backpath:link> |
9 | dev | 60 | </td> |
3 | dev | 61 | </tr> |
62 | </logic:iterate> |
||
63 | </table> |
||
64 | |||
10 | dev | 65 | <backpath:link action="/admin/event/edit">Добавить пьянку</backpath:link> |
3 | dev | 66 | <br> |
16 | dev | 67 | <backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty> |
3 | dev | 68 | |
69 | </body> |
||
70 | |||
71 | </html> |