From 5a5bf193ddea58f94c03dc9f3db3c5bb0e583486 Mon Sep 17 00:00:00 2001 From: Milo Date: Thu, 1 Aug 2019 22:45:53 +0100 Subject: [PATCH] Made text that tells you to complete an action bold. - This only applies to text that state the action that you have to complete in order to proceed to the next step in the tour. --- client_src/js/Tour.mjs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/client_src/js/Tour.mjs b/client_src/js/Tour.mjs index 80a78cf..07ded9c 100644 --- a/client_src/js/Tour.mjs +++ b/client_src/js/Tour.mjs @@ -39,7 +39,8 @@ class Tour { }); this.tour.addStep("reading-type", { - text: "Devices report multiple types of measurement. Change to another reading type now.", + text: "Devices report multiple types of measurement." + + " Change to another reading type now.".bold(), attachTo: { element: document.querySelector("select").parentNode, on: "top" @@ -71,7 +72,8 @@ class Tour { }); this.tour.addStep("device-graph", { - text: "By clicking a blue marker, you can view additional information about that device. Not all device are actively reporting data. Try clicking one now.", + text: "By clicking a blue marker, you can view additional information about that device. Not all device are actively reporting data." + + " Try clicking one now.".bold(), attachTo: { element: "#map", on: "top" @@ -91,7 +93,8 @@ class Tour { buttons: this.get_buttons() }); this.tour.addStep("device-graph-b", { - text: "By clicking here, you can see the specification of the device, including its software, sensor models, exact location, more. Click this now.", + text: "By clicking here, you can see the specification of the device, including its software, sensor models, exact location, more." + + " Click this now.".bold(), attachTo: { element: ".tabs :first-child", on: "left"