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