R/ui.R

#' UI for Serenity
#'
#' @import shiny shinydashboard phosphorr
#'
#' @return An HTML tag object that can be rendered as HTML using as.character().
#'
ui <- function() {
  tagList(
    includeCSS(system.file("app","www","style.css", package = "serenity")),
    dashboardPage(
      dashboardHeader(
        title = "Serenity",
        titleWidth = 350
      ),
      dashboardSidebar(width = 350),
      dashboardBody(
        phosphorrOutput("pjsbox", height="90vh")
      )
    )
  )
}
serenity-r/serenity documentation built on May 3, 2019, 2:57 p.m.