rshinyshinydashboard

HTML page inside Shiny dashboard


My question is simple for some but difficult for others (like me).

I have a Shiny Dashboard in which I want to add an html page inside a menuItem (Se connecter) to log in enter image description here

Otherwise if you have any suggestions to do so using Shiny I'll be pleased

P.S.: I have a web service to log in so all I want is ideas to have a good looking, stylish login page or panel


Solution

  • Maybe you can iframe it into your dashboard?

    rm(list = ls())
    library(shiny)
    
    ui <- fluidPage(titlePanel("Some Iframe"), 
                    mainPanel(fluidRow(                    
                      tags$iframe(seamless="seamless",src="http://www.investing.com/quotes/streaming-forex-rates-%E2%80%93-majors", height=800, width=1400)
                    )
                    )
    )
    server <- function(input, output) {}
    shinyApp(ui, server)
    

    enter image description here