-
Notifications
You must be signed in to change notification settings - Fork 15
/
ui.R
42 lines (34 loc) · 897 Bytes
/
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
# ------------------------------------------------------------------------
#
# Title : Memory Hex - UI
# By : dreamRs
# Date : 2019-02-06
#
# ------------------------------------------------------------------------
library("shiny")
fluidPage(
tags$head(
tags$link(href="styles.css", rel="stylesheet", type="text/css"),
tags$script(src = "http://platform.twitter.com/widgets.js"),
includeHTML(path = "www/google-analytics.html")
),
tags$div(
class = "title-app",
tags$h1("Hex memory game"),
tags$h4("Find matching hex!")
),
tags$br(),
# verbatimTextOutput("test_res_show"),
tags$div(
style = "width: 650px; margin: auto;",
time_UI("timer"),
tags$br(),
lapply(
X = seq_len(n_hex * 2),
FUN = function(x) {
hex_UI(id = paste0("module", x))
}
)#,
# verbatimTextOutput("test_res")
)
)