Skip to content
Snippets Groups Projects
Commit 7d8d8439 authored by Thomas Schnaak's avatar Thomas Schnaak
Browse files

fix: set link in menue, removed token from links(temporary)

parent cdbfae52
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ public class Menu extends SimpleTagSupport {
" <ul class=\"sidebar-nav\">\n" +
" <li class=\"sidebar-brand\"><a href=\"overview-student.html\">overview</a></li>\n" +
" <li><a href=\"takeQuiz.jsp\">Quizfrage</a></li>\n" +
" <li><a href=\"#\">ePortfolio</a></li>\n" +
" <li><a href=\"eportfolio.jsp\">ePortfolio</a></li>\n" +
" <li><a href=\"#\">Beitrag</a></li>\n" +
" <li><a href=\"finalAssessments.jsp\">Bewertung</a></li>\n" +
" <li><a href=\"../index.jsp\">Logout</a></li>\n" +
......
......@@ -113,7 +113,7 @@ public class JournalView {
//TODO token
URI location;
try {
location = new URI("../pages/eportfolio.jsp?token=test");
location = new URI("../pages/eportfolio.jsp");
log.debug("<<< saveJournal: redirect to " +location.toString());
return Response.temporaryRedirect(location).build();
......@@ -158,7 +158,7 @@ public class JournalView {
journalService.closeJournal(journal);
//TODO token
try {
URI location = new URI("../pages/eportfolio.jsp?token=test");
URI location = new URI("../pages/eportfolio.jsp?");
log.debug("<<< closeJournal: redirect to " +location.toString());
return Response.temporaryRedirect(location).build();
......
......@@ -49,7 +49,7 @@ public class ProjectDescriptionView {
//TODO token
try {
URI location = new URI("../pages/eportfolio.jsp?token=test");
URI location = new URI("../pages/eportfolio.jsp?");
log.debug("<<< saveText: redirect to " +location.toString());
return Response.temporaryRedirect(location).build();
......@@ -74,7 +74,7 @@ public class ProjectDescriptionView {
try {
URI location = new URI("../pages/eportfolio.jsp?token=test");
URI location = new URI("../pages/eportfolio.jsp");
log.debug("<<< addLink: redirect to " +location.toString());
return Response.temporaryRedirect(location).build();
......@@ -99,7 +99,7 @@ public class ProjectDescriptionView {
descriptionService.deleteLink(link);
//TODO token
try {
URI location = new URI("../pages/eportfolio.jsp?token=test");
URI location = new URI("../pages/eportfolio.jsp");
log.debug("<<< deleteLink: redirect to " +location.toString());
return Response.temporaryRedirect(location).build();
......@@ -122,7 +122,7 @@ public class ProjectDescriptionView {
descriptionService.closeDescription(desc);
//TODO token
try {
URI location = new URI("../pages/eportfolio.jsp?token=test");
URI location = new URI("../pages/eportfolio.jsp");
log.debug("<<< closeDescription: redirect to " +location.toString());
return Response.temporaryRedirect(location).build();
......
......@@ -64,7 +64,7 @@ function loadJournals(data) {
data[journal].category +
'</div>' +
'<div class="journal-edit" align="right">' +
'<a class="btn btn-default btn-sm" href="createJournal.jsp?token=test&journal=' + data[journal].id + '"><i class="fa fa-pencil"></i> Bearbeiten</a>' +
'<a class="btn btn-default btn-sm" href="createJournal.jsp?journal=' + data[journal].id + '"><i class="fa fa-pencil"></i> Bearbeiten</a>' +
'<a class="btn btn-default btn-sm" data-toggle="modal" data-target="#closeJournalModal"><i class="fa fa-check-square" aria-hidden="true"></i>Abschlie&szlig;en</a>' +
'</div>' +
'<div class="journal-text">' +
......
......@@ -56,7 +56,7 @@
<div class="description-form-buttons">
<input class="btn btn-default btn-sm" type="submit">
<a class="btn btn-default btn-sm" href="eportfolio.jsp?token=test">Zur&uuml;ck</a>
<a class="btn btn-default btn-sm" href="eportfolio.jsp">Zur&uuml;ck</a>
</div>
</div>
......
......@@ -51,7 +51,7 @@
<div class="journal-description-title">
</div>
<div class="journal-description-edit" align="right">
<a class="btn btn-default btn-sm" href="editDescription.jsp?project=0&token=test">
<a class="btn btn-default btn-sm" href="editDescription.jsp?project=0">
<i class="fa fa-pencil"></i> Bearbeiten</a>
<a class="btn btn-default btn-sm" data-toggle="modal" data-target="#closeDescriptionModal"><i class="fa fa-check-square" aria-hidden="true"></i>Abschlie&szlig;en</a>
......@@ -77,7 +77,7 @@
<option value="OWN">Eigene</option>
</select>
<a class="btn btn-default btn-sm" href="createJournal.jsp?token=test">Neu</a>
<a class="btn btn-default btn-sm" href="createJournal.jsp">Neu</a>
</div>
<div class="journal">
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment