aboutsummaryrefslogtreecommitdiff
path: root/inst/web/templates/content/data/enter-data/load-samples.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/data/enter-data/load-samples.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/data/enter-data/load-samples.html')
-rw-r--r--inst/web/templates/content/data/enter-data/load-samples.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/inst/web/templates/content/data/enter-data/load-samples.html b/inst/web/templates/content/data/enter-data/load-samples.html
new file mode 100644
index 0000000..2a4f013
--- /dev/null
+++ b/inst/web/templates/content/data/enter-data/load-samples.html
@@ -0,0 +1,19 @@
+<h4 class="mb-3">Load samples</h4>
+<!-- Checkboxes for sample data. -->
+{{
+ checkboxInput(inputId = "covid_canada", label = "COVID-19 Canada, 2020/03/03 - 2020/03/31 (Weekly)",
+ value = FALSE, width = "100%"
+ )
+}}
+{{
+ checkboxInput(inputId = "covid_ontario", label = "COVID-19 Ontario, 2020/03/03 - 2020/03/31 (Weekly)",
+ value = FALSE, width = "100%"
+ )
+}}
+<!-- Warning text. -->
+<div>
+ <small id="data_samples_warn" class="form-text text-primary shiny-text-output"></small>
+</div>
+<button id="data_samples" type="button" class="btn btn-outline-primary btn-sm action-button mt-3">
+ <span class="glyphicon glyphicon-plus"></span> Add
+</button>