R/mod_acercade.R

Defines functions mod_acercade_server mod_acercade_ui

#' acercade UI Function
#'
#' @description A shiny Module.
#'
#' @param id,input,output,session Internal parameters for {shiny}.
#'
#' @noRd 
#'
#' @importFrom shiny NS tagList 
mod_acercade_ui <- function(id){
  ns <- NS(id)
  tagList(
    img(src = "img/Logo.png",
        style = paste0("padding-bottom:20px;margin-left: auto;",
                       "margin-right: auto;display: block;width: 50%;")),
    infoBoxPROMiDAT(
      labelInput("copyright"), "PROMiDAT S.A.", icono = icon("copyright")
    ),
    
    infoBoxPROMiDAT(
      labelInput("info"), tags$a(
        href = "https://www.promidat.com/", style = "color:white;",
        target = "_blank", "https://www.promidat.com"), icono = icon("info")
    ),
    
    infoBoxPROMiDAT(
      labelInput("version"), "2.0.7", icono = icon("file-code"))
  )
}
    
#' acercade Server Function
#'
#' @noRd 
mod_acercade_server <- function(input, output, session){
  ns <- session$ns
 
}
    
## To be copied in the UI
# mod_acercade_ui("acercade_ui_1")
    
## To be copied in the server
# callModule(mod_acercade_server, "acercade_ui_1")
 

Try the predictoR package in your browser

Any scripts or data that you put into this service are public.

predictoR documentation built on April 30, 2022, 1:05 a.m.