-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfront.html
43 lines (40 loc) · 1.22 KB
/
front.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<html>
<head>
<title>Trajectory generator</title>
</head>
<body>
<h1> Trajectory generator </h1>
<form action="" method="post">
{{ form.csrf }}
<div class="input submit">
<input type="submit" name="btn" value="Randomise traffic" />
</div>
</form>
<div class="container" align="left">
<a href="/return-files/" target="blank"><button class='btn btn-default'>Graph info</button></a>
</div>
<br><br>
<form action="" method="post">
{{ form.csrf }}
<div class="input text">
{{ form.from_edge.label }} {{ form.from_edge }}
</div>
<br>
<div class="input text">
{{ form.to_edge.label }} {{ form.to_edge }}
</div>
<br>
<div class="input submit">
<input type="submit" name="btn" value="Submit" />
</div>
</form>
<br>
{% with messages = get_flashed_messages() %}
{% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %}
{% endwith %}
</body>
</html>