Details | 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"> |
||
11 | <title>Events</title> |
||
12 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
||
13 | </head> |
||
14 | |||
15 | <body> |
||
16 | |||
17 | <h1>Events</h1> |
||
18 | |||
19 | <strutsx:errorsIterator id="errors" /> |
||
20 | <strutsx:notEmpty name="errors"> |
||
21 | <div class="error">Errors in input: |
||
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> |
||
32 | <th>Name</th> |
||
33 | <th>Place</th> |
||
34 | <th>Start</th> |
||
35 | <th>Stop</th> |
||
36 | <th>Enabled</th> |
||
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> |
49 | <logic:equal name="e" property="enabled" value="true">x</logic:equal> |
||
50 | <logic:notEqual name="e" property="enabled" value="true"> </logic:notEqual> |
||
51 | </td> |
||
52 | <td> |
||
53 | <backpath:link action="/admin/event/edit" paramId="id" paramName="e" paramProperty="id">edit</backpath:link> |
||
54 | </td> |
||
55 | <td> |
||
56 | <backpath:link action="/admin/event/delete" paramId="id" paramName="e" paramProperty="id">delete</backpath:link> |
||
57 | </td> |
||
9 | dev | 58 | <td> |
59 | <backpath:link action="/admin/participant/list" paramId="event" paramName="e" paramProperty="id">participants</backpath:link> |
||
60 | </td> |
||
3 | dev | 61 | </tr> |
62 | </logic:iterate> |
||
63 | </table> |
||
64 | |||
65 | <backpath:link action="/admin/event/edit">Add new event</backpath:link> |
||
66 | <br> |
||
67 | <backpath:backlink>Back</backpath:backlink> |
||
68 | |||
69 | </body> |
||
70 | |||
71 | </html> |