-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
34 lines (29 loc) · 1.09 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
library(shiny)
# Define UI for slider demo application
shinyUI(pageWithSidebar(
# Application title
headerPanel("Image Distortion Calibration Survey"),
sidebarPanel(
# This is intentionally an empty object.
h6(textOutput("save.results")),
h5("Survey by G. Z. Thompson"),
h5("[email protected]"),
h5("Adapted from Survey Tool created by:"),
tags$a("Econometrics by Simulation",
href="http://www.econometricsbysimulation.com"),
h5("Github Repository:"),
tags$a("Survey-Tool",
href=paste0("https://github.com/EconometricsBySimulation/",
"Shiny-Demos/tree/master/Survey")),
# Display the page counter text.
h5(textOutput("counter"))
),
# Show a table summarizing the values entered
mainPanel(
# Main Action is where most everything is happenning in the
# object (where the welcome message, survey, and results appear)
uiOutput("MainAction"),
# This displays the action putton Next.
actionButton("Click.Counter", "Next")
)
))