first commit
This commit is contained in:
22
templates/view_profile.html
Normal file
22
templates/view_profile.html
Normal file
@@ -0,0 +1,22 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}My Findings{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ user.username }}'s profile:</h1>
|
||||
<p>Their Findings</p>
|
||||
{% if findings %}
|
||||
<ul>
|
||||
{% for finding in findings %}
|
||||
<li>
|
||||
<strong>{{ finding.title }}</strong> —
|
||||
Path: <a href="/findings/{{ finding.id }}">{{ finding.path }}</a> —
|
||||
Found on: {{ finding.find_time.strftime('%Y-%m-%d %H:%M') }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<p>You have no findings yet.</p>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user