-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
30 lines (28 loc) · 942 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
# This is the user-interface definition of a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
#
shinyUI(
fluidPage(theme = shinythemes::shinytheme('united'),
tags$head(tags$style(
HTML('#sidebar {padding: 9px; max-width: 265px;}')
)),
headerPanel(title="", windowTitle = "Initial Claims"),
sidebarLayout(
sidebarPanel(id = "sidebar",
selectInput("state", "State:",
choices = c("US", states),
selected = "US", width = '180px'),
hr(),
includeHTML("disclaimer.html"),
width = 2),
mainPanel(
tabsetPanel(type = 'tabs',
## Claims Tab
source(file.path("ui", "claims.R"), local = TRUE)$value
), # tabsetPanel
width = 10) #mainPanel
) #sidebarLayout
) #fluidPage
) #shinyUI