-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
54 lines (44 loc) · 1.32 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
ui <- dashboardPagePlus(
header = dashboardHeaderPlus(
dropdownBlock(
id = "helpblock",
title = "Help!",
icon = "exclamation",
introjsUI(),
actionBttn(
inputId = "help",
label = "Tutorial",
color = "success",
style = "jelly",
#icon = icon("exclamation"),
size = "xs",
block = FALSE
)
),
#title = "Fitbod Tracking Dashboard",
enable_rightsidebar = TRUE,
rightSidebarIcon = "gears"
),
sidebar = dashboardSidebar(
sidebarMenu(
# Setting id makes input$tabs give the tabName of currently-selected tab
id = "tabs",
menuItem("Dashboard", tabName = "dashboard", icon = icon("dashboard")),
#menuItem("Muscle Group View", icon = icon("th"), tabName = "mg", badgeLabel = "Coming soon",
#badgeColor = "green"),
menuItem("Exercise View", icon = icon("bar-chart-o"), tabName = "ev"
))
),
body = dashboardBody(
tabItems(
tabItem("dashboard", dbTab_UI("dbTab", "Dashboard Tab")
),
# tabItem("mg", mgTab_UI("mgTab", "Muscle Group Tab")
#),
tabItem("ev", evTab_UI("evTab", "Ev Tab")
)
)
),
rightsidebar = right_side_bar_UI("right_sidebar", "Right Sidebar"),
title = "FitBod App Monitoring Dashboard"
)