created setup
This commit is contained in:
16
templates/base.html
Normal file
16
templates/base.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html data-theme="dark">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{template "title" .}}</title>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@1.0.2/css/bulma.min.css">
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/@alpinejs/anchor@3.x.x/dist/cdn.min.js"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container mt-5">
|
||||
{{template "body" .}}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
7
templates/create_session.html
Normal file
7
templates/create_session.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{{define "title"}}
|
||||
create or join session | {{index . "name"}}
|
||||
{{end}}
|
||||
|
||||
{{define "body"}}
|
||||
<button class="button is-primary">create session</button>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user