inst/virtual_patient_simulator/bs4/sidebar.R

#-------------------------------------------------------------------------
#  This code contains the sidebar of shinydashboard.
#
#  David Granjon, the Interface Group, Zurich
#  December 4th, 2017
#-------------------------------------------------------------------------

sidebar <- bs4DashSidebar(

  title = HTML("<small>Virtual Patient</small>"),
  skin = "light",
  status = "primary",
  brandColor = NULL,
  url = "http://physiol-seafile.uzh.ch/",
  src = "logos/online-learning.png",
  elevation = 4,
  opacity = 0.8,

  # user panel info
  uiOutput("user_panel"),

  # sidebar menu with 2 tabs
  bs4SidebarMenu(
    bs4SidebarMenuItem(
      "App",
      tabName = "main",
      icon = icon("house")
    ),
    bs4SidebarMenuItem(
      "About",
      tabName = "about",
      icon = icon("info")
    )
  )
)

Try the CaPO4Sim package in your browser

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

CaPO4Sim documentation built on Sept. 11, 2024, 7:20 p.m.