modify human growth layout

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