R/modal.R
modal.header.Rd
Additional tab section for additional links
modal.header(...)
... | The list of tabs to include |
---|
An HTML containing elements of links to be inserted in the header of a page
list1 <- list( title = "Home", icon = shiny::icon("home"), link = "https://google.com" ) list2 <- list( title = "Docs", icon = shiny::icon("folder"), link = "https://obi.obianom.com" ) modal.header(list(list1, list2))#> <div class="modal fade modal-backdrop-transparent" id="modal-shortcut" tabindex="-1" role="dialog" aria-labelledby="modal-shortcut" aria-hidden="true"> #> <div class="modal-dialog modal-dialog-top modal-transparent" role="document"> #> <div class="modal-content"> #> <div class="modal-body"> #> <ul class="app-list w-auto h-auto p-0 text-left"><li> #> <a class="app-list-item text-white border-0 m-0"> #> <div class="icon-stack"> #> <i class="base base-7 icon-stack-3x opacity-100 color-primary-500 "></i> #> <i class="base base-7 icon-stack-2x opacity-100 color-primary-300 "></i> #> <span class="icon-stack-1x opacity-100 color-white"></span> #> </div> #> <span class="app-list-name"></span> #> </a> #> </li></ul> #> </div> #> </div> #> </div> #> </div>