From 9fd931aeeba4ab7bdede1a625f64e7024c2b55aa Mon Sep 17 00:00:00 2001 From: Naeem Model Date: Sun, 9 Jun 2024 16:01:51 +0000 Subject: Update Shiny app - Remove template/logic for single data entry - Change 'Add estimators' to 'About estimators'; adding estimators and viewing estimates are now done in the same tab - Swap rows and columns in estimates table (estimators as row names, datasets as column names) - Add a separate column for the serial interval to the estimates table - Add plots for daily and weekly data using the Plotly library - Remove italics from the subscript in all occurences of 'R_0' - Fix code/text formatting --- inst/app/www/script.js | 2 +- inst/app/www/styles.css | 17 +++++------------ 2 files changed, 6 insertions(+), 13 deletions(-) (limited to 'inst/app/www') diff --git a/inst/app/www/script.js b/inst/app/www/script.js index c31584f..30066d1 100644 --- a/inst/app/www/script.js +++ b/inst/app/www/script.js @@ -3,7 +3,7 @@ $(document).ready(() => { $('[data-bs-toggle="tooltip"]').tooltip(); // Toggle the text in the bulk data help button. - $('#bulk-help-toggle').on('click', event => { + $('#data-format-toggle').on('click', event => { btn = $(event.target); show_format = 'Show required format'; btn.text(btn.text() === show_format ? 'Hide required format' : show_format); diff --git a/inst/app/www/styles.css b/inst/app/www/styles.css index d53a387..a6fc3cd 100644 --- a/inst/app/www/styles.css +++ b/inst/app/www/styles.css @@ -8,23 +8,16 @@ noscript { text-align: center; } -.nav-pills .active { - color: white !important; +.shiny-notification { + background-color: black; + color: white; } -.action-button:hover, #bulk-help-toggle:hover, #data_export:hover { +.plotly-notifier .notifier-note { + background-color: black !important; color: white !important; } -#data_plot { - margin-top: -0.5rem; -} - -td.selected, .shiny-notification { - background-color: black; - color: white; -} - #data_upload { display: none; } -- cgit v1.2.3