Skip to content

Commit

Permalink
Fix last issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Pelayori committed Apr 28, 2024
1 parent bc52ed8 commit bdf3988
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public String saveQuestions(HttpServletResponse response, @RequestBody String js
}

@GetMapping("/player/admin/monitoring")
public String showMonitoring(Model model) {
public String showMonitoring() {
return "player/admin/monitoring";
}
}
9 changes: 8 additions & 1 deletion src/main/resources/templates/player/admin/monitoring.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
<iframe style="
width: 100%;
height: 100vh;
" src="https://monitor.pelayori.com:2053"></iframe>
" src="https://monitor.pelayori.com:2053"></iframe>

<script>
$(document).ready(function(){
$("#tab-content").append("<iframe></iframe>");
$("#tab-content iframe").attr("src", "https://monitor.pelayori.com:2053");
});
</script>

0 comments on commit bdf3988

Please sign in to comment.