Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 971 → Rev 972

/kickup/trunk/webapp/admin/apartment/edit.jsp
31,26 → 31,26
<backpath:current />
<html:hidden property="id" />
 
<table border=1>
<tr>
<table border=0 cellspacing=0 cellpadding=4>
<tr class="even">
<th>Название</th>
<td><html:text property="name" /></td>
<td><html:text property="name" style="width:100%" /></td>
</tr>
<tr>
<tr class="odd">
<th>Адрес и телефоны</th>
<td><html:textarea property="address" /></td>
<td><html:textarea property="address" cols="40" rows="8" style="width:200px;" /></td>
</tr>
<tr>
<tr class="even">
<th>Цена ночевки на одного человека</th>
<td><html:text property="price" /></td>
<td><html:text property="price" style="width:100%" /></td>
</tr>
<tr>
<tr class="odd">
<th>URL домашней странички</th>
<td><html:text property="url" /></td>
<td><html:text property="url" style="width:100%" /></td>
</tr>
<tr>
<tr class="even">
<th>Описание</th>
<td><html:textarea property="comment" /></td>
<td><html:textarea property="comment" cols="40" rows="8" style="width:200px;" /></td>
</tr>
<tr>
<td colspan=2>
/kickup/trunk/webapp/admin/apartment/list.jsp
10,6 → 10,12
<meta http-equiv="expires" content="0">
<title>Пьянка XP - Администрирование - Гостиницы</title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
<script>
function confirmDelete()
{
return confirm("Вы уверены, что хотите удалить эту гостиницу?");
}
</script>
</head>
 
<body>
27,29 → 33,35
</div>
</strutsx:notEmpty>
 
<table border=1>
<table border=0 cellspacing=0 cellpadding=4>
<tr>
<th>Название</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th class="subHeader">Название</th>
<th class="subHeader" width=50>&nbsp;</th>
<th class="subHeader">&nbsp;</th>
<th class="subHeader">&nbsp;</th>
</tr>
 
<logic:iterate name="apartments" id="a">
<tr>
<td><bean:write name="a" property="name" /></td>
<td>
<backpath:link action="/admin/apartment/edit" paramId="id" paramName="a" paramProperty="id">редактировать</backpath:link>
<td style="border-bottom: 1px dotted black;"><bean:write name="a" property="name" /></td>
<td style="border-bottom: 1px dotted black;">&nbsp;</td>
<td style="border-bottom: 1px dotted black;">
<backpath:link action="/admin/apartment/edit" paramId="id" paramName="a" paramProperty="id"><img src="<strutsx:root />/images/edit.gif" alt="Редактировать" border=0></backpath:link>
</td>
<td>
<backpath:link action="/admin/apartment/delete" paramId="id" paramName="a" paramProperty="id">удалить</backpath:link>
<td style="border-bottom: 1px dotted black;">
<backpath:link action="/admin/apartment/delete" paramId="id" paramName="a" paramProperty="id" onclick="return confirmDelete();"><img src="<strutsx:root />/images/delete.gif" alt="Удалить" border=0></backpath:link>
</td>
</tr>
</logic:iterate>
<tr>
<td colspan=4>&nbsp;</td>
</tr>
</table>
 
<backpath:link action="/admin/apartment/edit">Добавить гостиницу</backpath:link>
<br>
<backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty>
<div>
<backpath:link action="/admin/apartment/edit"><img src="<strutsx:root />/images/add.gif" alt="Добавить гостиницу" border=0></backpath:link>
<backpath:notEmpty><backpath:backlink><img src="<strutsx:root />/images/back-small.gif" alt="Назад" border=0></backpath:backlink></backpath:notEmpty>
</div>
 
</body>