-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bcb56a3
commit 78c01d7
Showing
14 changed files
with
1,676 additions
and
14 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 |
---|---|---|
|
@@ -8,3 +8,4 @@ | |
^LICENSE\.md$ | ||
^.vscode$ | ||
^index\.md$ | ||
^README\.Rmd$ |
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 |
---|---|---|
|
@@ -22,3 +22,5 @@ Imports: | |
shiny, | ||
magrittr, | ||
httpuv | ||
Depends: | ||
R (>= 2.10) |
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
output: github_document | ||
--- | ||
|
||
<!-- README.md is generated from README.Rmd. Please edit that file --> | ||
|
||
# shiny386 | ||
|
||
<!-- badges: start --> | ||
[](https://CRAN.R-project.org/package=shiny386) | ||
[](https://www.tidyverse.org/lifecycle/#experimental) | ||
[](https://github.com/RinteRface/shiny386/actions) | ||
<!-- badges: end --> | ||
|
||
The goal of shiny386 is to provide an old school Bootstrap 4 template for Shiny. It is built on top of the [Bootstrap 386](http://kristopolous.github.io/BOOTSTRA.386/demo.html) HTML template. | ||
|
||
## Installation | ||
|
||
You can install the released version of shiny386 from Github with: | ||
|
||
``` r | ||
pak::paks("RinteRface/shiny386") | ||
``` | ||
|
||
## Example | ||
|
||
This is a basic example which shows you how to solve a common problem: | ||
|
||
``` r | ||
library(shiny) | ||
library(shiny386) | ||
ui <- page_386( | ||
card_386( | ||
title = "My card", | ||
"This is my card", | ||
br(), | ||
card_link_386(href = "https://www.google.com", "More"), | ||
footer = "Card footer" | ||
) | ||
) | ||
|
||
server <- function(input, output, session) {} | ||
shinyApp(ui, server) | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
template: | ||
bootstrap: 5 | ||
url: https://shiny386.rinterface.com/ |
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,60 @@ | ||
--- | ||
output: github_document | ||
always_allow_html: true | ||
--- | ||
|
||
```{r setup, include=FALSE} | ||
library(bslib) | ||
knitr::opts_chunk$set(echo = TRUE) | ||
``` | ||
|
||
# shiny386 | ||
|
||
<!-- badges: start --> | ||
[](https://CRAN.R-project.org/package=shiny386) | ||
[](https://www.tidyverse.org/lifecycle/#experimental) | ||
[](https://github.com/RinteRface/shiny386/actions) | ||
<!-- badges: end --> | ||
|
||
The goal of shiny386 is to provide an old school Bootstrap 4 template for Shiny. It is built on top of the [Bootstrap 386](http://kristopolous.github.io/BOOTSTRA.386/demo.html) HTML template. | ||
|
||
## Installation | ||
|
||
You can install the released version of shiny386 from Github with: | ||
|
||
``` r | ||
pak::pak("RinteRface/shiny386") | ||
``` | ||
|
||
## Demo | ||
|
||
```{r showcase-code, eval=TRUE, echo=FALSE} | ||
card( | ||
shiny386:::create_link_iframe(shiny386:::shinylive_links["inst/examples/shinylive/basic"]), | ||
full_screen = TRUE, | ||
style = "margin: 0 auto; float: none;" | ||
) | ||
``` | ||
|
||
The original app may be found [here](https://shiny.rstudio.com/gallery/bus-dashboard.html) | ||
|
||
## Example | ||
|
||
This is a basic example which shows you how to solve a common problem: | ||
|
||
``` r | ||
library(shiny) | ||
library(shiny386) | ||
ui <- page_386( | ||
card_386( | ||
title = "My card", | ||
"This is my card", | ||
br(), | ||
card_link_386(href = "https://www.google.com", "More"), | ||
footer = "Card footer" | ||
) | ||
) | ||
|
||
server <- function(input, output, session) {} | ||
shinyApp(ui, server) | ||
``` |
Oops, something went wrong.