etiquette/frontends/etiquette_flask/templates/user.html

36 lines
1,007 B
HTML

<!DOCTYPE html5>
<html>
<head>
{% import "header.html" as header %}
<title>{{user.display_name}}</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/static/css/common.css">
{% if theme %}<link rel="stylesheet" href="/static/css/theme_{{theme}}.css">{% endif %}
<script src="/static/js/common.js"></script>
<script src="/static/js/api.js"></script>
<style>
#content_body
{
/* overriding common.css here */
display: block;
}
</style>
</head>
<body>
{{header.make_header(session=session)}}
<div id="content_body">
<h2>{{user.display_name}}</h2>
<p>ID: {{user.id}}</p>
<p>User since <span title="{{user.created|int|timestamp_to_8601}}">{{user.created|timestamp_to_naturaldate}}.</span></p>
<p><a href="/search?author={{user.username}}">Photos by {{user.display_name}}</a></p>
</div>
</body>
<script type="text/javascript">
</script>
</html>