Suberlin Sinaga
2021-04-26 00:47:19
Why user management (login and logout) becomes so important?
library(shiny)
div(style = "width: 500px; max-width: 100%;margin: 0 auto; padding: 20px;",
wellPanel(
tags$h2("Please Log In", class = "text-center", style = "padding-top: 0;color: #fff;font-weight: 600;"),
textInput("userName", placeholder = "Username", label = tagList(icon("user"), "Username")),
passwordInput("pwd", placeholder = "Password", label = tagList(icon("unlock-alt"), "Password")),
br(),
div(
style = "text-align: center;",
actionButton("login", "SIGN IN", style = "color = red;background-color:#3c8dbc;
padding: 10px 15 px; width: 150px; cursor: pointer;
font-size: 18px; font: 600;"),
br(),
shinyjs::hidden(
div(id ="notmatch",
tags$p("Incorrect input for Password and Username!",
style = "color: red; font-weight: 600;
padding-top: 5px; font-size:16px;",
class = "text-center"))
),
br(),
br(),
tags$code("Username: myuser Password: \" \""),
br(),
tags$code("Username: myuser1 Password: mypass1")
)
))
<!–html_preserve–>
Incorrect input for Password and Username!
Username: myuser Password: " "
Username: myuser1 Password: mypass1
“It is very important to make user able to control their app. One of the way is giving them slider to define whatever value they need to work with.” —– Greatest App marketer
As we know that the current development may not yet satisfy you. Here we will give you a hint what will you get along with our massive development.
And many to come. Thank youu.