From 4c580305691ca450974244e7c5586e873eb1d28a Mon Sep 17 00:00:00 2001 From: Edouard Durand Date: Tue, 17 Jan 2017 13:12:40 +0800 Subject: [PATCH] add missing baseURL inside templates and dashboard config --- Server/public/javascripts/dashboard-config.js | 4 ++-- Server/views/httpproxy.jade | 2 +- Server/views/httpproxyerror.jade | 4 ++-- Server/views/includes/dashboard-config.jade | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Server/public/javascripts/dashboard-config.js b/Server/public/javascripts/dashboard-config.js index 1c683eff..cc7db65c 100644 --- a/Server/public/javascripts/dashboard-config.js +++ b/Server/public/javascripts/dashboard-config.js @@ -14,7 +14,7 @@ $.get(VORLON.DashboardManager.CatalogUrl, function(data) { folder: data[plugin].foldername } - $('.plugins-list').append('
  • icon '+tmp.name+'

    nodeCompliant
  • '); + $('.plugins-list').append('
  • icon '+tmp.name+'

    nodeCompliant
  • '); $(document).tooltip({ position: { @@ -125,4 +125,4 @@ $(".search-config input").keydown(function (e) { if(e.which == 13 || e.which == 27) { $('.config-wrapper .fa-search').trigger('click'); } -}); \ No newline at end of file +}); diff --git a/Server/views/httpproxy.jade b/Server/views/httpproxy.jade index 8614ed36..5179ab31 100644 --- a/Server/views/httpproxy.jade +++ b/Server/views/httpproxy.jade @@ -15,7 +15,7 @@ html(lang='en') div.home div.top - img.logo(src="/images/VorlonLogo_Smooth.svg", alt="Vorlon logo" ) + img.logo(src=baseURL + "/images/VorlonLogo_Smooth.svg", alt="Vorlon logo" ) div.form div.message Vorlon proxy allows you to use Vorlon on an existing website. Just enter the website url, and click on the button. Couldn't be easier ! div.input diff --git a/Server/views/httpproxyerror.jade b/Server/views/httpproxyerror.jade index a68f579b..b73f4d32 100644 --- a/Server/views/httpproxyerror.jade +++ b/Server/views/httpproxyerror.jade @@ -15,6 +15,6 @@ html(lang='en') div.home div.top - img.logo(src="/images/VorlonLogo_Smooth.svg", alt="Vorlon logo" ) + img.logo(src=baseURL + "/images/VorlonLogo_Smooth.svg", alt="Vorlon logo" ) div.form - div.message error \ No newline at end of file + div.message error diff --git a/Server/views/includes/dashboard-config.jade b/Server/views/includes/dashboard-config.jade index c6c8e6a9..94115bc6 100644 --- a/Server/views/includes/dashboard-config.jade +++ b/Server/views/includes/dashboard-config.jade @@ -1,7 +1,7 @@ section.dashboard-initial section.config-wrapper h2.plugin-title - img.machine(src="images/machine.png") + img.machine(src=baseURL + "/images/machine.png") span Plugins available (0) : div.search-config i.fa.fa-search @@ -9,4 +9,4 @@ section.dashboard-initial div.plugins-list-wrapper ul.plugins-list div.clear - div.clear \ No newline at end of file + div.clear