Rev 16 | Rev 973 | 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"> |
972 | dev | 13 | <script> |
14 | function confirmDelete() |
||
15 | { |
||
16 | return confirm("Вы уверены, что хотите удалить это мероприятие?"); |
||
17 | } |
||
18 | </script> |
||
3 | dev | 19 | </head> |
20 | |||
21 | <body> |
||
22 | |||
10 | dev | 23 | <h1>Пьянка XP - Администрирование - Мероприятия</h1> |
3 | dev | 24 | |
25 | <strutsx:errorsIterator id="errors" /> |
||
26 | <strutsx:notEmpty name="errors"> |
||
10 | dev | 27 | <div class="error">Ошибки: |
3 | dev | 28 | <ul> |
29 | <logic:iterate name="errors" id="error"> |
||
30 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
||
31 | </logic:iterate> |
||
32 | </ul> |
||
33 | </div> |
||
34 | </strutsx:notEmpty> |
||
35 | |||
972 | dev | 36 | <table border=0 cellspacing=0 cellpadding=4> |
3 | dev | 37 | <tr> |
972 | dev | 38 | <th class="subHeader">Название</th> |
39 | <th class="subHeader" width=50> </th> |
||
40 | <th class="subHeader"> </th> |
||
41 | <th class="subHeader"> </th> |
||
3 | dev | 42 | </tr> |
43 | |||
44 | <logic:iterate name="acts" id="a"> |
||
45 | <tr> |
||
972 | dev | 46 | <td style="border-bottom: 1px dotted black;"><bean:write name="a" property="name" /></td> |
47 | <td style="border-bottom: 1px dotted black;"> </td> |
||
48 | <td style="border-bottom: 1px dotted black;"> |
||
49 | <backpath:link action="/admin/act/edit" paramId="id" paramName="a" paramProperty="id"><img src="<strutsx:root />/images/edit.gif" alt="Редактировать" border=0></backpath:link> |
||
3 | dev | 50 | </td> |
972 | dev | 51 | <td style="border-bottom: 1px dotted black;"> |
52 | <backpath:link action="/admin/act/delete" paramId="id" paramName="a" paramProperty="id" onclick="return confirmDelete();"><img src="<strutsx:root />/images/delete.gif" alt="Удалить" border=0></backpath:link> |
||
3 | dev | 53 | </td> |
54 | </tr> |
||
55 | </logic:iterate> |
||
972 | dev | 56 | <tr> |
57 | <td colspan=4> </td> |
||
58 | </tr> |
||
3 | dev | 59 | </table> |
60 | |||
972 | dev | 61 | <div> |
62 | <backpath:link action="/admin/act/edit"><img src="<strutsx:root />/images/add.gif" alt="Добавить мероприятие" border=0></backpath:link> |
||
63 | <backpath:notEmpty><backpath:backlink><img src="<strutsx:root />/images/back-small.gif" alt="Назад" border=0></backpath:backlink></backpath:notEmpty> |
||
64 | </div> |
||
3 | dev | 65 | |
66 | </body> |
||
67 | |||
68 | </html> |