summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2017-10-03 12:21:12 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2017-10-03 12:21:12 -0700
commitcde5479d94eb3ca175df8b8e3d1f7dec8b7bbda4 (patch)
tree049a0a78dc16e433b688e54e6cf4d57d3345082c
parent4b269fba0ca273dfa3acf44c9f5490f01e0c3d87 (diff)
Serve the OPNFV Logo Locally
Because the logo is currently being pulled from an external HTTP site, the site is being listed as insecure. Adding the OPNFV logo to static content should fix the warning and keep the previous error of the logo being moved from happening. Change-Id: I13cf83aa612f5589e304699f808ff7b105611fc4 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
-rw-r--r--dashboard/src/static/img/opnfv-logo.pngbin0 -> 2829 bytes
-rw-r--r--dashboard/src/templates/base.html2
2 files changed, 1 insertions, 1 deletions
diff --git a/dashboard/src/static/img/opnfv-logo.png b/dashboard/src/static/img/opnfv-logo.png
new file mode 100644
index 0000000..1519503
--- /dev/null
+++ b/dashboard/src/static/img/opnfv-logo.png
Binary files differ
diff --git a/dashboard/src/templates/base.html b/dashboard/src/templates/base.html
index 4d8530a..ca17949 100644
--- a/dashboard/src/templates/base.html
+++ b/dashboard/src/templates/base.html
@@ -15,7 +15,7 @@
<span class="icon-bar"></span>
</button>
<a href="https://www.opnfv.org/" class="navbar-left"><img
- src="http://artifacts.opnfv.org/apex/review/14099/installation-instructions/_static/opnfv-logo.png"></a>
+ src="{% static "img/opnfv-logo.png" %}"></a>
<a class="navbar-brand" href={% url 'dashboard:index' %}>Pharos Dashboard</a>
</div>
<!-- /.navbar-header -->