Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 8 → Rev 9

/it-ru/trunk/webapp/admin/participant/edit.jsp
0,0 → 1,116
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %>
<%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %>
<html>
 
<head>
<meta http-equiv="expires" content="0">
<title>Edit participant</title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
 
<h1>Edit participant</h1>
 
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error">Errors in input:
<ul>
<logic:iterate name="errors" id="error">
<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
</logic:iterate>
</ul>
</div>
</strutsx:notEmpty>
 
<html:form action="/admin/participant/submit">
<backpath:current />
<html:hidden property="id" />
<html:hidden property="event" />
 
<table border=1>
<tr>
<th>Ident</th>
<td><bean:write name="participant" property="ident" /></td>
</tr>
<tr>
<th>Nick</th>
<td><html:text property="nick" /></td>
</tr>
<tr>
<th>Email</th>
<td><html:text property="email" /></td>
</tr>
<tr>
<th>Email is public</th>
<td colspan=3><html:checkbox property="emailPublic" /></td>
</tr>
<tr>
<th>Name</th>
<td><html:text property="name" /></td>
</tr>
<tr>
<th>Phone</th>
<td><html:text property="phone" /></td>
</tr>
<tr>
<th>Persons</th>
<td><html:text property="persons" /></td>
</tr>
<tr>
<th>From ZIP</th>
<td><html:text property="fromZip" /></td>
</tr>
<tr>
<th>From city</th>
<td><html:text property="fromCity" /></td>
</tr>
<tr>
<th>Departure</th>
<td><html:text property="departure" /></td>
</tr>
<tr>
<th>Free places in transport</th>
<td><html:text property="freeTransport" /></td>
</tr>
<tr>
<th>Comment to free places in transport</th>
<td><html:textarea property="transportComment" /></td>
</tr>
<tr>
<th>Free places to sleep</th>
<td><html:text property="freeSleep" /></td>
</tr>
<tr>
<th>Comment to free places to sleep</th>
<td><html:textarea property="sleepComment" /></td>
</tr>
<tr>
<th>Comment</th>
<td><html:textarea property="comment" /></td>
</tr>
<tr>
<th>Payed</th>
<td colspan=3><html:checkbox property="payed" /></td>
</tr>
<tr>
<th>Private comment</th>
<td><html:textarea property="privateComment" /></td>
</tr>
<tr>
<td colspan=2>
<html:submit>Submit</html:submit>
<backpath:backlink>Back</backpath:backlink>
</td>
</tr>
</table>
 
</html:form>
 
</body>
 
</html>
/it-ru/trunk/webapp/admin/participant/list.jsp
0,0 → 1,70
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %>
<%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %>
<%@ taglib uri="/WEB-INF/ak-itru.tld" prefix="itru" %>
<html>
 
<head>
<meta http-equiv="expires" content="0">
<title>Participants</title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
 
<h1>Participants of <bean:write name="event" property="name" /></h1>
 
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error">Errors in input:
<ul>
<logic:iterate name="errors" id="error">
<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
</logic:iterate>
</ul>
</div>
</strutsx:notEmpty>
 
<table border=1>
<tr>
<th>Ident</th>
<th>Nick</th>
<th>Email</th>
<th>Name</th>
<th>Persons</th>
<th>Payed</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
</tr>
 
<logic:iterate name="participants" id="p">
<tr>
<td><bean:write name="p" property="ident" /></td>
<td><bean:write name="p" property="nick" />&nbsp;</td>
<td><bean:write name="p" property="email" />&nbsp;</td>
<td><bean:write name="p" property="name" />&nbsp;</td>
<td><bean:write name="p" property="persons" />&nbsp;</td>
<td>
<logic:equal name="p" property="payed" value="true">x</logic:equal>
<logic:notEqual name="p" property="payed" value="true">&nbsp;</logic:notEqual>
</td>
<td>
<itru:link action="/admin/participant/edit" paramId="id" paramName="p" paramProperty="id" paramId2="event" paramName2="event" paramProperty2="id">edit</itru:link>
</td>
<td>
<backpath:link action="/admin/participant/delete" paramId="id" paramName="p" paramProperty="id">delete</backpath:link>
</td>
</tr>
</logic:iterate>
</table>
 
<backpath:link action="/admin/participant/edit" paramId="event" paramName="event" paramProperty="id">Add new participant</backpath:link>
<br>
<backpath:backlink>Back</backpath:backlink>
 
</body>
 
</html>
/it-ru/trunk/webapp/admin/event/list.jsp
36,6 → 36,7
<th>Enabled</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
</tr>
 
