-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathui.R
40 lines (38 loc) · 1.53 KB
/
ui.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#Clemson DNR yearly flow app - UI
#
#Author: Ben B. Warner
#Last mod: 8/2/2016
library(shiny)
library(leaflet)
library(dygraphs)
shinyUI(
fluidPage(title= "Minimum In-stream Flow Tool",
sidebarPanel(width = 6,
tabsetPanel(
tabPanel("Main Menu",
fluidRow(column(6,
selectInput("datPick", strong("Select Data Table:"),
datList,
selected = datList[1])),
column(6,
selectInput("sitePick",label = strong("Select Site Name:"),
edisDesc$Site_Name,selected = edisDesc$Site_Name[1]))),
fluidRow(column(6,
strong(textOutput("text1")))),
br(),
dygraphOutput("flowPlot",height="300px"),
br(),
br()
))),
mainPanel(width = 6,leafletOutput("map",height='520px')),
mainPanel(width=12,
tabsetPanel(
tabPanel("Tool Explanation",
verbatimTextOutput("paraExplain")
),
tabPanel("Site Descriptions",dataTableOutput("descTable")
),
tabPanel("Time Series",dataTableOutput("edisTable")
)
))
))