diff --git a/lib/obp60task/index.js b/lib/obp60task/index.js index 54b3cf2..21e8235 100644 --- a/lib/obp60task/index.js +++ b/lib/obp60task/index.js @@ -1,10 +1,12 @@ +// Add a new register card in web configuration interface +// This is a Java Script! (function(){ const api=window.esp32nmea2k; if (! api) return; - const tabName="OBP60"; + const tabName="Screen"; api.registerListener((id, data) => { // if (!data.testboard) return; //do nothing if we are not active - let page = api.addTabPage(tabName, "OBP60"); + let page = api.addTabPage(tabName, "Screen"); api.addEl('button', '', page, 'Screenshot').addEventListener('click', function (ev) { window.open('/api/user/OBP60Task/screenshot', 'screenshot'); }) diff --git a/lib/obp60task/obp60task.h b/lib/obp60task/obp60task.h index 4d959f0..9d6ad97 100644 --- a/lib/obp60task/obp60task.h +++ b/lib/obp60task/obp60task.h @@ -41,5 +41,10 @@ #ifdef BOARD_OBP40S3 DECLARE_CAPABILITY(obp40,true) #endif - DECLARE_STRING_CAPABILITY(HELP_URL, "https://obp60-v2-docu.readthedocs.io/de/latest/"); // Link to help pages + #ifdef BOARD_OBP60S3 + DECLARE_STRING_CAPABILITY(HELP_URL, "https://obp60-v2-docu.readthedocs.io/en/latest/"); // Link to help pages + #endif + #ifdef BOARD_OBP40S3 + DECLARE_STRING_CAPABILITY(HELP_URL, "https://obp40-v1-docu.readthedocs.io/en/latest/"); // Link to help pages + #endif #endif