-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.R
executable file
·55 lines (54 loc) · 3.04 KB
/
header.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
header <- dashboardHeader(title = "Dashboard Example", titleWidth = 250,
dropdownMenu(
type = "messages",
messageItem(
from = "David Meza",
message = "About Me",
href= "http://davidmeza1.github.io/"
),
messageItem(
from = "Documentation",
message = "View Documentation and Source",
icon = icon("question"),
## time = "13:45",
href = "https://developer.nasa.gov/dmeza/shiny-dashboard-DSD"
),
messageItem(
from = "Issues",
message = "Report Issues Here.",
icon = icon("life-ring"),
## time = "2014-12-01",
href = "https://developer.nasa.gov/dmeza/shiny-dashboard-DSD/issues"
)
),
dropdownMenu(type = "notifications",
notificationItem(
text = "5 new users today",
icon("users")
),
notificationItem(
text = "12 items delivered",
icon("truck"),
status = "success"
),
notificationItem(
text = "Server load at 86%",
icon = icon("exclamation-triangle"),
status = "warning"
)
),
dropdownMenu(type = "tasks", badgeStatus = "success",
taskItem(value = 90, color = "green",
"Documentation"
),
taskItem(value = 17, color = "aqua",
"Project X"
),
taskItem(value = 75, color = "yellow",
"Server deployment"
),
taskItem(value = 80, color = "red",
"Overall project"
)
)
)