Skip to content

Commit

Permalink
Merge pull request #596 from Sage-Bionetworks/FDS-1747-sage-logo
Browse files Browse the repository at this point in the history
Fds 1747 sage logo
  • Loading branch information
afwillia authored Mar 15, 2024
2 parents 27f2560 + fdf118b commit 552a65b
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 21 deletions.
8 changes: 4 additions & 4 deletions functions/dcWaiter.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ dcWaiter <- function(stage = c("show", "update", "hide"),
if (stage == "show") {
waiter_show_on_load(
html = tagList(
img(src = "img/Logo_Sage_Logomark.png"),
img(src = "img/sage_logo_mark_only.png"),
h4("Logging into Data Curator App")
),
color = col2rgba("#2a668d", 255*0.9)
)
} else if (!isCertified) {
# when user is not certified synapse user
waiter_update(html = tagList(
img(src = "img/Logo_Sage_Logomark.png", height = "120px"),
img(src = "img/sage_logo_mark_only.png", height = "120px"),
h3("Looks like you're not a synapse certified user!"),
span(
"Please follow the ",
Expand All @@ -54,15 +54,15 @@ dcWaiter <- function(stage = c("show", "update", "hide"),
} else if (!isPermission) {
# when user is not certified synapse user
waiter_update(html = tagList(
img(src = "img/Logo_Sage_Logomark.png", height = "120px"),
img(src = "img/sage_logo_mark_only.png", height = "120px"),
h3("Fileview/Project Access Denied!"),
span("You may not have sufficient permissions for curation.
Please contact your team and project administrators.")
))
} else {
# success loading page; userName needed to provide
waiter_update(html = tagList(
img(src = "img/Logo_Sage_Logomark.png", height = "120px"),
img(src = "img/sage_logo_mark_only.png", height = "120px"),
h3(sprintf("Welcome, %s!", userName))
))
Sys.sleep(sleep)
Expand Down
2 changes: 1 addition & 1 deletion server.R
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ shinyServer(function(input, output, session) {

logo_img <- ifelse(!is.na(dcc_config_react()$dcc$logo_location),
dcc_config_react()$dcc$logo_location,
"https://raw.githubusercontent.com/Sage-Bionetworks/data_curator_config/main/demo/Logo_Sage_Logomark.png"
"https://raw.githubusercontent.com/Sage-Bionetworks/data_curator_config/prod/demo/sage_logo_mark_only.png"
)

logo_link <- ifelse(!is.na(dcc_config_react()$dcc$logo_link),
Expand Down
Binary file removed www/img/ADKnowledgePortal.png
Binary file not shown.
Binary file removed www/img/HTAN_text_logo.png
Binary file not shown.
Binary file removed www/img/INCLUDE DCC Logo-01.png
Binary file not shown.
Binary file removed www/img/Logo_Sage_Logomark.png
Binary file not shown.
Binary file removed www/img/loading.gif
Binary file not shown.
16 changes: 0 additions & 16 deletions www/img/logo.svg

This file was deleted.

15 changes: 15 additions & 0 deletions www/img/sage-loader.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/sage_logo_mark_only.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed www/img/synapse_logo.png
Binary file not shown.
Binary file removed www/img/synapse_logo_blk.png
Binary file not shown.

0 comments on commit 552a65b

Please sign in to comment.