initial commit
All checks were successful
Build and publish the docker image / build (push) Successful in 58s
All checks were successful
Build and publish the docker image / build (push) Successful in 58s
Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
27
views/translate.html
Normal file
27
views/translate.html
Normal file
@ -0,0 +1,27 @@
|
||||
<html>
|
||||
<head>
|
||||
{{template "head" .}}
|
||||
<link rel="stylesheet" href="/css/translation.scss">
|
||||
</head>
|
||||
<body>
|
||||
{{template "navbar" .}}
|
||||
<main>
|
||||
{{template "search" .}}
|
||||
|
||||
{{if not .suggestions}}
|
||||
{{if not .fields}}
|
||||
<h3 class="result">No results :(</h3>
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
||||
{{if .suggestions}}
|
||||
<h3 class="result">Did you mean...</h3>
|
||||
{{range .suggestions}}
|
||||
<p>{{.}}</p>
|
||||
{{end}}
|
||||
{{else}}
|
||||
{{template "table" .}}
|
||||
{{end}}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user