mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-26 17:03:01 +00:00
102 lines
2.7 KiB
Cheetah
102 lines
2.7 KiB
Cheetah
{{with .Data}}
|
|
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
|
|
|
|
<div class="page-title"> About {{.Instance.Title}} </div>
|
|
<div>
|
|
<p>
|
|
{{.Instance.Description}}
|
|
</p>
|
|
<p>
|
|
{{if .Instance.ShortDescription}}
|
|
{{Raw .Instance.ShortDescription}}
|
|
{{end}}
|
|
</p>
|
|
{{if .Instance.Rules}}
|
|
<p>
|
|
<details>
|
|
<summary>Rules</summary>
|
|
{{range .Instance.Rules}}
|
|
{{.id}}. {{.text}}<br><br>
|
|
{{end}}
|
|
</details>
|
|
</p>
|
|
{{end}}
|
|
<p>
|
|
<details>
|
|
<summary>Logo instance</summary>
|
|
<img src="{{.Instance.Thumbnail}}" height="512"></img>
|
|
</details>
|
|
</p>
|
|
</div>
|
|
|
|
<div class="page-title"> Contact E-mail: {{.Instance.EMail}} </div>
|
|
{{if .Instance.ContactAccount}}
|
|
<div class="page-title"> Contact account: {{.Instance.ContactAccount.Acct}} </div>
|
|
{{end}}
|
|
|
|
{{if .Instance.Stats}}
|
|
<div class="page-title"> Statistics: </div>
|
|
<div>
|
|
<p>
|
|
Domains federated: {{.Instance.Stats.DomainCount}}<br>
|
|
Registered users: {{.Instance.Stats.UserCount}}<br>
|
|
Statuses writen: {{.Instance.Stats.StatusCount}}<br>
|
|
</p>
|
|
</div>
|
|
{{end}}
|
|
|
|
<div class="page-title"> Features: </div>
|
|
<div>
|
|
{{if .Instance.Pleroma}}
|
|
{{range .Instance.Pleroma.MetaData.Features}}
|
|
{{.}}<br>
|
|
{{end}}
|
|
{{end}}
|
|
</div>
|
|
|
|
<div class="page-title"> Limits: </div>
|
|
{{if .Instance.Configuration}}
|
|
Max status characters: {{.Instance.Configuration.Statuses.MaxCharacters}}<br>
|
|
Max media attachments: {{.Instance.Configuration.Statuses.MaxMediaAttachments}}<br>
|
|
{{else}}
|
|
Max status characters: {{.Instance.MaxTootChars}}<br>
|
|
Max media attachments: {{.Instance.MaxMediaAttachments}}<br>
|
|
Max size attachment: {{.Instance.UploadLimit}} bytes<br>
|
|
{{end}}
|
|
{{if .Instance.PollLimits}}
|
|
Max poll options: {{.Instance.PollLimits.MaxOptions}}<br>
|
|
{{end}}
|
|
</div>
|
|
|
|
|
|
<div class="page-title"> Federation info: </div>
|
|
<div>
|
|
{{if .Instance.Pleroma}}
|
|
<div class="federation-enabled"> Federation enabled: {{.Instance.Pleroma.MetaData.Federation.Enabled}} </div>
|
|
<h6> MRF Policies </h6>
|
|
{{range .Instance.Pleroma.MetaData.Federation.MrfPolicies}}{{.}}<br>{{end}}
|
|
<h6> Rejected instances </h6>
|
|
{{range .Instance.Pleroma.MetaData.Federation.MrfSimple.Reject}}{{.}}<br>{{end}}
|
|
<h6> Force NSFW instances </h6>
|
|
{{range .Instance.Pleroma.MetaData.Federation.MrfSimple.MediaNsfw}}{{.}}<br>{{end}}
|
|
<h6> Hiden from federated timeline instances </h6>
|
|
{{range .Instance.Pleroma.MetaData.Federation.MrfSimple.FederatedTimelineRemoval}}{{.}}<br>{{end}}
|
|
<h6> Rejected deletion activities </h6>
|
|
{{range .Instance.Pleroma.MetaData.Federation.MrfSimple.RejectDeletes}}{{.}}<br>{{end}}
|
|
{{end}}
|
|
<details>
|
|
<summary>Current peers ({{.Instance.Stats.DomainCount}})</summary>
|
|
{{range .Peers}}
|
|
{{.}}<br>
|
|
{{end}}
|
|
</details>
|
|
</div>
|
|
|
|
|
|
<div class="page-title"> Version: {{.Instance.Version}} </div>
|
|
|
|
|
|
{{template "footer.tmpl"}}
|
|
{{end}}
|
|
|