-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.R
77 lines (72 loc) · 3.63 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
ui = dashboardPage(
dark = T,
title = "Microplastics Monitoring App",
header = dashboardHeader("Microplastics Monitoring App"),
sidebar = dashboardSidebar(skin = "dark",
sidebarMenu(
id = "sidebarmenu",
menuItem("Monitoring Plan Generator",
tabName = "monitoring",
icon = icon("pen-to-square")),
menuItem("Particles Characterized",
tabName = "characterization",
icon = icon("chart-simple")),
menuItem("About",
tabName = "about",
icon = icon("question"))
)),
footer = dashboardFooter(),
body = dashboardBody(
tabItems(
tabItem(tabName = "monitoring",
fluidRow(
column(12,
shiny::HTML("<br><br><center> <h1>Monitoring Plan Generator</h1> </center><br>"),
shiny::HTML("<h5>Input site information and study goals to obtain a riverine microplastics monitoring plan.</h5>")
)
),
fluidRow(
column(2,
numericInput('size_min', "Particle Size Minimum (microns)", 1, min = 1) %>%
popover(placement = "right",
title = "Selection Help",
content = c("Select the minimum particle length to be analyzed in this study.")
),
br(),
numericInput('size_max', "Particle Size Maximum (microns)", 5000, min = 1) %>%
popover(placement = "right",
title = "Selection Help",
content = c("Select the maximum particle length to be analyzed in this study.")
),
br(),
selectInput('depth', "Depth Integration", c("", "Discrete Depth","Integrated")) %>%
popover(placement = "right",
title = "Selection Help",
content = c("Select if you will sample at discrete depth(s), or if sampling will be integrated accross the water column.")
),
br(),
"Location In Water Column",
checkboxGroupInput('location',
"",
br(),
choices = c("Surface","Midwater", "Bottom")) %>%
popover(title = "",
content = "Choose the location(s) in the water column to be studied.",
placement = "right")
),
fluidRow(
box(title = HTML(paste0("Monitoring Plan")),
maximizable = T,
width = 12,
downloadButton("downloadData", "Download Full Dataset"),
fluidRow(
div(style = "overflow-x: scroll",
DT::dataTableOutput("table1")
))
)
)
)
)
)
)
)