Commit b0697a73 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

refactor(GUI): update icon names

Refs #51
parent 2611db15
Pipeline #29854 passed with stage
in 5 minutes and 30 seconds
......@@ -176,7 +176,7 @@ shinyServer(function(input, output, session) {
CAL_click$valueButton <- CAL_click$valueButton - 1
CAL_click$valueButton <- ifelse(CAL_click$valueButton < -1, -1, CAL_click$valueButton)
if (CAL_click$valueButton < 0) {
updateActionButton(session, inputId = "CalButton", label = "Run", icon = icon("refresh"))
updateActionButton(session, inputId = "CalButton", label = "Run", icon = icon("sync"))
if (!getPrep()$isUngauged) {
shinyjs::enable("CalButton")
}
......
......@@ -33,7 +33,7 @@ navbarPage(title = div("airGRteaching",
tabPanel(title = "Modelling",
icon = icon("area-chart"),
icon = icon("chart-area"),
shinyjs::useShinyjs(), # set up shinyjs
......@@ -132,7 +132,7 @@ navbarPage(title = div("airGRteaching",
choices = c("NSE [Q]", "NSE [sqrt(Q)]", "NSE [1/Q]",
"KGE [Q]", "KGE [sqrt(Q)]", "KGE [1/Q]"))),
column(width = 6, actionButton("CalButton", label = "Run", width = "100%",
icon = icon("refresh"),
icon = icon("sync"),
style = ifelse(.GlobalEnv$.ShinyGR.args$theme != "Cerulean",
"color:#ffffff; background-color:#A4C400; border-color:#A4C400; margin-top:25px; padding:6px;",
"color:#565656; background-color:#ECF0F1; border-color:#DCDCDC; margin-top:25px; padding:6px;")))
......@@ -248,7 +248,7 @@ navbarPage(title = div("airGRteaching",
title = "Click to open in a new window")))),
),
tabPanel(title = "About",
icon = icon("navicon"),
icon = icon("bars"),
fluidRow(column(width = 6, includeMarkdown("www/tab_about.md")),
column(width = 5, includeMarkdown("www/tab_authors.md"))),
)
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
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