-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp_checkpoint01_grid_system.R
executable file
·68 lines (60 loc) · 1.81 KB
/
app_checkpoint01_grid_system.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
# BOOTSTRAP CHEAT SHEET FOR SHINY ----
# DS4B 202-R ----
# LIBRARIES ----
library(shiny)
library(tidyverse)
library(plotly)
# USER INTERFACE ----
ui <- shiny::fluidPage(
title = "Bootstrap Cheat Sheet for Shiny",
div(
class = "container",
id = "page",
# HEADER ----
h1(class = "page-header", "Bootstrap Cheat Sheet", tags$small("For Shiny")),
p(
class = "lead",
"This cheat sheet is the first part of the ",
a(href = "https://university.business-science.io/", target = "_blank", "Expert Shiny Application Development Course"),
"by Business Science"
),
# 1.0 BOOTSTRAP GRID SYSTEM ----
h2("1.0 Bootstrap Grid System"),
div(
class = "container text-center",
fluidRow(
column(
width = 4,
class = "bg-primary",
p("Grid Width 4")
),
column(
width = 4,
class = "bg-warning",
p("Grid Width 4")
),
column(
width = 4,
class = "bg-danger",
p("Grid Width 4")
)
),
fluidRow(
column(
width = 3,
class = "bg-primary",
p("Grid Width 3")
),
column(
width = 9,
class = "bg-info",
p("Grid Width 9")
)
)
)
)
)
# SERVER ----
server <- function(input, output, session) {
}
shinyApp(ui = ui, server = server)