inst/app/ui/more/more_report.R

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")
    )
)
jackolney/CascadeDashboard documentation built on May 18, 2019, 7:56 a.m.