-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
45 lines (31 loc) · 1.05 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
library(RODBC)
library(shiny)
shinyUI(fluidPage(
titlePanel("Global Camper Statistics App"),
sidebarLayout(
sidebarPanel(
h3("Control Bars"),
selectInput("var",
label = "Choose a country to display booking",
choices = c("All", "New Zealand",
"Australia", "Canada"),
selected = "canada"),
sliderInput("range",
label = "Hire duration:",
min = 0, max = 200, value = c(0, 200)),
dateInput("pickUpDate","pick Up date", format = "yyyy-mm-dd",value = '2015-12-11'),
dateInput("dropOffDate","Drop off date", format = "yyyy-mm-dd",value = '2015-12-11'),
downloadButton('downloadData', 'Download to excel'),
br(),
br(),
br(),
img(src = "logo.png", height = 'auto', width = 'auto')
),
mainPanel(
br(),
h2("Customer Tables"),
textOutput("selection"),
dataTableOutput("enquiryTable")
)
)
))