From 3fe66b0619cc932068c14886d37b35876ef29e3e Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Wed, 4 Dec 2019 14:17:51 +0100 Subject: [PATCH] Updated references to correct map --- mock/templates/mock/zymogridmapclient.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mock/templates/mock/zymogridmapclient.html b/mock/templates/mock/zymogridmapclient.html index 9d89a329..da8c0ff9 100644 --- a/mock/templates/mock/zymogridmapclient.html +++ b/mock/templates/mock/zymogridmapclient.html @@ -15,12 +15,12 @@ <h1>Let's say this is the EuroWheat web page</h1> <p>What you do is that you include the following code in your HTML</p> <code> - <div id="zymoGridMapContainer" style="width:800px;" data-language="dk"></div><br/> - <script id="zymoGridMapScript" type="text/javascript" src="{{settings.VIPSLOGIC_PROTOCOL}}://{{settings.VIPSLOGIC_SERVER_NAME}}/public/nordic_septoria_whs/nordic_septoria_whs.js"/></script> + <div id="nordicSeptoriaMapContainer" style="width:800px;" data-language="dk"></div><br/> + <script id="nordicSeptoriaMapScript" type="text/javascript" src="{{settings.VIPSLOGIC_PROTOCOL}}://{{settings.VIPSLOGIC_SERVER_NAME}}/public/nordic_septoria_map/nordic_septoria_map.js"/></script> </code> <p>Then the application will look like this</p> - <div id="zymoGridMapContainer" style="width:800px;" data-language="dk"></div> - <script id="zymoGridMapScript" type="text/javascript" src="{{settings.VIPSLOGIC_PROTOCOL}}://{{settings.VIPSLOGIC_SERVER_NAME}}/public/nordic_septoria_whs/nordic_septoria_whs.js"/></script> + <div id="nordicSeptoriaMapContainer" style="width:800px;" data-language="dk"></div> + <script id="nordicSeptoriaMapScript" type="text/javascript" src="{{settings.VIPSLOGIC_PROTOCOL}}://{{settings.VIPSLOGIC_SERVER_NAME}}/public/nordic_septoria_map/nordic_septoria_map.js"/></script> <!--script id="zymoGridMapScript" type="text/javascript" src="http://restclienthtml/public/nordic_septoria_whs/nordic_septoria_whs.js"/></script--> <p>If you omit the style attribute, the application will fill all available space</p> <p>If you omit the data-language attribute, the default language (en) will be used. Currently supported languages are no, dk and en. </p> -- GitLab