HTML page inside Shiny dashboard

时光怂恿深爱的人放手 提交于 2019-12-19 10:44:10

问题


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

I have a Shiny Dashboard in wich I want to add an html page inside a menuItem (Se connecter) to log in

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

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


回答1:


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)



来源:https://stackoverflow.com/questions/38247343/html-page-inside-shiny-dashboard

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!