summaryrefslogtreecommitdiffstats
path: root/docker/storperf-reporting/src/templates
diff options
context:
space:
mode:
authorMark Beierl <mark.beierl@dell.com>2017-08-15 17:31:39 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-15 17:31:39 +0000
commit1d3a2a843e03b8e36d6ac2069fdb1e143b08c91c (patch)
treeaced76f91b792ac3c58e00d244b93d23c1abcb57 /docker/storperf-reporting/src/templates
parenteb04143319767bb713844c3121338cab5ca5c994 (diff)
parentdbb0a468ce846ddeed6af9ca4a41cb0c762786b4 (diff)
Merge "Validation if no json object is found at the given URL JIRA: STORPERF-194"
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>