From 674d4effcc85da9b8339cfd2b8610d77140edf3e Mon Sep 17 00:00:00 2001 From: Delaigue Olivier <olivier.delaigue@irstea.fr> Date: Wed, 29 Apr 2020 07:46:35 +0200 Subject: [PATCH] v0.2.10.26 CLEAN: code indented in the ui file #14 --- DESCRIPTION | 4 ++-- NEWS.md | 2 +- inst/ShinyGR/ui.R | 16 ++++++++-------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index ba0b1fc..3545e78 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: airGRteaching Type: Package Title: Teaching Hydrological Modelling with the GR Rainfall-Runoff Models ('Shiny' Interface Included) -Version: 0.2.10.24 -Date: 2020-04-21 +Version: 0.2.10.26 +Date: 2020-04-29 Authors@R: c( person("Olivier", "Delaigue", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7668-8468"), email = "airGR@inrae.fr"), person("Laurent", "Coron", role = c("aut"), comment = c(ORCID = "0000-0002-1503-6204")), diff --git a/NEWS.md b/NEWS.md index aa152b0..60e3f2d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,7 +4,7 @@ -### 0.2.10.24 Release Notes (2020-04-21) +### 0.2.10.26 Release Notes (2020-04-29) #### New features diff --git a/inst/ShinyGR/ui.R b/inst/ShinyGR/ui.R index 78e32ec..60c5913 100644 --- a/inst/ShinyGR/ui.R +++ b/inst/ShinyGR/ui.R @@ -150,14 +150,14 @@ 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"), - value = as.POSIXct(.ShinyGR.args$SimPer[[1]][1L], tz = "UTC"), - timeFormat = "%F", - timezone = "+0000", - animate = animationOptions(interval = 500), - step = 3600 * 24)),#step = 3600 * 24 + 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"), + value = as.POSIXct(.ShinyGR.args$SimPer[[1]][1L], tz = "UTC"), + timeFormat = "%F", + timezone = "+0000", + animate = animationOptions(interval = 500), + 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"), -- GitLab