ovpn-certman/assets/templates/layouts/admin.gohtml

39 lines
892 B
Text
Raw Normal View History

2018-01-26 08:43:53 +01:00
{{ define "base" }}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
2018-01-29 09:18:19 +01:00
<meta name="csrf-token" content="{{ .csrfToken }}" />
2018-01-26 08:43:53 +01:00
<meta name="csrf-param" content="csrf_token" />
<title>Admin</title>
2018-01-29 09:18:19 +01:00
<link rel="stylesheet" href="{{ asset "css/admin-style" }}">
2018-01-26 08:43:53 +01:00
</head>
<body class="admin">
{{ template "header" . }}
<div id="flash-container">
{{range .flashes}}
<div class="{{ .Class }}"{{ .Message }}</div>
{{end}}
</div>
<div class="container main-container">
{{ template "content" . }}
</div>
{{ template "footer" . }}
{{ template "sink" .}}
<script src="/public/assets/admin.js"></script>
</body>
</html>
{{ end }}
{{ define "header"}}{{end}}
{{ define "content"}}{{end}}
{{ define "footer"}}{{end}}
{{ define "sink"}}{{end}}