-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
68 lines (61 loc) · 1.45 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
library(shinyjs)
library(dplyr)
library(shinyWidgets)
library(bs4Dash)
library(reactable)
library(fresh)
options(spinner.color="#0275D8", spinner.color.background="#ffffff", spinner.size=2)
options(digits=10)
source("map.R", local=T)
source("sidebar.R", local=T)
source("table.R", local=T)
source("footer.R", local=T)$value
shinyUI(dashboardPage(
fullscreen = TRUE,
help = FALSE,
title = "Bio Diversity",
header = dashboardHeader(
skin='dark',
title = dashboardBrand(
title = "Bio Diversity",
color = "white",
image = "bio-logo.png"
)
),
sidebar = dashboardSidebar(uiOutput("reactive_sidebar")),
controlbar = NULL,
body = dashboardBody(
tags$link(rel = "stylesheet", type = "text/css", href = "styles.css"),
use_theme(create_theme(bs4dash_layout(sidebar_width = "425px"))),
useShinyjs(),
fluidRow(tabBox(
width = 12,
solidHeader = FALSE,
collapsible = TRUE,
maximizable=TRUE,
type="tabs",
elevation = 2,
height = '50%',
tabPanel(
title = "Map",
mapUI("BioMap")
)
)
),
fluidRow(tabBox(
width = 12,
solidHeader = FALSE,
collapsible = TRUE,
maximizable=TRUE,
type="tabs",
elevation = 2,
height = '100%',
tabPanel(
title = "Data",
tabeUI("BioTabe")
)
),
div(id = "noselect", style = "position: absolute; bottom: 0; right: 0;")
)
)
))