Serve the OPNFV Logo Locally
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Tue, 3 Oct 2017 19:21:12 +0000 (12:21 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Tue, 3 Oct 2017 19:21:12 +0000 (12:21 -0700)
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>
src/static/img/opnfv-logo.png [new file with mode: 0644]
src/templates/base.html

diff --git a/src/static/img/opnfv-logo.png b/src/static/img/opnfv-logo.png
new file mode 100644 (file)
index 0000000..1519503
Binary files /dev/null and b/src/static/img/opnfv-logo.png differ
index 4d8530a..ca17949 100644 (file)
@@ -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 -->