summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/storperf-reporting/src/app.py5
-rw-r--r--docker/storperf-reporting/src/static/images/OPNVF_ProjectIcons_2400x2400_Storperf.pngbin0 -> 54862 bytes
-rw-r--r--docker/storperf-reporting/src/templates/header.html8
-rw-r--r--docker/storperf-reporting/src/templates/index.html2
-rw-r--r--docker/storperf-reporting/src/templates/plot_tables.html1
5 files changed, 16 insertions, 0 deletions
diff --git a/docker/storperf-reporting/src/app.py b/docker/storperf-reporting/src/app.py
index fadda66..c77f60f 100644
--- a/docker/storperf-reporting/src/app.py
+++ b/docker/storperf-reporting/src/app.py
@@ -40,6 +40,11 @@ def css(path):
return send_from_directory('static/css/', path)
+@app.route('/reporting/images/<path:path>')
+def images(path):
+ return send_from_directory('static/images/', path)
+
+
@app.route('/reporting/')
def index():
return render_template('index.html')
diff --git a/docker/storperf-reporting/src/static/images/OPNVF_ProjectIcons_2400x2400_Storperf.png b/docker/storperf-reporting/src/static/images/OPNVF_ProjectIcons_2400x2400_Storperf.png
new file mode 100644
index 0000000..97ddd71
--- /dev/null
+++ b/docker/storperf-reporting/src/static/images/OPNVF_ProjectIcons_2400x2400_Storperf.png
Binary files differ
diff --git a/docker/storperf-reporting/src/templates/header.html b/docker/storperf-reporting/src/templates/header.html
new file mode 100644
index 0000000..06dee22
--- /dev/null
+++ b/docker/storperf-reporting/src/templates/header.html
@@ -0,0 +1,8 @@
+<div class="row" id="header">
+ <div class="col-md-3">
+ <img src="/reporting/images/OPNVF_ProjectIcons_2400x2400_Storperf.png" alt="logo" height="100px" width="100px">
+ </div>
+ <div class="col-md-9 center" style="padding-top: 20px;">
+ <h3>StorPerf Test Result Graphing Page</h3>
+ </div>
+</div> \ No newline at end of file
diff --git a/docker/storperf-reporting/src/templates/index.html b/docker/storperf-reporting/src/templates/index.html
index 70e33bd..35cea1a 100644
--- a/docker/storperf-reporting/src/templates/index.html
+++ b/docker/storperf-reporting/src/templates/index.html
@@ -3,6 +3,7 @@
<head>
<title>Graphing Module | Storperf</title>
+ <link rel="icon" href="/reporting/images/OPNVF_ProjectIcons_2400x2400_Storperf.png">
<link rel="stylesheet" href="/reporting/css/bootstrap.min.css">
<script src="/reporting/js/jquery-2.1.3.min.js"></script>
<script src="/reporting/js/bootstrap.min.js"></script>
@@ -12,6 +13,7 @@
<body>
<div class="container">
<div class="content">
+ {% include 'header.html' %}
<div class="row center">
<br>
<form action="{{ url_for('url') }}" method="post">
diff --git a/docker/storperf-reporting/src/templates/plot_tables.html b/docker/storperf-reporting/src/templates/plot_tables.html
index a8c508d..04eaadc 100644
--- a/docker/storperf-reporting/src/templates/plot_tables.html
+++ b/docker/storperf-reporting/src/templates/plot_tables.html
@@ -19,6 +19,7 @@
<body>
<div class="container">
+ {% include 'header.html' %}
<div id="content"><strong>Loading...</strong>
</div>
<center>