-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
97 lines (80 loc) · 3.51 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
library(shiny)
library(shinydashboard)
# Define User-interface definition for the Shiny web application.
ui <- dashboardPage(
dashboardHeader(title = "Benchmarks for OCTP plugin for LAMMPS",
titleWidth = 250),
## Sidebar content
dashboardSidebar(width = 250,
sidebarMenu(
menuItem("Overview", tabName = "overview"),
menuItem("Execution Time", tabName = "runtime"),
menuItem("RAM Memory", tabName = "memory"),
menuItem("MPI", tabName = "mpi")
)
),
## Body content
dashboardBody(
tabItems(
# Overview tab content
tabItem(tabName = "overview",
h3("Description of benchmarking exercise"),
br(),
mainPanel(
#plotOutput("bargraph", width =800)
)
),
# Execition Time tab content
tabItem(tabName = "runtime",
h3("Wall-clock and Loop time"),
#br(),
mainPanel(
plotOutput("runtime", width =800),
plotOutput("looptime", width =800)
)
),
# RAM Memory tab content
tabItem(tabName = "memory"),
# MPI tab content
tabItem(tabName = "mpi",
h1("LAMMPS Chart")
)
),
tags$head(tags$style(HTML('
/* logo */
.skin-blue .main-header .logo {
# background-color: #f4b943;
background-color: purple;
}
/* logo when hovered */
.skin-blue .main-header .logo:hover {
background-color: #f4b943;
}
/* navbar (rest of the header) */
.skin-blue .main-header .navbar {
background-color: purple;
}
/* main sidebar */
.skin-blue .main-sidebar {
background-color: #cccccc;
}
/* active selected tab in the sidebarmenu */
.skin-blue .main-sidebar .sidebar .sidebar-menu .active a{
background-color: #ff69b4;
}
/* other links in the sidebarmenu */
.skin-blue .main-sidebar .sidebar .sidebar-menu a{
background-color: #c6e2ff;
color: #000000;
}
/* other links in the sidebarmenu when hovered */
.skin-blue .main-sidebar .sidebar .sidebar-menu a:hover{
background-color: #ff69b4;
}
/* toggle button when hovered */
.skin-blue .main-header .navbar .sidebar-toggle:hover{
background-color: #ff69b4;
}
')))
) # end of dashboardBody
) # end of dashboardPage