Add photo visualization page
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
<a class="nav-link" href="{{ url_for('index') }}">Home <span class="sr-only">(current)</span></a>
|
||||
</li>
|
||||
<li class="nav-link"><a href="{{ url_for('data') }}">Data</a></li>
|
||||
<li class="nav-link"><a href="{{ url_for('photos') }}">Photos</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
9
app/templates/photos.html
Normal file
9
app/templates/photos.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{% extends "base.html" %}
|
||||
{% import 'bootstrap/wtf.html' as wtf %}
|
||||
|
||||
{% block app_content %}
|
||||
<h1>Photos</h1>
|
||||
{% for img_path in images %}
|
||||
<img src="{{img_path|safe}}" alt="Image placeholder" id="photo" style="width: 200px"/>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user