]> nmode's Git Repositories - Rnaught/blobdiff - inst/web/templates/content/data/enter-data/load-samples.html
Update web app entry point
[Rnaught] / inst / web / templates / content / data / enter-data / load-samples.html
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 (file)
index 0000000..2a4f013
--- /dev/null
@@ -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>