First pass at basic functionality.
This PR introduces the beginnings of Sprint Padawan. Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
@@ -0,0 +1,85 @@
|
||||
{{define "app-head"}}
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>{{.Title}} — SprintPadawan</title>
|
||||
<meta
|
||||
name="description"
|
||||
content="A lightweight real-time sprint planning tool."
|
||||
/>
|
||||
<meta property="og:title" content="{{.Title}} - SprintPadawan" />
|
||||
<meta
|
||||
property="og:description"
|
||||
content="A lightweight real-time sprint planning tool."
|
||||
/>
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:image" content="/static/img/logo.png" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="twitter:title" content="{{.Title}} - SprintPadawan" />
|
||||
<meta
|
||||
name="twitter:description"
|
||||
content="A lightweight real-time sprint planning tool."
|
||||
/>
|
||||
<meta name="twitter:image" content="/static/img/logo.png" />
|
||||
<meta name="theme-color" content="#6366f1" />
|
||||
<link rel="icon" href="/static/img/favicon.ico" sizes="any" />
|
||||
<link rel="icon" type="image/svg+xml" href="/static/img/logo.webp" />
|
||||
<link rel="apple-touch-icon" href="/static/img/logo.png" />
|
||||
<link rel="stylesheet" href="/static/fonts/fonts.css" />
|
||||
<link rel="stylesheet" href="/static/styles/main.css" />
|
||||
{{if .UseHTMX}}
|
||||
<script src="/static/js/htmx.min.js" defer></script>
|
||||
{{end}} {{if .UseSSE}}
|
||||
<script src="/static/js/sse.js" defer></script>
|
||||
{{end}}
|
||||
</head>
|
||||
{{end}} {{define "auth-head"}}
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>{{.Title}} — SprintPadawan</title>
|
||||
<meta
|
||||
name="description"
|
||||
content="A lightweight web application for agile sprint planning."
|
||||
/>
|
||||
<meta property="og:title" content="{{.Title}} — SprintPadawan" />
|
||||
<meta
|
||||
property="og:description"
|
||||
content="A lightweight web application for agile sprint planning."
|
||||
/>
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:image" content="/static/img/logo.png" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="twitter:title" content="{{.Title}} — SprintPadawan" />
|
||||
<meta
|
||||
name="twitter:description"
|
||||
content="A lightweight web application for agile sprint planning."
|
||||
/>
|
||||
<meta name="twitter:image" content="/static/img/logo.png" />
|
||||
<meta name="theme-color" content="#6366f1" />
|
||||
<link rel="icon" href="/static/img/favicon.ico" sizes="any" />
|
||||
<link rel="icon" type="image/svg+xml" href="/static/img/logo.webp" />
|
||||
<link rel="apple-touch-icon" href="/static/img/logo.png" />
|
||||
<link rel="stylesheet" href="/static/fonts/fonts.css" />
|
||||
<link rel="stylesheet" href="/static/styles/main.css" />
|
||||
</head>
|
||||
{{end}} {{define "brand-mark"}}
|
||||
<a href="/" class="brand-mark">
|
||||
<img
|
||||
src="/static/img/logo.webp"
|
||||
alt="SprintPadawan"
|
||||
height="32"
|
||||
width="32"
|
||||
fetchpriority="high"
|
||||
decoding="async"
|
||||
/>
|
||||
</a>
|
||||
{{end}} {{define "session-controls"}}
|
||||
<div class="topbar-user">
|
||||
<div class="user-avatar">{{slice .Username 0 1}}</div>
|
||||
<span class="topbar-user-name">{{.Username}}</span>
|
||||
</div>
|
||||
<form method="POST" action="/logout">
|
||||
<button class="topbar-link-btn" type="submit">Sign Out</button>
|
||||
</form>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user