aboutsummaryrefslogtreecommitdiff
path: root/inst/app/templates/content/data/enter-data
diff options
context:
space:
mode:
Diffstat (limited to 'inst/app/templates/content/data/enter-data')
-rw-r--r--inst/app/templates/content/data/enter-data/load-samples.html19
-rw-r--r--inst/app/templates/content/data/enter-data/manual-entry.html11
-rw-r--r--inst/app/templates/content/data/enter-data/required-format.html25
-rw-r--r--inst/app/templates/content/data/enter-data/upload-data.html12
4 files changed, 0 insertions, 67 deletions
diff --git a/inst/app/templates/content/data/enter-data/load-samples.html b/inst/app/templates/content/data/enter-data/load-samples.html
deleted file mode 100644
index 2a4f013..0000000
--- a/inst/app/templates/content/data/enter-data/load-samples.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<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>
diff --git a/inst/app/templates/content/data/enter-data/manual-entry.html b/inst/app/templates/content/data/enter-data/manual-entry.html
deleted file mode 100644
index a6319d9..0000000
--- a/inst/app/templates/content/data/enter-data/manual-entry.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<!-- Data input area (manual entry). -->
-<div class="my-4">
- <label class="form-label" for="data_area">Enter manually</label>
- <textarea id="data_area" class="form-control" rows="3" wrap="off"></textarea>
- <div>
- <small id="data_area_warn" class="form-text text-primary shiny-html-output"></small>
- </div>
- <button id="data_bulk" type="button" class="btn btn-outline-primary btn-sm action-button mt-3">
- <span class="glyphicon glyphicon-plus"></span> Add
- </button>
-</div>
diff --git a/inst/app/templates/content/data/enter-data/required-format.html b/inst/app/templates/content/data/enter-data/required-format.html
deleted file mode 100644
index 724dd83..0000000
--- a/inst/app/templates/content/data/enter-data/required-format.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!-- Button to toggle help text. -->
-<button type="button" class="btn btn-outline-primary btn-sm" id="data-format-toggle"
- data-bs-toggle="collapse" data-bs-target="#data-format">Show required format</button>
-<!-- Help text for data input format. -->
-<div class="collapse mt-2" id="data-format">
- <div class="card card-body border-primary">
- <p>Manually enter rows or upload a CSV file in the following format:</p>
- <p class="overflow-x-scroll text-nowrap font-monospace">
- <u>Dataset name</u>,<u>Time units</u>,<u>Case counts</u>
- </p>
- <p>
- <u class="font-monospace">Time units</u> must be one of
- <u class="font-monospace">Days</u> or
- <u class="font-monospace">Weeks</u>, and
- <u class="font-monospace">Case counts</u>
- must be a comma-separated list of one or more non-negative integers.
- </p>
- <p>Example:</p>
- <p class="overflow-x-scroll text-nowrap font-monospace lh-sm">
- Disease A,Days,1,2,3,4,5,6,7,8,9<br>
- Disease B,Weeks,3,1,4,1,5,2,9<br>
- Disease C,Days,2,3,5,7,11,13,17,19
- </p>
- </div>
-</div>
diff --git a/inst/app/templates/content/data/enter-data/upload-data.html b/inst/app/templates/content/data/enter-data/upload-data.html
deleted file mode 100644
index 740047b..0000000
--- a/inst/app/templates/content/data/enter-data/upload-data.html
+++ /dev/null
@@ -1,12 +0,0 @@
-<!-- File input for data upload (hidden). -->
-<input class="form-control" type="file" id="data_upload" accept="text/csv,text/comma-separated-values,text/plain,.csv">
-<!-- Custom button to trigger file selector for data upload (visible). -->
-<label class="form-label" for="data-upload-select">Upload a CSV file</label>
-<div class="input-group">
- <button id="data-upload-select" type="button" class="btn btn-outline-primary btn-sm">
- <span class="glyphicon glyphicon-file"></span> Select file
- </button>
- <input type="text" id="data-upload-name" class="form-control" placeholder="No file selected" disabled>
-</div>
-<!-- Warning text. -->
-<small id="data_upload_warn" class="form-text text-primary shiny-html-output"></small>