diff options
author | Naeem Model <me@nmode.ca> | 2025-01-06 23:55:43 +0000 |
---|---|---|
committer | Naeem Model <me@nmode.ca> | 2025-01-06 23:55:43 +0000 |
commit | e920b3e514e717fc05ed524267d3b53e272fec51 (patch) | |
tree | 353cfb36aca946d69da6d6dcacc0cb66177050ef /inst/app/templates/content/data/view-data | |
parent | 2d34b71c7a8da7fd0fac59b934145286b2be7b1f (diff) |
Update web app entry point
- Rename 'app' -> 'web'
- Return shiny app object in entry point function
Diffstat (limited to 'inst/app/templates/content/data/view-data')
-rw-r--r-- | inst/app/templates/content/data/view-data/data-plots.html | 7 | ||||
-rw-r--r-- | inst/app/templates/content/data/view-data/data-table.html | 18 |
2 files changed, 0 insertions, 25 deletions
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 @@ -<h4>Data plots</h4> -<div class="container my-5"> - {{ plotly::plotlyOutput(outputId = "data_plot_days") }} -</div> -<div class="container"> - {{ plotly::plotlyOutput(outputId = "data_plot_weeks") }} -</div> 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 @@ -<h4>Data table</h4> -<div class="my-3"> - {{ DT::dataTableOutput(outputId = "data_table") }} -</div> -<!-- Display inactive delete button when no rows are selected. --> -<button type="button" class="btn btn-primary btn-sm text-white" disabled - data-display-if="'data_table_rows_selected' in input && input.data_table_rows_selected.length == 0"> - <span class="glyphicon glyphicon-remove"></span> Delete row(s) -</button> -<!-- Display active delete button when at least one row is selected. --> -<button id="data_delete" type="button" class="btn btn-primary btn-sm action-button text-white" - data-display-if="'data_table_rows_selected' in input && input.data_table_rows_selected.length != 0"> - <span class="glyphicon glyphicon-remove"></span> Delete row(s) -</button> -<!-- Button to export data table as a CSV file. --> -<a id="data_export" type="button" class="btn btn-outline-primary btn-sm shiny-download-link"> - <span class="glyphicon glyphicon-download-alt"></span> Export table -</a> |