Rev 10 | Rev 16 | 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> |
3 | dev | 33 | <th> </th> |
34 | <th> </th> |
||
35 | </tr> |
||
36 | |||
37 | <logic:iterate name="apartments" id="a"> |
||
38 | <tr> |
||
39 | <td><bean:write name="a" property="name" /></td> |
||
40 | <td> |
||
10 | dev | 41 | <backpath:link action="/admin/apartment/edit" paramId="id" paramName="a" paramProperty="id">редактировать</backpath:link> |
3 | dev | 42 | </td> |
43 | <td> |
||
10 | dev | 44 | <backpath:link action="/admin/apartment/delete" paramId="id" paramName="a" paramProperty="id">удалить</backpath:link> |
3 | dev | 45 | </td> |
46 | </tr> |
||
47 | </logic:iterate> |
||
48 | </table> |
||
49 | |||
10 | dev | 50 | <backpath:link action="/admin/apartment/edit">Добавить гостиницу</backpath:link> |
3 | dev | 51 | <br> |
10 | dev | 52 | <backpath:backlink>Назад</backpath:backlink> |
3 | dev | 53 | |
54 | </body> |
||
55 | |||
56 | </html> |