-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from BioDT/dev
Dev
- Loading branch information
Showing
7 changed files
with
67 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// popovers.js | ||
$( document ).ready(function() { | ||
|
||
var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')) | ||
var popoverList = popoverTriggerList.map(function (popoverTriggerEl) { | ||
return new bootstrap.Popover(popoverTriggerEl) | ||
}) | ||
|
||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,37 @@ | ||
box::use( | ||
shiny[tagList, h3], | ||
shiny[tagList, h3, tags], | ||
waiter[spin_loaders], | ||
) | ||
|
||
#' @export | ||
waiter_text <- function( | ||
message = h3("Working..."), | ||
style = "color: #414f2f;", | ||
css, | ||
spinner = spin_loaders( | ||
id = 19, | ||
color = "#414f2f" | ||
)) { | ||
if (missing(css)) { # default | ||
css <- tags$style( | ||
paste0( | ||
".waiter-overlay-content { | ||
background-image: url('./img/forest2.png'); | ||
background-repeat: no-repeat; | ||
background-size: 100%; | ||
background-position: bottom; | ||
display: flex; ", | ||
style, | ||
"}" | ||
) | ||
) | ||
} else { # if someone wants to completely rewrite css of the loader | ||
css <- css | ||
} | ||
|
||
tagList( | ||
css, | ||
spinner, | ||
message | ||
message, | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters