-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
61 lines (35 loc) · 1.4 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
shinyUI(
tagList(useShinyjs(),
navbarPage(title = div(img(src = ''
, style = "float:left; padding: 0px 20px; width: 10px")
, style = "color:darkmagenta"
, tags$b("Baltic Sea Naval Traffic"))
, position = 'fixed-bottom', collapsible = TRUE
, theme = shinythemes::shinytheme('lumen')
, tabPanel('Map',
fluidPage(#suppress_bootstrap = TRUE,
tags$style(type = 'text/css'
, ".shiny-output-error { visibility: hidden; }"
, ".shiny-output-error:before { visibility: hidden; }"
, 'html
, body {width:100%;height:100%}')
, leafletOutput('BalticSea'
, width = '100%', height = '550px')
, absolutePanel(top = 10, right = 5
, width = '230px'
# call UI module for data which only shows the date range
, dataUI('data')
# call UI module for plots
, graphUI('plot1')
# call UI module data filter
, selectUI('filter1')
)
)
)
# the data table tab
, tabPanel('Data',
DT::dataTableOutput(outputId = 'tbl', height = "auto")
)
)
)
)