Skip to content
Snippets Groups Projects
Commit 66968603 authored by Sven Kästle's avatar Sven Kästle
Browse files

feat: add back button to annotation page

parent 6677a2fa
No related branches found
No related tags found
No related merge requests found
......@@ -148,6 +148,10 @@ ol {
float: right;
margin: 20px;
}
.leftcontent-buttons-back {
float: left;
margin: 20px;
}
.leftcontent-text {
overflow: scroll;
white-space: pre-line;
......
......@@ -71,6 +71,13 @@ $(document).ready(function() {
location.href="givefeedback.jsp?token=" + getUserTokenFromUrl();
});
/**
* back button
*/
$('#btnBack').click(function () {
location.href="project-student.jsp?token=" + getUserTokenFromUrl() + "&projectId=" + getQueryVariable("projectId");
});
/**
* validation of annotation create form inside the modal
*/
......
......@@ -52,8 +52,11 @@
<div class="leftcontent">
<div class="leftcontent-text context-menu-one" id="documentText"></div>
<div class="leftcontent-buttons">
<div class="leftcontent-buttons-back">
<button id="btnBack" type="button" class="btn btn-secondary">Zurück</button>
</div>
<div class="leftcontent-buttons-next">
<button id="btnContinue" type="button" class="btn btn-secondary">Weiter</button>
<button id="btnContinue" type="button" class="btn btn-primary">Weiter</button>
</div>
</div>
</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