Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow shinymanager login configuration #83

Open
jthompson-arcus opened this issue Sep 13, 2024 · 1 comment
Open

Allow shinymanager login configuration #83

jthompson-arcus opened this issue Sep 13, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@jthompson-arcus
Copy link
Collaborator

The shinymanager login screen is very GCP centric from authenticate_ui(). It should allow individual orgs to supply their own logo and administrator email for their deployment.

authenticate_ui <- function(){
shinymanager::secure_app(
app_ui,
enable_admin = TRUE,
theme = bslib::bs_theme(bootswatch = "spacelab", version = "5"),
tags_top = tags$div(
golem_add_external_resources(),
tags$img(src='www/gcp_logo.png', height = '100', width ='450'),
HTML("<br><br>")
),
tags_bottom = tags$div(
tags$p(
"For any question, please contact the ",
tags$a(
href = "mailto:[email protected]?Subject=ClinSight",
target="_top", "administrator"
)
)
),
background = "background-color: #454545;"
)
}

@LDSamson
Copy link
Collaborator

PR #82 made the login screen more general and not GCPS-centered (see here).

Still, it would indeed be nice to be able to configure the logo + e-mail address by the end user.

@LDSamson LDSamson added this to the v0.2.0 milestone Sep 17, 2024
@LDSamson LDSamson added the enhancement New feature or request label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants