R/mod_footer.R

Defines functions mod_footer_ui mod_footer_server

# Module UI
  
#' @title   mod_footer_ui and mod_footer_server
#' @description  A shiny Module.
#'
#' @param id shiny id
#' @param input internal
#' @param output internal
#' @param session internal
#'
#' @rdname mod_footer
#'
#' @keywords internal
#' @export 
#' @importFrom shiny NS tagList 
mod_footer_ui <- function(id){
  ns <- NS(id)
  tagList(
  HTML("<footer>&nbsp;&nbsp;&nbsp;&nbsp;<img src=\"www/logo-afb.jpg\" alt=\"Agence Française pour la Biodiversité\" height=\"45\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src=\"www/logo-mtes.jpg\" alt=\"Ministère de la Transition Ecologique et Solidaire\" height=\"45\"></footer>")
  )
}
    
# Module Server
    
#' @rdname mod_footer
#' @export
#' @keywords internal
    
mod_footer_server <- function(input, output, session){
  ns <- session$ns
}
    
## To be copied in the UI
# mod_footer_ui("footer_ui_1")
    
## To be copied in the server
# callModule(mod_footer_server, "footer_ui_1")
 
AFB-dataviz/dataviz_pesticides documentation built on Nov. 15, 2019, 8:14 p.m.