# Defines the UI for the minimalist Shiny web application
#
# Find out more about building applications with Shiny here:
# http://shiny.rstudio.com/
# Define UI
ui <- shiny::fluidPage(
shiny::navbarPage("TIMCI Dashboard", id="nav",
shiny::navbarMenu("Data",
# Raw ODK data panel (will be hidden / access restricted)
shiny::tabPanel("ODK data",
# Sidebar layout with input and output definitions
shiny::sidebarLayout(
# Sidebar panel for inputs
shiny::sidebarPanel(
# Help text
shiny::helpText("ODK form selection"),
# Display the list item selection module
timci::select_list_item_ui("select_odk_form"),
# Info text
shiny::p(shiny::strong("Database information")),
# Study data info
timci::odk_data_info_ui("raw_odk_info"),
# Export study data in *.csv format
timci::csv_download_ui("raw_odk_csv_export"),
# Export study data in *.xlsx format
timci::xlsx_download_ui("raw_odk_xlsx_export")),
# Display the table module
shiny::mainPanel(
shiny::fluidRow(
timci::data_table_ui("raw_odk_table"))))
)
)
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.