36 lines
984 B
Plaintext
36 lines
984 B
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>lykin check</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
</head>
|
|
<body>
|
|
<h1>lykin <code>follow</code> checker</h1>
|
|
<form action="/about" method="post">
|
|
<label for="public_key">Public Key</label>
|
|
<input type="text"
|
|
id="public_key"
|
|
name="public_key"
|
|
maxlength=53
|
|
style="font-family: monospace; width: 55ch;"
|
|
{% if peer_pubkey %}
|
|
value="{{ peer_pubkey }}"
|
|
{% endif %}
|
|
>
|
|
<input type="submit" value="Check">
|
|
</form>
|
|
{% if flash and flash.kind == "error" %}
|
|
<p style="color: red;">[ {{ flash.message }} ]</p>
|
|
{% endif %}</p>
|
|
|
|
{% if peer_pubkey and whoami and status %}
|
|
<pre>
|
|
me: {{ whoami }}
|
|
peer: {{ peer_pubkey }}
|
|
status: {{ status }}
|
|
</pre>
|
|
{% endif %}</p>
|
|
</body>
|
|
</html>
|