blob: 70c8c8636a0e271c74c1c00db92e3adc7db7da6d (
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
|
<!doctype html>
<html>
<head>
<title>National Law of {{.Country.Name}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<link rel="stylesheet" href="//{{.Domain}}/assets/style.css" />
</head>
<body>
<a href="//{{.Domain}}"><img alt="lex.surf" height=140 class=logo src="//{{.Domain}}/assets/logo.svg"></a>
<h1>National Law of {{.Country.Name}}</h1>
{{if not .Country.HasPlaceholder}}
<p><big><a href="{{.Country.SearchURL}}">{{.Country.SearchURL}}</a></big></p>
{{if not .HasJSONLaws}}
(No search form here because the search isn't linkable.)
{{end}}
{{end}}
{{if .Country.HasPlaceholder}}
<form>
{{end}}
{{if or .Country.HasPlaceholder .HasJSONLaws}}
<input id=search name=q aria-label="Search" autocomplete="off" autofocus {{if .HasJSONLaws}}data-json{{end}}>
<ul id=suggestions></ul>
{{end}}
{{if .Country.HasPlaceholder}}
</form>
{{end}}
<script src="//{{.Domain}}/assets/script.js"></script>
</body>
</html>
|