forked from PYannick/HighFrequencyChecks
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbody.R
executable file
·29 lines (28 loc) · 793 Bytes
/
body.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#' UI Body
#'
#' This function is internally used to manage the body
#'
#' @import shiny
#' @import shinydashboard
#' @importFrom unhcrshiny theme_shinydashboard_unhcr
#' @noRd
#' @keywords internal
body <- function() {
shinydashboard::dashboardBody(
unhcrshiny::theme_shinydashboard_unhcr(),
golem::activate_js(),
tags$head(
tags$script(src = "custom.js")
),
shinydashboard::tabItems(
#Add ui module here - separated with a coma!
mod_home_ui("home_ui_1"),
mod_ridl_connect_ui("ridl_connect_ui_1"),
mod_set_up_check_ui("set_up_check_ui_1"),
mod_set_up_clean_ui("set_up_clean_ui_1"),
mod_set_up_anom_ui("set_up_anom_ui_1"),
mod_review_ui("review_ui_1"),
mod_automatise_report_ui("automatise_report_ui_1")
)
)
}