From: Naeem Model Date: Wed, 29 Jan 2025 22:39:36 +0000 (+0000) Subject: Update web app help tab and add demo video X-Git-Url: https://git.nmode.ca/Rnaught/commitdiff_plain/79adb128c76d9add4c3659fd86c38c9cf24cfe2d Update web app help tab and add demo video --- diff --git a/inst/web/templates/content/help.html b/inst/web/templates/content/help.html index df4e887..fe12010 100644 --- a/inst/web/templates/content/help.html +++ b/inst/web/templates/content/help.html @@ -1,8 +1,14 @@
+ {{ + htmlTemplate("templates/content/help/panel.html", + id = "demo-video", + header = "Demo video" + ) + }} {{ htmlTemplate("templates/content/help/panel.html", id = "serial-interval", - header = "What is the serial interval?" + header = "What is the serial interval (SI)?" ) }}
diff --git a/inst/web/templates/content/help/demo-video.html b/inst/web/templates/content/help/demo-video.html new file mode 100644 index 0000000..d59766a --- /dev/null +++ b/inst/web/templates/content/help/demo-video.html @@ -0,0 +1,3 @@ +
+ +
diff --git a/inst/web/templates/content/help/panel.html b/inst/web/templates/content/help/panel.html index 9eb6e2e..e6a256a 100644 --- a/inst/web/templates/content/help/panel.html +++ b/inst/web/templates/content/help/panel.html @@ -1,10 +1,10 @@

-

-
+
{{ htmlTemplate(paste0("templates/content/help/", id, ".html")) }}
diff --git a/inst/web/templates/content/help/serial-interval.html b/inst/web/templates/content/help/serial-interval.html index e061115..be17d95 100644 --- a/inst/web/templates/content/help/serial-interval.html +++ b/inst/web/templates/content/help/serial-interval.html @@ -1,7 +1,8 @@ -

Reference: Wikipedia

- The serial interval (SI) is not one of the estimators. It is a parameter required by most of the estimators, and can - also be estimated by some of them (if not specified). + The serial interval (SI) is a parameter + required by most of the estimators, and can also be estimated by some of them (if not specified). For the latter, "—" + is reported in the "Serial interval" column of the estimates table, and the estimated value is shown next to the + R0 result(s) as "(SI = ...)".

The SI is defined as the average time between successive infections in a chain of transmission (i.e., the time between