Files
shiny/examples/02_hash/ui.R
2012-07-21 12:03:00 -07:00

20 lines
404 B
R

library(shiny)
shinyUI(
applicationPage(
headerPanel(
h1("Example 2: Computing Hashes")
),
sidebarPanel(
textInput("input1", label="Input:", value="Hello, world!"),
checkboxInput("addnewline", label = "Append newline", value=TRUE)
),
mainPanel(
textOutput("md5_hash", label = "MD5:"),
textOutput("sha1_hash", label = "SHA-1:")
)
)
)