-
-
Save jaehyeon-kim/ddc0b0764dd3b47790a35ce7c16c8dfc to your computer and use it in GitHub Desktop.
Shiny login trial
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ui_login <- function() { | |
fluidRow( | |
tags$head(tags$style(HTML(".container-fluid {margin: 25px;}"))), | |
column(2, offset = 5, | |
div(id = "login_div", | |
wellPanel( | |
h4("LOGIN"), | |
textInput("username", "User name"), | |
passwordInput("password", "Password"), | |
br(), | |
actionButton("login", "Log in", icon = icon("user")) | |
) | |
) | |
) | |
) | |
} | |
ui_main <- function() { | |
fluidRow( | |
column(2, offset = 5, | |
wellPanel(h1("Hello!")) | |
) | |
) | |
} | |
ui <- (htmlOutput("page")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment