make the privacy page look consistent

このコミットが含まれているのは:
Arya Kiran 2023-03-09 15:44:17 +05:30
コミット 3b86e6a144
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 842D12BDA50DF120
2個のファイルの変更17行の追加10行の削除

ファイルの表示

@ -3,7 +3,8 @@
<main> <main>
{{ if .file }} {{ if .file }}
<style> <style>
{{.css}}; // prettier-ignore
{{.css}}
</style> </style>
<div class="downloadParent"> <div class="downloadParent">
<a href="/{{.fullname}}" class="button">Back to {{.fullname}}</a> <a href="/{{.fullname}}" class="button">Back to {{.fullname}}</a>

ファイルの表示

@ -1,6 +1,6 @@
{{template "header" .}} {{template "header" .}}
<main style="text-align: center; line-height: 30px"> <main>
<h2>Instance Privacy</h2> <h2>Instance Privacy</h2>
{{ if .privacyInformation}} {{ range $key, $value := .privacyInformation}} {{ if .privacyInformation}} {{ range $key, $value := .privacyInformation}}
<p> <p>
@ -8,10 +8,12 @@
instances and to encourage privacy friendly practices. instances and to encourage privacy friendly practices.
</p> </p>
<p>If this page isn't filled, please contact your instance's maintainer.</p> <p>If this page isn't filled, please contact your instance's maintainer.</p>
<p><b>IP Address logged:</b> {{.IPAddr}}</p> <ul>
<p><b>Request URL logged:</b> {{.ReqURL}}</p> <li><b>IP Address logged:</b> {{.IPAddr}}</li>
<p><b>User Agent logged:</b> {{.UserAgent}}</p> <li><b>Request URL logged:</b> {{.ReqURL}}</li>
<p><b>Diagnostic Information logged:</b> {{.Diagnostics}}</p> <li><b>User Agent logged:</b> {{.UserAgent}}</li>
<li><b>Diagnostic Information logged:</b> {{.Diagnostics}}</li>
</ul>
{{ if .PrivacyPolicy }} {{ if .PrivacyPolicy }}
<p> <p>
You can see the maintainer's You can see the maintainer's
@ -25,9 +27,13 @@
><code>{{.Version}}</code></a ><code>{{.Version}}</code></a
> >
</p> </p>
<p>Fiber version: {{ .FiberVersion}}, running on {{ .GoVersion}}</p> <ul>
<p>Country: {{.Country}}</p> <li>
<p>Cloudflare: {{.Cloudflare}}</p> <b>Go Version</b>: Fiber {{ .FiberVersion}} running on {{ .GoVersion}}
<p>ISP: {{.Provider}}</p> </li>
<li><b>Country:</b> {{.Country}}</li>
<li><b>Cloudflare:</b> {{.Cloudflare}}</li>
<li><b>ISP:</b> {{.Provider}}</li>
</ul>
{{end}} {{end}} {{end}} {{end}}
</main> </main>