sneed
This commit is contained in:
parent
e77561f0c0
commit
7018d720f3
1 changed files with 21 additions and 0 deletions
21
drama/templates/viewers.html
Normal file
21
drama/templates/viewers.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
{% extends "default.html" %}
|
||||
{% block content %}
|
||||
<pre class="d-none d-md-inline-block"></pre>
|
||||
<h5>Users who viewed your profile</h5>
|
||||
<pre></pre>
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th style="font-weight: bold">Name</th>
|
||||
<th style="font-weight: bold">Last visit</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{% for view in viewers %}
|
||||
<tr>
|
||||
<td style="font-weight: bold"><a style="color: #{{view.viewer.namecolor}}" href="/@{{view.viewer.username}}"><img src="/@{{view.viewer.username}}/pic/profile" class="profile-pic-20 mr-1">{{view.viewer.username}}</a></td>
|
||||
<td style="font-weight: bold">{{ view.last_view_string }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue