-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
52 lines (41 loc) · 1.41 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
################################# UI ##########################################
# Set up Environment -----------------------------------------------------------
library(shiny)
library(markdown)
# Start ui function ------------------------------------------------------------
shinyUI(fluidPage(
# Application title
img(src = "logo.png", height = 102, width = 102),
titlePanel("CIS Progress Monitoring Import Generator"),
# Sidebar with a slider input for number of bins
sidebarLayout(
sidebarPanel(
# caselist upload
fileInput('caselist', 'Upload Caselist File',
accept = c("xlsx", '.xlsx')),
# select dynamic schools
uiOutput("choose_school"),
# select date for quarter
dateInput('date', 'Select End Date for Quarter'),
# select quarter
selectInput(
'quarter', 'Select Quarter to Generate Import File For',
choices = c('1', '2', '3', '4')
),
# select school year
selectInput(
'year', 'Select School Year to Generate Import File For',
choices = c('2018/2019 SY', '2019/2020 SY')
),
# download file
downloadButton(
'download_import_template',
'Download the Import Template for Selected School'
)
),
# Show a plot of the generated distribution
mainPanel(
includeMarkdown("md/instructions.md")
)
)
))