From 2eb18de2600c8de39fd62bfa13c7ccabf4d56da1 Mon Sep 17 00:00:00 2001 From: dylanbenzi Date: Mon, 14 Jul 2025 16:18:34 -0400 Subject: [PATCH] update storm selector ui --- dashboard.Rmd | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/dashboard.Rmd b/dashboard.Rmd index 3c063b1..5f71210 100644 --- a/dashboard.Rmd +++ b/dashboard.Rmd @@ -199,18 +199,23 @@ Col {data-width=500} #h6("Use either the select inputs or the data table below") fluidRow( - column(4, - selectInput("stormBasin", "Select Basin", choices = "AL") + column(6, + div( + selectInput("stormBasin", "Basin", choices = "AL", width = "100%"), + selectInput("stormYear", "Year", choices = loss_storms$storm_year, width = "100%"), + selectInput("stormName", "Name", choices = NULL, width = "100%"), + actionButton("selectStorm", "Submit", class = "btn-primary rounded", width = "100%") + ) ), - column(4, - selectInput("stormYear", "Select Year", choices = loss_storms$storm_year) - ), - column(4, - selectInput("stormName", "Select Storm", choices = NULL) + column(6, + HTML(' +
Select a Storm
+ + We are currently tracking 201 CONUS storms with over $3.6T in losses spanning from 1900 to 2024 + ') ) ) -actionButton("selectStorm", "Submit", class = "btn-primary") observeEvent(input$stormYear, {