Skip to content

Commit

Permalink
colors
Browse files Browse the repository at this point in the history
  • Loading branch information
jarochi committed Jul 30, 2024
1 parent eb3aef3 commit 23f5432
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ datatable(dat, extensions = c('Buttons', 'FixedColumns', 'FixedHeader', 'ColReor
keys = TRUE, #KeyTable
# lengthMenu = list(25, 50, 75, 100, 125, 150),
headerCallback = JS(headerCallback))) %>%
formatStyle(c( "Focus","Usability", "Includes structural information", "Identifies APRs", "Type of data", "Includes experimental conditions", "Data sources and links to other db", "DOI"),
backgroundColor = styleEqual(c(FALSE, TRUE), c('#ededed', '#d6edff'))) %>%
formatStyle(c("Database", "Current status", "Last updated"),
backgroundColor = styleEqual("false", '#ededed', default = '#d6edff'))
formatStyle(c("Database", "Last updated"),
backgroundColor = '#d6edff') %>%
formatStyle(c("Current status"),
backgroundColor = styleEqual(c("Active", "Non-active"), c('#d6edff', 'gray'), default = '#d6edff'))
```
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.12.1/css/jquery.dataTables.css">
Expand Down
Loading

0 comments on commit 23f5432

Please sign in to comment.