user and relationship type now editable and removeable. Generic error page for admin site
| /trunk/WebContent/admin/adminError.jsp |
|---|
| File deleted |
| Property changes: |
| Deleted: svn:mime-type |
| ## -1 +0,0 ## |
| -text/plain |
| \ No newline at end of property |
| Index: relTypeAdd.jsp |
| =================================================================== |
| --- relTypeAdd.jsp (revision 27) |
| +++ relTypeAdd.jsp (revision 26) |
| @@ -1,11 +1,13 @@ |
| -<html> |
| +<?xml version="1.0" encoding="ISO-8859-1" ?> |
| +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" |
| + pageEncoding="ISO-8859-1"%> |
| +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| +<html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| -<title>Beziehungstyp added</title> |
| +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> |
| +<title>Insert title here</title> |
| </head> |
| <body> |
| -<h1>Beziehungstyp hinzugefügt</h1> |
| -<p>Der Beziehungstyp wurde hinzugefügt</p> |
| -<p>TODO: Weiterleitung!!</p> |
| </body> |
| </html> |
| \ No newline at end of file |
| /trunk/WebContent/admin/relTypeList.jsp |
|---|
| 13,8 → 13,8 |
| </s:if> |
| <table> |
| <tr> |
| <th>Bezeichnung A =< B</th> |
| <th>Bezeichnung B =< A</th> |
| <th>Bezeichnung nach A</th> |
| <th>Bezeichnung nach B</th> |
| </tr> |
| <s:iterator value="relTypeList" status="stat"> |
| <tr> |
| 22,10 → 22,10 |
| <td><s:property value="nameTo" /></td> |
| <td><s:url id="editURL" action="editRelType"> |
| <s:param name="id" value="%{relationshipId}"></s:param> |
| <s:param name="id" value="%{id}"></s:param> |
| </s:url> <s:a href="%{editURL}">Ändern</s:a></td> |
| <td><s:url id="deleteURL" action="deleteRelType"> |
| <s:param name="id" value="%{relationshipId}"></s:param> |
| <s:param name="id" value="%{id}"></s:param> |
| </s:url> <s:a href="%{deleteURL}">Löschen</s:a></td> |
| </tr> |
| </s:iterator> |
| /trunk/WebContent/admin/relTypeAddForm.jsp |
|---|
| 8,9 → 8,8 |
| <h1>Beziehungstyp hinzufügen</h1> |
| <p>Bitte geben Sie die Daten für den Beziehungstypen ein</p> |
| <s:form action="doRelTypeAdd"> |
| <s:hidden name="relType.relationshipId" /> |
| <s:textfield name="relType.nameFrom" label="Name vom Ausgangspunkt (z.B. ist Vater von)" /> |
| <s:textfield name="relType.nameTo" label="Name vom Zielpunkt (z.B. ist Sohn von)" /> |
| <s:textfield name="nameFrom" label="Name vom Ausgangspunkt (z.B. ist Vater von)" /> |
| <s:textfield name="nameTo" label="Name vom Zielpunkt (z.B. ist Sohn von)" /> |
| <s:submit value="Add" /> |
| </s:form> |
| </body> |
| /trunk/WebContent/admin/userAdd.jsp |
|---|
| 1,6 → 1,6 |
| <html> |
| <head> |
| <title>User added</title> |
| <title>User bearbeiten</title> |
| </head> |
| <body> |
| /trunk/WebContent/admin/userAddForm.jsp |
|---|
| 8,15 → 8,13 |
| <h1>User hinzufügen</h1> |
| <p>Bitte geben Sie die Benutzerdaten ein</p> |
| <s:form action="doUserAdd"> |
| <s:hidden name="user.id" /> |
| <s:textfield name="user.username" label="User Name" /> |
| <s:password name="user.password" label="Password" /> |
| <s:textfield name="user.firstname" label="Vorname" /> |
| <s:textfield name="user.lastname" label="Nachname" /> |
| <s:checkbox name="user.admin" |
| <s:textfield name="username" label="User Name" /> |
| <s:password name="password" label="Password" /> |
| <s:textfield name="firstname" label="Vorname" /> |
| <s:textfield name="lastname" label="Nachname" /> |
| <s:checkbox name="admin" |
| label="Soll der User admin sein?" /> |
| <s:submit value="Add" /> |
| </s:form> |
| </body> |
| </html> |