WebUI sessions implemented
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
{{ define "title"}}<title>Example</title>{{ end }}
|
||||
{{ define "content" }}
|
||||
<a href="/discordLogin">Login with Discord</a>
|
||||
{{ end }}
|
||||
@@ -0,0 +1,17 @@
|
||||
{{ define "base" }}
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="/static/css/style.css">
|
||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700' rel='stylesheet' type='text/css'>
|
||||
{{template "title" . }}
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Example</h1>
|
||||
</header>
|
||||
<div id="page">
|
||||
{{ template "content" . }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user