Created
February 18, 2019 06:41
-
-
Save shaun-jacks/f311a6363c9d63648c38ec4fd211980e to your computer and use it in GitHub Desktop.
UI code for stage 2 within renderUI for shiny vision project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# stage 2 within our renderUI function | |
shiny::fluidPage( | |
shiny::tagList( | |
# Row 1: our analyzed image | |
shiny::fluidRow( | |
column(8, align = "center", | |
shinycssloaders::withSpinner( # Spinner loading bar | |
imageOutput("picture2"), # Outputted Image | |
color = '#999999' | |
) | |
) | |
), | |
br(), | |
br(), | |
# Row 2: our table results | |
shiny::fluidRow( | |
column(8, align = "center", | |
shinydashboard::box( | |
width=12, | |
title = "Analysis Results", | |
solidHeader = TRUE, | |
DT::dataTableOutput("results"), # Outputted table | |
collapsible = TRUE, | |
collapsed = FALSE, | |
status = "primary" | |
) | |
) | |
), | |
br(), | |
br(), | |
# Row three: our restart button | |
shiny::fluidRow( | |
column(8, align = "center", | |
shiny::actionButton("reset", "Restart") | |
) | |
) | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment