Skip to content

Commit

Permalink
add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanlizhanshi committed Nov 17, 2023
1 parent f2a9cea commit 88f6391
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions scLT/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ui <- page_navbar(
#nav_item(shiny::icon("circle-info")),
###Home-----
nav_panel(title = "Home",
icon = shiny::icon("circle-info"),
icon = icon('home',lib="glyphicon"),
div(class = 'home',
fluidPage(
card(
Expand Down Expand Up @@ -77,13 +77,14 @@ ui <- page_navbar(
card(
card_image(file = "www/intro_img.png" ),
style = 'background:#FFFFFF'
)

),
style = "font-size:150%;width:80%;"
)
)
),
###Search-----
nav_panel(title = "Search",
icon = icon('search',lib = 'glyphicon'),
fluidPage(
div(
card(
Expand All @@ -101,6 +102,7 @@ ui <- page_navbar(

###Results-----
nav_panel(title = "Results",
icon = icon('chart-line',lib="font-awesome"),
fluidPage(
layout_column_wrap(
width = 1/2,
Expand Down Expand Up @@ -136,13 +138,15 @@ ui <- page_navbar(
)

)
)
),
style = "font-size:150%;width:80%;"
)

),

###Online tools-----
nav_panel(title = "Online tools",
icon = icon('cloud'),
layout_column_wrap(
width = 1/2,
height = NULL,
Expand Down Expand Up @@ -194,8 +198,19 @@ ui <- page_navbar(
)

),
nav_panel(title = "Download", p("Third tab content")),
nav_panel(title = "Contact", p("Third tab content")),




nav_panel(title = "Tutorials",
icon = icon('bookmark',lib = 'glyphicon'),
p("Second tab content.")),
nav_panel(title = "Download",
icon = icon('download',lib = 'glyphicon'),
p("Third tab content")),
nav_panel(title = "Contact",
icon = icon('envelope',lib = 'glyphicon'),
p("Third tab content")),
nav_spacer(),
nav_item(link_github)

Expand Down

0 comments on commit 88f6391

Please sign in to comment.