modify human growth layout

This commit is contained in:
2026-04-06 02:02:00 -04:00
parent 933fe72b01
commit 5b7aa0fc9a
+10 -15
View File
@@ -155,48 +155,44 @@ ui <- page_navbar(
), ),
nav_panel( nav_panel(
"Human Factors", "Human Factors",
layout_columns( layout_column_wrap(
col_widths = 6, width = 1 / 2,
layout_columns( layout_columns(
col_widths = 12, col_widths = 12,
row_heights = c("auto", "1fr", "auto"),
card( card(
fill = FALSE,
sliderInput( sliderInput(
"growth_trend_map_slider", "growth_trend_map_slider",
label = NULL, label = NULL,
min = 1926, min = 0,
max = 2024, max = 2024,
step = 1, step = 1,
animate = list( animate = list(
interval = 250, interval = 250,
loop = F loop = F
), ),
value = 1926, value = 0,
sep = "", sep = "",
width = "100%", width = "100%",
ticks = F ticks = F
) )
), ),
card( card(
height = 500, full_screen = TRUE,
card_body( card_body(
class = "p-0", class = "p-0",
leafletOutput("growth_map", height = "100%") leafletOutput("growth_map", height = "100%")
) )
), ),
card( card(
fluidRow( fill = FALSE,
column( layout_columns(
6,
selectInput( selectInput(
"growth_trend_lf_select", "growth_trend_lf_select",
"Landfall Select", "Landfall Select",
choices = NULL choices = NULL
)
), ),
column(
6,
radioGroupButtons( radioGroupButtons(
"growth_map_metric", "growth_map_metric",
label = "Display Metric", label = "Display Metric",
@@ -205,8 +201,7 @@ ui <- page_navbar(
status = "outline-primary rounded-0", status = "outline-primary rounded-0",
justified = T justified = T
) )
) ),
)
) )
) )
) )