Hi Everyone,
I edited the title section of my shinydashboard to include a logo. It works as intended. Just that the CSS Tags appear on the header of a Webpage. I would like to get rid of the Tags from appearing on any webbrowser.
Thanks
library(shiny)
library(shinydashboard)
library(shinythemes)
library(shinyWidgets)
library(shinyalert)
library(DT)
library(magrittr)
library(readxl)
library(shinyWidgets)
library(shinybusy)
library(readr)
library(shinyjs)
AllContractors <- read_csv("Dashboard_Receipes/Contractors_Final.csv", na = "empty")
ui <- dashboardPage(
dashboardHeader( title = tags$a(href='https:\\example.com',
(tags$img(src='NNN.png', width= 250, height = 40)),titleWidth = 400)),
dashboardSidebar(prettyCheckboxGroup(inputId = "checkgroup5",
selected = "ALL CONTRACTORS", label = 'AD INVENTORY', choices = (list('ALL CONTRACTORS')),
dashboardbody(
fluidRow(
infoBoxOutput("ad_data1", width = 6),
infoBoxOutput("ad_data2", width = 6)
),
column(width = 12,
box(
add_busy_spinner(spin = "fading-circle"),
addSpinner(dataTableOutput('Data1'), spin = "cube-grid", color = "#8B0000"), height = 700, width = 13
),
)
server <- function(input, output, session) {
datasourceinput <- reactive({
if(input$checkgroup5 == 'ALL CONTRACTORS'){
DT::datatable(AllContractors)
}
})
output$Data1 <- renderDataTable({
datasourceinput()
})
}
shinyApp(ui, server)