Skip to content

Commit

Permalink
调整homepage setting
Browse files Browse the repository at this point in the history
  • Loading branch information
ShixiangWang committed Jan 21, 2024
1 parent 030edc1 commit d2bb60e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion inst/shinyapp/modules/home-pancan-search.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ui.home_search_box <- function(id) {
# align="center",
actionBttn(
inputId = ns("search_1"),
label = "Tumor VS Normal",
label = "Tumor vs. Normal",
color = "primary",
style = "bordered",
size = "sm"
Expand Down
20 changes: 10 additions & 10 deletions inst/shinyapp/ui/home.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ ui.page_home <- function() {
tags$link(rel = "stylesheet", type = "text/css", href = "bootstrap4.css")
),
fluidRow(
column(6,
column(5,
tags$div(
column(
12,
tags$h1("Welcome to UCSCXenaShiny v2!"),
tags$h2("Welcome to UCSCXenaShiny v2!"),
tags$p(paste0(
"UCSCXenaShiny v", packageVersion("UCSCXenaShiny"),
" based on ",
Expand All @@ -28,31 +28,31 @@ ui.page_home <- function() {
"cancer omics analysis. We are confident that this update will address the ",
"limitations of existing web tools for cancer-related omics analysis, ",
"benefiting researchers and clinicians seeking a deeper understanding of molecular features."),
style = "font-size: 20px;"),
style = "font-size: 18px;"),
tags$hr(),
)
)
),
column(3,
column(4,
wellPanel(
style = "height:300px; background: #a6cee3",
style = "background: #a6cee3",
h2("TCGA Pan-Cancer Query!", align = "center"),
# br(),
ui.home_search_box("homepage_pancan_search"),
)
),
column(3,
wellPanel(
style = "height:300px; background: #b3cde3",
style = "background: #b3cde3",
h2("Latest Release Notes", align = "center"),
br(),
tags$ul(
tags$li("2023-01-21: Adjust homepge with slick gallery to show basic page help.",style = "font-size: 16px;"),
tags$li("2024-01-16: Introduce MSigDB genesets for molecule batch analysis.",style = "font-size: 16px;"),
tags$li("2023-12-20: Add download modules that support data requisition.",style = "font-size: 16px;"),
tags$li("2024-01-21: Adjust homepge with slick gallery to show basic page help.",style = "font-size: 14px;"),
tags$li("2024-01-16: Introduce MSigDB genesets for molecule batch analysis.",style = "font-size: 14px;"),
tags$li("2023-12-20: Add download modules that support data requisition.",style = "font-size: 14px;"),
tags$li("See more update logs in",
a("Github", href="https://github.com/openbiox/UCSCXenaShiny"),
style = "font-size: 18px;")
style = "font-size: 16px;")
)
)
)
Expand Down

0 comments on commit d2bb60e

Please sign in to comment.