Changeset 93:3d1a00418b42 in AnnotationManagerN4J for src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/AnnotationResource.java
- Timestamp:
- Feb 9, 2015, 11:55:51 AM (9 years ago)
- Branch:
- admin_ui_rel_links
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/AnnotationResource.java
r78 r93 123 123 // output person content 124 124 result = "<html><body>\n<h1>Annotation</h1>\n"; 125 result += String.format("<p><a href=\"%s\">All annotations</a></p>", this.getReference().getParentRef());125 result += "<p><a href=\"./\">All annotations</a></p>"; 126 126 result += "<table>"; 127 127 result += String.format("<tr><td><b>uri</b></td><td>%s</td></tr>\n", annotation.getUri()); … … 142 142 //result += "<p><a href=\"?form=edit\">Edit annotation</a></p>\n"; 143 143 // tunnel POST as DELETE 144 result += String.format( 145 "<form method=\"post\" action=\"%s?method=DELETE\"><input type=\"submit\" value=\"Delete annotation\"/></form>\n", 146 this.getReference().getHierarchicalPart()); 144 result += "<form method=\"post\" action=\"?method=DELETE\"><input type=\"submit\" value=\"Delete annotation\"/></form>\n"; 147 145 result += "</body>\n</html>"; 148 146 }
Note: See TracChangeset
for help on using the changeset viewer.