aboutsummaryrefslogtreecommitdiff
path: root/inst/web/templates/content/estimation/estimates/add-estimators/mu.html
diff options
context:
space:
mode:
authorNaeem Model <me@nmode.ca>2025-01-06 23:55:43 +0000
committerNaeem Model <me@nmode.ca>2025-01-06 23:55:43 +0000
commite920b3e514e717fc05ed524267d3b53e272fec51 (patch)
tree353cfb36aca946d69da6d6dcacc0cb66177050ef /inst/web/templates/content/estimation/estimates/add-estimators/mu.html
parent2d34b71c7a8da7fd0fac59b934145286b2be7b1f (diff)
Update web app entry point
- Rename 'app' -> 'web' - Return shiny app object in entry point function
Diffstat (limited to 'inst/web/templates/content/estimation/estimates/add-estimators/mu.html')
-rw-r--r--inst/web/templates/content/estimation/estimates/add-estimators/mu.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/inst/web/templates/content/estimation/estimates/add-estimators/mu.html b/inst/web/templates/content/estimation/estimates/add-estimators/mu.html
new file mode 100644
index 0000000..8781574
--- /dev/null
+++ b/inst/web/templates/content/estimation/estimates/add-estimators/mu.html
@@ -0,0 +1,22 @@
+<!-- Serial interval label and help tooltip. -->
+<label class="form-label" for="mu_{{ id }}">
+ Serial interval
+ <sup data-bs-toggle="tooltip" data-bs-placement="right"
+ data-bs-title="The serial interval is the time between when an infected individual (the infector) becomes
+ symptomatic, to when another individual (who is infected by the infector) becomes symptomatic.">
+ [?]
+ </sup>
+</label>
+<div class="input-group">
+ <!-- Serial interval input field. -->
+ <input name="mu_{{ id }}" class="form-control" type="text">
+ <!-- Days/weeks dropdown. -->
+ <select name="mu_{{ id }}_units" class="form-select">
+ <option value="Days" selected>Days</option>
+ <option value="Weeks">Weeks</option>
+ </select>
+</div>
+<!-- Warning text for incorrect values. -->
+<div>
+ <small id="mu_{{ id }}_warn" class="form-text text-primary shiny-text-output"></small>
+</div>