@@ -154,7 +154,7 @@ def submit_job():
for t in targets:
db.session.add(t)
db.session.commit()
- return "Launching jobs towards {}".format(", ".join((str(t) for t in targets)))
+ return render_template('submit.html', targets=targets)
else:
return "Invalid arguments"
@@ -0,0 +1,12 @@
+<p>Your request has been submitted, ping will be launched towards the
+specified targets.</p>
+
+<p>The results should be available within a few minutes by using the following links:</p>
+<p>
+ <ul>
+ {% for t in targets %}
+ <li><a href="/result/show/{{ t.id }}">result for {{ t }}</a></li>
+ {% endfor %}
+ </ul>
+</p>