diff --git a/README.md b/README.md index 9d33c0815..f3813a511 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ for a verification system: - [API guide](docs/api.md) - [Exposure Notifications Express SMS / Deep Link Handling](docs/link_handling.md) -- [Realm admin guide](docs/realm-admin-guide.md) +- [Realm administration guide](docs/realm-admin-guide.md) - [Case worker guide](docs/case-worker-guide.md) - [System admin guide](docs/system-admin-guide.md) - [Development](docs/development.md) diff --git a/cmd/server/assets/401.html b/cmd/server/assets/401.html new file mode 100644 index 000000000..2531164d4 --- /dev/null +++ b/cmd/server/assets/401.html @@ -0,0 +1,21 @@ +{{define "401"}} + + + + {{template "head" .}} + + + +
+

Unauthorized

+

+ You are not authorized to perform that action! +

+
+ ← Go back + Sign out +
+
+ + +{{end}} diff --git a/cmd/server/assets/404.html b/cmd/server/assets/404.html new file mode 100644 index 000000000..15b16c18d --- /dev/null +++ b/cmd/server/assets/404.html @@ -0,0 +1,20 @@ +{{define "404"}} + + + + {{template "head" .}} + + + +
+

Not Found

+

+ The resource you attempted to access does not exist. +

+

+ ← Go back +

+
+ + +{{end}} diff --git a/cmd/server/assets/admin/_nav.html b/cmd/server/assets/admin/_nav.html index bede139cf..dea2af14b 100644 --- a/cmd/server/assets/admin/_nav.html +++ b/cmd/server/assets/admin/_nav.html @@ -1,4 +1,7 @@ {{define "admin/navbar"}} + +{{$currentMemberships := .currentMemberships}} +
System admin @@ -7,14 +10,22 @@