summaryrefslogtreecommitdiffstats
path: root/docker/storperf-reporting/src/templates
diff options
context:
space:
mode:
authorsaksham115 <saksham.agrawal@research.iiit.ac.in>2017-08-02 17:47:53 +0530
committerSaksham Agrawal <saksham.agrawal@research.iiit.ac.in>2017-08-14 02:31:52 +0000
commitdbb0a468ce846ddeed6af9ca4a41cb0c762786b4 (patch)
tree5e841d9eb829d1a922ed020f4d4ff8e276d4f5cd /docker/storperf-reporting/src/templates
parent37e7b924e4e994b6e5bf14e755746e435dbec3ec (diff)
Validation if no json object is found at the given URL
JIRA: STORPERF-194 Change-Id: I65569b5fa9e927d11afe27d3f3117852d2eb682d Signed-off-by: saksham115 <saksham.agrawal@research.iiit.ac.in>
Diffstat (limited to 'docker/storperf-reporting/src/templates')
-rw-r--r--docker/storperf-reporting/src/templates/index.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/storperf-reporting/src/templates/index.html b/docker/storperf-reporting/src/templates/index.html
index 35cea1a..ab4e539 100644
--- a/docker/storperf-reporting/src/templates/index.html
+++ b/docker/storperf-reporting/src/templates/index.html
@@ -26,6 +26,13 @@
</div>
</form>
</div>
+ {% with messages = get_flashed_messages() %} {% if messages %} {% for message in messages %}
+ <div class="alert alert-danger alert-dismissible" role="alert">
+ <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span>
+ </button>
+ {{ message }}
+ </div>
+ {% endfor %} {% endif %} {% endwith %}
</div>
</div>
</body>