tabItem(tabName = "report",
column(width = 8,
box(width = NULL,
status = "primary",
solidHeader = TRUE,
title = "Example Report",
img(src = "report-sample.png", height = '100%', width = '100%')
)
),
column(width = 4,
box(width = NULL,
status = "primary",
solidHeader = TRUE,
title = "Help Panel",
"Generate a report detailing all data entered into the site, all simulations run, and
all results generated. The report is a pdf compiled using LaTeX, and contains all
important information regarding the model. Please contact me with any bugs or issues at:",
HTML('<a href="mailto:jack.olney11@imperial.ac.uk">jack.olney11@imperial.ac.uk</a>'),
helpText("Caution: report generation can take several minutes.")
),
DownloadButton(outputId = 'downloadReport', label = "Create Report", class = "btn btn-success btn-lg btn-block")
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.