From e920b3e514e717fc05ed524267d3b53e272fec51 Mon Sep 17 00:00:00 2001 From: Naeem Model Date: Mon, 6 Jan 2025 23:55:43 +0000 Subject: Update web app entry point - Rename 'app' -> 'web' - Return shiny app object in entry point function --- inst/app/templates/content/data/enter-data.html | 9 -------- .../content/data/enter-data/load-samples.html | 19 ---------------- .../content/data/enter-data/manual-entry.html | 11 ---------- .../content/data/enter-data/required-format.html | 25 ---------------------- .../content/data/enter-data/upload-data.html | 12 ----------- inst/app/templates/content/data/view-data.html | 3 --- .../content/data/view-data/data-plots.html | 7 ------ .../content/data/view-data/data-table.html | 18 ---------------- 8 files changed, 104 deletions(-) delete mode 100644 inst/app/templates/content/data/enter-data.html delete mode 100644 inst/app/templates/content/data/enter-data/load-samples.html delete mode 100644 inst/app/templates/content/data/enter-data/manual-entry.html delete mode 100644 inst/app/templates/content/data/enter-data/required-format.html delete mode 100644 inst/app/templates/content/data/enter-data/upload-data.html delete mode 100644 inst/app/templates/content/data/view-data.html delete mode 100644 inst/app/templates/content/data/view-data/data-plots.html delete mode 100644 inst/app/templates/content/data/view-data/data-table.html (limited to 'inst/app/templates/content/data') diff --git a/inst/app/templates/content/data/enter-data.html b/inst/app/templates/content/data/enter-data.html deleted file mode 100644 index 254f1d7..0000000 --- a/inst/app/templates/content/data/enter-data.html +++ /dev/null @@ -1,9 +0,0 @@ -
- {{ htmlTemplate("templates/content/data/enter-data/required-format.html") }} - {{ htmlTemplate("templates/content/data/enter-data/manual-entry.html") }} - {{ htmlTemplate("templates/content/data/enter-data/upload-data.html") }} -
-
-
- {{ htmlTemplate("templates/content/data/enter-data/load-samples.html") }} -
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 @@ -

Load samples

- -{{ - 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%" - ) -}} - -
- -
- 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 @@ - -
- - -
- -
- -
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 @@ - - - -
-
-

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

-

- Dataset name,Time units,Case counts -

-

- Time units must be one of - Days or - Weeks, and - Case counts - must be a comma-separated list of one or more non-negative integers. -

-

Example:

-

- Disease A,Days,1,2,3,4,5,6,7,8,9
- Disease B,Weeks,3,1,4,1,5,2,9
- Disease C,Days,2,3,5,7,11,13,17,19 -

-
-
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 @@ - - - - -
- - -
- - diff --git a/inst/app/templates/content/data/view-data.html b/inst/app/templates/content/data/view-data.html deleted file mode 100644 index 880cf7f..0000000 --- a/inst/app/templates/content/data/view-data.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ htmlTemplate("templates/content/data/view-data/data-table.html") }} -
-{{ htmlTemplate("templates/content/data/view-data/data-plots.html") }} diff --git a/inst/app/templates/content/data/view-data/data-plots.html b/inst/app/templates/content/data/view-data/data-plots.html deleted file mode 100644 index 5019088..0000000 --- a/inst/app/templates/content/data/view-data/data-plots.html +++ /dev/null @@ -1,7 +0,0 @@ -

Data plots

-
- {{ plotly::plotlyOutput(outputId = "data_plot_days") }} -
-
- {{ plotly::plotlyOutput(outputId = "data_plot_weeks") }} -
diff --git a/inst/app/templates/content/data/view-data/data-table.html b/inst/app/templates/content/data/view-data/data-table.html deleted file mode 100644 index 590a5b9..0000000 --- a/inst/app/templates/content/data/view-data/data-table.html +++ /dev/null @@ -1,18 +0,0 @@ -

Data table

-
- {{ DT::dataTableOutput(outputId = "data_table") }} -
- - - - - - - Export table - -- cgit v1.2.3