aboutsummaryrefslogtreecommitdiff
blob: e00ef8c741dca321c3509cd47f35425826686482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package about

import (
	"net/http"
	"soko/pkg/app/layout"
)

templ help() {
	<div class="container mb-5">
		<div class="row">
			<div class="col-12">
				<ol class="breadcrumb">
					<li class="breadcrumb-item"><a href="/">Home</a></li>
					<li class="breadcrumb-item"><a href="/about">About</a></li>
					<li class="breadcrumb-item active">Help</li>
				</ol>
				<h1>Help</h1>
				<h2 id="keyword-legend">Keyword table legend</h2>
				<ul class="list-group kk-keyword-legend">
					<li class="list-group-item kk-keyword-stable">
						<svg height="16" class="octicon octicon-diff-added" viewBox="0 0 14 16" version="1.1" width="14" aria-hidden="true"><path fill-rule="evenodd" d="M13 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 13H1V2h12v12zM6 9H3V7h3V4h2v3h3v2H8v3H6V9z"></path></svg> &nbsp;Stable
					</li>
					<li class="list-group-item kk-keyword-testing">
						<svg height="16" class="octicon octicon-diff-modified" viewBox="0 0 14 16" version="1.1" width="14" aria-hidden="true"><path fill-rule="evenodd" d="M13 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path></svg> &nbsp;Testing
					</li>
					<li class="list-group-item kk-keyword-unavailable">
						<svg height="16" class="octicon octicon-diff-removed" viewBox="0 0 14 16" version="1.1" width="14" aria-hidden="true"><path fill-rule="evenodd" d="M13 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 13H1V2h12v12zm-2-5H3V7h8v2z"></path></svg> &nbsp;Explicitly unavailable
					</li>
					<li class="list-group-item kk-keyword-masked">
						<svg height="16" class="octicon octicon-diff-ignored" viewBox="0 0 14 16" version="1.1" width="14" aria-hidden="true"><path fill-rule="evenodd" d="M13 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 13H1V2h12v12zm-8.5-2H3v-1.5L9.5 4H11v1.5L4.5 12z"></path></svg> &nbsp;Masked
					</li>
					<li class="list-group-item kk-keyword-unknown">
						<span class="kk-octicon-spacer"></span>&nbsp;Unknown
					</li>
				</ul>
			</div>
		</div>
	</div>
}

// Help shows the help about page
func Help(w http.ResponseWriter, r *http.Request) {
	layout.Layout("About", layout.About, help()).Render(r.Context(), w)
}