CI / test (push) Failing after 42s
People sign up on the website and link IMVU accounts by putting a code in the account's tagline, which the hub reads from IMVU's public API (the most recent proof wins; link caps per person). IMVU's age verification or Access Pass make an account adult. T5DE's proxy signs in with a device code and keeps a WebSocket open, reporting the IMVU account in use and the community products it wears; /online shows those who opted in. Moderators get a console: who's online, people, link caps, bans, roles, and the audit log. Tests run the website and API against an embedded Postgres and a fake IMVU API. Co-Authored-By: Claude Opus 5.5 <[email protected]>
26 lines
853 B
HTML
26 lines
853 B
HTML
{{define "title"}}People{{end}}
|
|
{{define "content"}}
|
|
<h1>People</h1>
|
|
<p class="lead"><a href="/console">Console</a></p>
|
|
<div class="panel">
|
|
<form method="get" action="/console/people" class="inline">
|
|
<input type="search" name="q" value="{{.Search}}" placeholder="T5DE or IMVU username">
|
|
<button class="secondary">Search</button>
|
|
</form>
|
|
</div>
|
|
<div class="panel">
|
|
<table>
|
|
<tr><th>Username</th><th>Role</th><th>Link cap</th><th>Joined</th><th></th></tr>
|
|
{{range .People}}
|
|
<tr>
|
|
<td><a href="/console/people/{{.ID}}">{{.Username}}</a></td>
|
|
<td>{{.Role}}</td><td>{{.LinkCap}}</td><td class="muted">{{date .CreatedAt}}</td>
|
|
<td>{{if .Banned}}<span class="tag warn">banned</span>{{end}}</td>
|
|
</tr>
|
|
{{else}}
|
|
<tr><td colspan="5" class="empty">Nobody found.</td></tr>
|
|
{{end}}
|
|
</table>
|
|
</div>
|
|
{{end}}
|