forked from bcgov/climr-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.R
31 lines (25 loc) · 2.8 KB
/
app.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
## this is the shell of an app.R script with the bcgov style template
# Define UI ----
ui <- fluidPage(
navbarPage(title = "App Title", theme = "bcgov.css", # add yellow highlighted text to theme the navigation bar
tabPanel("tab title",
## add this chunk for the footer =================================
column(width = 12,
style = "background-color:#003366; border-top:2px solid #fcba19;",
tags$footer(class="footer",
tags$div(class="container", style="display:flex; justify-content:center; flex-direction:column; text-align:center; height:46px;",
tags$ul(style="display:flex; flex-direction:row; flex-wrap:wrap; margin:0; list-style:none; align-items:center; height:100%;",
tags$li(a(href="https://www2.gov.bc.ca/gov/content/home", "Home", style="font-size:1em; font-weight:normal; color:white; padding-left:5px; padding-right:5px; border-right:1px solid #4b5e7e;")),
tags$li(a(href="https://www2.gov.bc.ca/gov/content/home/disclaimer", "Disclaimer", style="font-size:1em; font-weight:normal; color:white; padding-left:5px; padding-right:5px; border-right:1px solid #4b5e7e;")),
tags$li(a(href="https://www2.gov.bc.ca/gov/content/home/privacy", "Privacy", style="font-size:1em; font-weight:normal; color:white; padding-left:5px; padding-right:5px; border-right:1px solid #4b5e7e;")),
tags$li(a(href="https://www2.gov.bc.ca/gov/content/home/accessibility", "Accessibility", style="font-size:1em; font-weight:normal; color:white; padding-left:5px; padding-right:5px; border-right:1px solid #4b5e7e;")),
tags$li(a(href="https://www2.gov.bc.ca/gov/content/home/copyright", "Copyright", style="font-size:1em; font-weight:normal; color:white; padding-left:5px; padding-right:5px; border-right:1px solid #4b5e7e;")),
tags$li(a(href="https://www2.gov.bc.ca/StaticWebResources/static/gov3/html/contact-us.html", "Contact", style="font-size:1em; font-weight:normal; color:white; padding-left:5px; padding-right:5px; border-right:1px solid #4b5e7e;"))
) ) ) )
## end of footer chunk =========================================
) ) )
# Define server logic ----
server <- function(input, output, session) {
}
# Run the app ----
shinyApp(ui = ui, server = server)