Updated the width of text input
Browse files
app.R
CHANGED
@@ -31,10 +31,10 @@ ui <- list(useShinyjs(),navbarPage(windowTitle = "TrendChecker",
|
|
31 |
title = strong("TrendChecker"),theme = my_theme,
|
32 |
tabPanel(title = strong("Trend Over Time"),icon = icon("chart-line"),#firebaseUIContainer(),
|
33 |
sidebarLayout(
|
34 |
-
sidebarPanel(width =
|
35 |
hidden(tags$div(id = "about",h5("TrendChecker is a web application that enables users to monitor the search popularity of any subject of interest over time,
|
36 |
and across different countries by calling the Google trend api. Search hit of 100 is the indicator of optimum popularity, while other hits are measured relative to the optimum."))),h4(strong("Controls")),hr(),
|
37 |
-
textInput("text",strong("Enter Search Term")),
|
38 |
checkboxGroupInput("check",strong("Select Country(ies)"),choices = c("USA" = "US","UK" = "GB","Germany" = "DE","Netherlands" = "NL","Nigeria" = "NG","Japan" = "JP")),
|
39 |
radioButtons("radio",strong("Choose Trend Source"),choices = c("Web","News","YouTube","Images")),
|
40 |
radioButtons("time",strong("Select Time Frame"),choices = c("Last Hour","Last Four Hours","Last Day","Last Seven Days","Past 30 Days","Past 90 Days","Past 12 Months","Last Five Years")),
|
|
|
31 |
title = strong("TrendChecker"),theme = my_theme,
|
32 |
tabPanel(title = strong("Trend Over Time"),icon = icon("chart-line"),#firebaseUIContainer(),
|
33 |
sidebarLayout(
|
34 |
+
sidebarPanel(width = 2,actionButton("info",strong("About TrendChecker",icon("info"))),hr(),
|
35 |
hidden(tags$div(id = "about",h5("TrendChecker is a web application that enables users to monitor the search popularity of any subject of interest over time,
|
36 |
and across different countries by calling the Google trend api. Search hit of 100 is the indicator of optimum popularity, while other hits are measured relative to the optimum."))),h4(strong("Controls")),hr(),
|
37 |
+
textInput("text",strong("Enter Search Term"),width = "15%"),
|
38 |
checkboxGroupInput("check",strong("Select Country(ies)"),choices = c("USA" = "US","UK" = "GB","Germany" = "DE","Netherlands" = "NL","Nigeria" = "NG","Japan" = "JP")),
|
39 |
radioButtons("radio",strong("Choose Trend Source"),choices = c("Web","News","YouTube","Images")),
|
40 |
radioButtons("time",strong("Select Time Frame"),choices = c("Last Hour","Last Four Hours","Last Day","Last Seven Days","Past 30 Days","Past 90 Days","Past 12 Months","Last Five Years")),
|