etiquette/frontends/etiquette_flask/templates/user.html
Ethan Dalool 8fdbd49f70 Minor html and style fixes.
Applied wrapping to the description <pre>s,
removed some css that referred to nonexistent things,
move some element tags inside the {%if%} that fills the contents.
2018-08-17 22:05:16 -07:00

33 lines
820 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">
<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>