diff options
author | Naeem Model <me@nmode.ca> | 2024-06-09 16:01:51 +0000 |
---|---|---|
committer | Naeem Model <me@nmode.ca> | 2024-06-09 16:01:51 +0000 |
commit | 9fd931aeeba4ab7bdede1a625f64e7024c2b55aa (patch) | |
tree | b59967df497f898e9b8f7e1cd0e345ed0ff71e36 /inst/app/templates/content/estimators/add-estimators/parameters/wp.html | |
parent | 887c57c423ca8318d482a9f85514b3d6f281a696 (diff) |
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
Diffstat (limited to 'inst/app/templates/content/estimators/add-estimators/parameters/wp.html')
-rw-r--r-- | inst/app/templates/content/estimators/add-estimators/parameters/wp.html | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/inst/app/templates/content/estimators/add-estimators/parameters/wp.html b/inst/app/templates/content/estimators/add-estimators/parameters/wp.html deleted file mode 100644 index b789a23..0000000 --- a/inst/app/templates/content/estimators/add-estimators/parameters/wp.html +++ /dev/null @@ -1,39 +0,0 @@ -<!-- Radio buttons to specify whether the serial interval is known. --> -<label class="form-label" for="wp_mu_known">Is the serial interval known?</label> -<div class="shiny-input-radiogroup" id="wp_mu_known"> - <div class="form-check form-check-inline"> - <label class="form-check-label"> - <input type="radio" class="form-check-input me-2" name="wp_mu_known" value="Yes" checked>Yes - </label> - </div> - <div class="form-check form-check-inline"> - <label class="form-check-label"> - <input type="radio" class="form-check-input me-2" name="wp_mu_known" value="No">No - </label> - </div> -</div> -<!-- Show the input field for the serial interval if it is known. --> -<div data-display-if="input.wp_mu_known == 'Yes'" class="mt-2 mt-md-0"> - {{ htmlTemplate("templates/content/estimators/add-estimators/components/mu.html", id = "wp") }} -</div> -<!-- Show the input fields for the grid search parameters if the serial interval is unknown. --> -<div data-display-if="input.wp_mu_known == 'No'" class="row"> - <!-- Grid length. --> - <div class="col-md mt-2 mt-md-0"> - <label class="form-label" for="grid_length">Grid length</label> - <input name="grid_length" class="form-control" type="text" placeholder="Default: 100"> - <small id="grid_length_warn" class="form-text text-primary shiny-text-output"></small> - </div> - <!-- Maximum shape. --> - <div class="col-md mt-2 mt-md-0"> - <label class="form-label" for="max_shape">Maximum shape</label> - <input name="max_shape" class="form-control" type="text" placeholder="Default: 10"> - <small id="max_shape_warn" class="form-text text-primary shiny-text-output"></small> - </div> - <!-- Grid length. --> - <div class="col-md mt-2 mt-md-0"> - <label class="form-label" for="max_scale">Maximum scale</label> - <input name="max_scale" class="form-control" type="text" placeholder="Default: 10"> - <small id="max_scale_warn" class="form-text text-primary shiny-text-output"></small> - </div> -</div> |