32 lines
683 B
HTML
32 lines
683 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Title</title>
|
|
</head>
|
|
<body>
|
|
|
|
{% for category, message in get_flashed_messages(with_categories=true) %}
|
|
<spam class="{{ category }}">{{ message }}</spam>
|
|
{% endfor %}<br/>
|
|
|
|
{% if user %}
|
|
<style>pre{white-space:wrap}</style>
|
|
<div>Logged in as <strong>{{user.name}}</strong> (<a href="{{ url_for('.logout') }}">Log Out</a>)</div>
|
|
|
|
<br/><div><h3>Clients:</h3>
|
|
{% for client in clients %}
|
|
<pre>
|
|
{{ client.client_info|tojson }}
|
|
{{ client.client_metadata|tojson }}
|
|
</pre>
|
|
<hr>
|
|
{% endfor %}
|
|
<br/></div>
|
|
|
|
{% else %}
|
|
<br><p>Please, <a href="{{ url_for('.login') }}">Login</a></p>
|
|
{% endif %}
|
|
|
|
</body>
|
|
</html> |