R/page_admin.R

Defines functions adminUI

#' Admin page UI
#' Internal func
#' @importFrom shinyWidgets materialSwitch
#' @noRd
adminUI <- function(){
    ns <- NS("admin")
    shinydashboardPlus::dashboardPage(
        title = "Admin Panel",
        header = shinydashboard::dashboardHeader(

        ),
        sidebar = shinydashboard::dashboardSidebar(

        ),
        body =  shinydashboard::dashboardBody(
            HTML('<h1>Developing<span class="label label-default
                 bg-olive">Next Release</span></h1>'),
            p("Coming in next release"),
            actionButton("reload", "test button"),
            shinyWidgets::materialSwitch(
                inputId = "change",
                label = "Some switch",
                value = TRUE,
                status = "success",
                right = TRUE
            )
        )
    )
}


# TODO toggle sps options
# TODO visitor stats
# TODO encrypt, decrypt file
# TODO

Try the systemPipeShiny package in your browser

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

systemPipeShiny documentation built on March 16, 2021, 6:01 p.m.