From 9cf25e707fbd49d357cf295ad62f83d805c59c2c Mon Sep 17 00:00:00 2001 From: Naeem Model Date: Sun, 26 May 2024 02:38:19 +0000 Subject: Update Shiny app - Refactor data upload and sample data - Create custom data upload button - Create script.js - Change Shiny notification colour - Bug fix: ensure the case counts in bulk data that have only one row are treated as a data frame, by wrapping them in 'data.frame' before passing to 'apply' --- .../content/data/enter-data/bulk-entry.html | 33 ++++++++++++++-------- 1 file changed, 22 insertions(+), 11 deletions(-) (limited to 'inst/app/templates/content/data/enter-data/bulk-entry.html') diff --git a/inst/app/templates/content/data/enter-data/bulk-entry.html b/inst/app/templates/content/data/enter-data/bulk-entry.html index 82a3ccf..30fab06 100644 --- a/inst/app/templates/content/data/enter-data/bulk-entry.html +++ b/inst/app/templates/content/data/enter-data/bulk-entry.html @@ -1,13 +1,11 @@

Bulk entry

+ data-bs-toggle="collapse" data-bs-target="#bulk-help">Show required format
-

Enter one or more rows in the following format:

+

Manually enter rows or upload a CSV file in the following format:

Dataset name,Time units,Case counts

@@ -27,11 +25,24 @@
-
- - +
+ + +
+ +
+ +
+ + + + +
+ +
- - + -- cgit v1.2.3