library(shiny) library(shinydashboard) library(shinyjs) library(DT) library(dplyr) library(devtools) library(randomcoloR) library(ggplot2) source("./R/helper_functions.R", local = T) source("./R/menugauche.R", local = T) source("./pages/pages_def_home.R", local = T) options(encoding = 'UTF-8') #style <- tags$style(HTML(readLines("www/added_styles.css")) ) UI <- dashboardPage( skin = "blue", dashboardHeader(title = "RMosquito"), dashboardSidebar(MenuGauche), dashboardBody( shinyjs::useShinyjs(), #extendShinyjs(text = jscode), tags$head(tags$link(rel = "stylesheet", type = "text/css", href = "bootstrap.min.readable.css")) , #tags$head(style), tabItems( tabItem(tabName = "Home", tabHome) ) ) ) server <- function( input, output, session) { tutu <<- NULL listM <<- c() source("./server/opt_home.R", local=TRUE) } shinyApp(ui = UI, server = server)