Added vue compontents to ingame and lobby. Co-authored-by: LQ63 <lkhermann@web.de> Reviewed-on: #100 Co-authored-by: lq64 <lq@blackhole.local> Co-committed-by: lq64 <lq@blackhole.local>
37 lines
2.1 KiB
HTML
37 lines
2.1 KiB
HTML
@*
|
|
* This template is called from the `index` template. This template
|
|
* handles the rendering of the page header and body tags. It takes
|
|
* two arguments, a `String` for the title of the page and an `Html`
|
|
* object to insert into the body of the page.
|
|
*@
|
|
@(title: String)(content: Html)
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
@* Here's where we render the page title `String`. *@
|
|
<title>@title</title>
|
|
<link rel="stylesheet" media="screen" href="@routes.Assets.versioned("stylesheets/main.css")">
|
|
<link rel="shortcut icon" type="image/png" href="@routes.Assets.versioned("images/favicon.png")">
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@@5.3.8/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB" crossorigin="anonymous">
|
|
</head>
|
|
<script src="https://cdn.jsdelivr.net/npm/canvas-confetti@@1.6.0/dist/confetti.browser.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@@5.3.8/dist/js/bootstrap.bundle.min.js" integrity="sha384-FKyoEForCGlyvwx9Hj09JcYn3nv7wiPVlz7YYwJrWVcXK/BmnVDxM+D2scQbITxI" crossorigin="anonymous"></script>
|
|
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
|
<script src="https://unpkg.com/vue/dist/vue.global.prod.js"></script>
|
|
<script src="@routes.JavaScriptRoutingController.javascriptRoutes()" type="text/javascript"></script>
|
|
<script src="@routes.Assets.versioned("javascripts/websocket.js")" type="text/javascript"></script>
|
|
<script src="@routes.Assets.versioned("javascripts/events.js")" type="text/javascript"></script>
|
|
<script src="@routes.Assets.versioned("javascripts/interact.js")" type="text/javascript"></script>
|
|
<script src="@routes.Assets.versioned("javascripts/main.js")" type="text/javascript"></script>
|
|
|
|
<body class="d-flex flex-column min-vh-100" id="main-body">
|
|
<div id="alerts-container"></div>
|
|
@* And here's where we render the `Html` object containing
|
|
* the page content. *@
|
|
@content
|
|
</body>
|
|
</html>
|