Commit 703e2cc9 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

NEW: add a specific EventGR2M slider in the ui file #14

parent e69dcd81
1 merge request!5Shiny GR2M #14
Showing with 11 additions and 1 deletion
+11 -1
......@@ -149,6 +149,7 @@ navbarPage(title = div("airGRteaching",
),
conditionalPanel(condition = "input.PlotType == 'Model diagram'",
column(width = 4, offset = 0,
conditionalPanel(condition = "input.HydroModel != 'GR2M'",
sliderInput("Event", label = "Select the target date:",
min = as.POSIXct(.ShinyGR.args$SimPer[[1]][1L], tz = "UTC"),
max = as.POSIXct(.ShinyGR.args$SimPer[[1]][2L], tz = "UTC"),
......@@ -156,7 +157,16 @@ navbarPage(title = div("airGRteaching",
timeFormat = "%F",
timezone = "+0000",
animate = animationOptions(interval = 500),
step = 3600 * 24)
step = 3600 * 24)),#step = 3600 * 24
conditionalPanel(condition = "input.HydroModel == 'GR2M'",
sliderInput("EventGR2M", label = "Select the target date:",
min = as.POSIXct(.ShinyGR.args$SimPer[[1]][1L], tz = "UTC"),
max = as.POSIXct(.ShinyGR.args$SimPer[[1]][2L], tz = "UTC"),
value = as.POSIXct(.ShinyGR.args$SimPer[[1]][1L], tz = "UTC"),
timeFormat = "%Y-%m",
timezone = "+0000",
animate = animationOptions(interval = 500),
step = 3600*24*30))
)
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment