app.html
ASCII text
1
{% extends "default.html" %}
2
{% block title %}{{ app.name }} | Echo Tracker{% endblock %}
3
{% block content %}
4
<main>
5
<h1>{{ app.name }}</h1>
6
{% if session.get("username") == app.owner_name %}
7
<a class="button" style="width:100%; margin: 1em 0;" tabindex="0" href="/app/{{ app.id }}/edit">
8
<iconify-icon icon="mdi:pencil"></iconify-icon>
9
Manage endpoints
10
</a>
11
{% endif %}
12
<div id="endpoint-list">
13
{% for endpoint in app.endpoints %}
14
<div class="endpoint-card">
15
<h2>{{ endpoint.name }}</h2>
16
<p>{{ endpoint.comment }}</p>
17
18
</div>
19
{% endfor %}
20
</div>
21
</main>
22
{% endblock %}