From 3b86e6a144716632664bcd2ebefa9cdc67ec9c14 Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Thu, 9 Mar 2023 15:44:17 +0530 Subject: [PATCH] make the privacy page look consistent --- views/file.html | 3 ++- views/privacy.html | 24 +++++++++++++++--------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/views/file.html b/views/file.html index 685493f..421489e 100644 --- a/views/file.html +++ b/views/file.html @@ -3,7 +3,8 @@
{{ if .file }}
Back to {{.fullname}} diff --git a/views/privacy.html b/views/privacy.html index 890bdb0..bef689c 100644 --- a/views/privacy.html +++ b/views/privacy.html @@ -1,6 +1,6 @@ {{template "header" .}} -
+

Instance Privacy

{{ if .privacyInformation}} {{ range $key, $value := .privacyInformation}}

@@ -8,10 +8,12 @@ instances and to encourage privacy friendly practices.

If this page isn't filled, please contact your instance's maintainer.

-

IP Address logged: {{.IPAddr}}

-

Request URL logged: {{.ReqURL}}

-

User Agent logged: {{.UserAgent}}

-

Diagnostic Information logged: {{.Diagnostics}}

+
    +
  • IP Address logged: {{.IPAddr}}
  • +
  • Request URL logged: {{.ReqURL}}
  • +
  • User Agent logged: {{.UserAgent}}
  • +
  • Diagnostic Information logged: {{.Diagnostics}}
  • +
{{ if .PrivacyPolicy }}

You can see the maintainer's @@ -25,9 +27,13 @@ >{{.Version}}

-

Fiber version: {{ .FiberVersion}}, running on {{ .GoVersion}}

-

Country: {{.Country}}

-

Cloudflare: {{.Cloudflare}}

-

ISP: {{.Provider}}

+
    +
  • + Go Version: Fiber {{ .FiberVersion}} running on {{ .GoVersion}} +
  • +
  • Country: {{.Country}}
  • +
  • Cloudflare: {{.Cloudflare}}
  • +
  • ISP: {{.Provider}}
  • +
{{end}} {{end}}