WWW service status tracker

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 app-editor.html

View raw Download
text/plain • 1.03 kiB
ASCII text
        
            
1
{% extends "default.html" %}
2
{% block title %}{{ app.name }} | Echo Tracker{% endblock %}
3
{% block content %}
4
<main>
5
<h1>Editing {{ app.name }}</h1>
6
{% for endpoint in app.endpoints %}
7
<form class="stacked-form" method="post" action="/app/{{ app.id }}/edit/{{ endpoint.id }}">
8
<input type="text" name="name" placeholder="Name" value="{{ endpoint.name }}">
9
<input type="text" name="url" placeholder="URL" value="{{ endpoint.url }}">
10
<button type="submit">Save</button>
11
<a class="button" href="/app/{{ app.id }}/delete/{{ endpoint.id }}">Delete</a>
12
</form>
13
{% endfor %}
14
<form class="stacked-form" method="post" action="/app/{{ app.id }}/edit">
15
<input type="text" name="name" placeholder="Name">
16
<input type="text" name="url" placeholder="URL">
17
<textarea name="comment" placeholder="Comment" rows="4"></textarea>
18
<button type="submit">Add</button>
19
</form>
20
</main>
21
{% endblock %}