<logic:iterate name="events" id="e">
42,8 → 43,8
<tr>
<td><bean:write name="e" property="name" /></td>
<td><bean:write name="e" property="place" />&nbsp;</td>
<td><bean:write name="e" property="start" />&nbsp;</td>
<td><bean:write name="e" property="stop" />&nbsp;</td>
<td><bean:write name="e" property="start" format="dd.MM.yyyy" />&nbsp;</td>
<td><bean:write name="e" property="stop" format="dd.MM.yyyy" />&nbsp;</td>
<td>
<logic:equal name="e" property="enabled" value="true">x</logic:equal>
<logic:notEqual name="e" property="enabled" value="true">&nbsp;</logic:notEqual>
54,6 → 55,9
<td>
<backpath:link action="/admin/event/delete" paramId="id" paramName="e" paramProperty="id">delete</backpath:link>
</td>
<td>
<backpath:link action="/admin/participant/list" paramId="event" paramName="e" paramProperty="id">participants</backpath:link>
</td>
</tr>
</logic:iterate>
</table>
/it-ru/trunk/webapp/admin/event/edit.jsp
34,65 → 34,97
<table border=1>
<tr>
<th>Name</th>
<td><html:text property="name" /></td>
<td colspan=3><html:text property="name" /></td>
</tr>
<tr>
<th>Place</th>
<td><html:text property="place" /></td>
<td colspan=3><html:text property="place" /></td>
</tr>
<tr>
<th>Address</th>
<td><html:textarea property="address" /></td>
<td colspan=3><html:textarea property="address" /></td>
</tr>
<tr>
<th>Transport Description</th>
<td><html:textarea property="transport" /></td>
<td colspan=3><html:textarea property="transport" /></td>
</tr>
<tr>
<th>Start</th>
<td><html:text property="start" /></td>
<td colspan=3><html:text property="start" /></td>
</tr>
<tr>
<th>Stop</th>
<td><html:text property="stop" /></td>
<td colspan=3><html:text property="stop" /></td>
</tr>
<tr>
<th>Last registration</th>
<td><html:text property="lastreg" /></td>
<td colspan=3><html:text property="lastreg" /></td>
</tr>
<tr>
<th>Last unregistration</th>
<td><html:text property="lastunreg" /></td>
<td colspan=3><html:text property="lastunreg" /></td>
</tr>
<tr>
<th>Price per person</th>
<td><html:text property="price" /></td>
<td colspan=3><html:text property="price" /></td>
</tr>
<tr>
<th>Account to transfer money</th>
<td><html:textarea property="account" /></td>
<td colspan=3><html:textarea property="account" /></td>
</tr>
<tr>
<th>Enabled</th>
<td><html:checkbox property="enabled" /></td>
<td colspan=3><html:checkbox property="enabled" /></td>
</tr>
<tr>
<th>Comment</th>
<td><html:textarea property="comment" /></td>
<td colspan=3><html:textarea property="comment" /></td>
</tr>
 
<tr>
<th colspan=4>Acts for the event</th>
</tr>
<tr>
<td>Name</td>
<td>Include</td>
<td>Comment</td>
<td>&nbsp;</td>
</tr>
<logic:iterate name="EventEditForm" property="acts" id="acts" indexId="iid">
<tr>
<td>
<th>
<bean:write name="actList" property='<%= "objects[" + iid + "].name" %>' />
<html:hidden name="acts" property="actId" indexed="true" />
<html:checkbox name="acts" property="selected" indexed="true" />
</td>
</th>
<td><html:checkbox name="acts" property="selected" indexed="true" /></td>
<td><html:text name="acts" property="comment" indexed="true" /></td>
<td>&nbsp;</td>
</tr>
</logic:iterate>
 
<tr>
<th colspan=4>Apartment for the event</th>
</tr>
<tr>
<td>Name</td>
<td>Include</td>
<td>Comment</td>
<td>Distance</td>
</tr>
<logic:iterate name="EventEditForm" property="apartments" id="apartments" indexId="iid2">
<tr>
<th>
<bean:write name="apartmentList" property='<%= "objects[" + iid2 + "].name" %>' />
<html:hidden name="apartments" property="apartmentId" indexed="true" />
</th>
<td><html:checkbox name="apartments" property="selected" indexed="true" /></td>
<td><html:text name="apartments" property="comment" indexed="true" /></td>
<td><html:text name="apartments" property="distance" indexed="true" /></td>
</tr>
</logic:iterate>
 
<tr>
<td colspan=2>
<td colspan=4>
<html:submit>Submit</html:submit>
<backpath:backlink>Back</backpath:backlink>
</td>