From 4d43e952fff25b5b131e8699858da663a5ac2c42 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sun, 28 Feb 2021 09:18:48 +0100 Subject: initial commit --- views/index.html | 18 ++++++++++++++++++ views/search.html | 23 +++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 views/index.html create mode 100644 views/search.html (limited to 'views') diff --git a/views/index.html b/views/index.html new file mode 100644 index 0000000..7ab4bd0 --- /dev/null +++ b/views/index.html @@ -0,0 +1,18 @@ + + + + Lex.surf: Portal to National Law + + + + + +

The portal to national law.

+
+ {{range $key, $c := .Countries -}} + {{$key | ToUpper}} + {{- end}} +
+

More countries coming soon.

+ + diff --git a/views/search.html b/views/search.html new file mode 100644 index 0000000..44d496c --- /dev/null +++ b/views/search.html @@ -0,0 +1,23 @@ + + + + National Law of {{.Country.Name}} + + + + + +

National Law of {{.Country.Name}}

+ {{if .Country.HasPlaceholder}} +
+ + +
+ {{else}} +

{{.Country.SearchURL}}

+ + (No search form here because the search isn't linkable.) + {{end}} + + + -- cgit v1.2.3