Browse Source

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.
pull/51/head
Milo 3 years ago
parent
commit
5a5bf193dd
  1. 9
      client_src/js/Tour.mjs

9
client_src/js/Tour.mjs

@ -39,7 +39,8 @@ class Tour { @@ -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 { @@ -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 { @@ -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"

Loading…
Cancel
Save