Skip to content

Commit

Permalink
add website
Browse files Browse the repository at this point in the history
  • Loading branch information
DivadNojnarg committed Jan 8, 2019
1 parent 26816cf commit 02bb7cc
Show file tree
Hide file tree
Showing 51 changed files with 7,254 additions and 9 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
^LICENSE\.md$
^docs$
^_pkgdown\.yml$
^\.travis\.yml$
Expand Down
13 changes: 10 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,19 @@ Package: tablerDash
Type: Package
Title: tabler API for shiny
Version: 0.1.0
Author: David Granjon
Authors@R: c(
person("David", "Granjon", email = "[email protected]", role = c("aut", "cre")),
person(family = "RinteRface", role = "cph"),
person(family = "codecalm", role = c("ctb", "cph"), comment = "tabler template for Bootstrap 4"),
person("Winston", "Chang", role = c("ctb", "cph"), comment = "Utils functions from shinydashboard"))
Maintainer: David Granjon <[email protected]>
Description: R interface to the tabler Bootstrap 4 HTML template.
Create fancy dashboards.
Create fancy dashboards. See more here <https://tabler.io>.
URL: https://rinterface.github.io/tablerDash/index.html, https://github.com/RinteRface/tablerDash/
BugReports: https://github.com/RinteRface/tablerDash/issues
Imports: shiny, htmltools
License: GPL-2
License: GPL (>= 2)
Encoding: UTF-8
LazyData: true
RoxygenNote: 6.1.1
VignetteBuilder: knitr
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export(tablerDashBody)
export(tablerDashFooter)
export(tablerDashNav)
export(tablerDashPage)
export(tablerDropDown)
export(tablerDropdown)
export(tablerDropdownItem)
export(tablerIcon)
export(tablerInfoCard)
Expand Down
2 changes: 1 addition & 1 deletion R/dashboardNavbar.R
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ tablerNavMenuItem <- function(..., tabName = NULL, icon = NULL) {
#' @author David Granjon, \email{dgranjon@@ymail.com}
#'
#' @export
tablerDropDown <- function(..., icon = "bell", collapsed = TRUE) {
tablerDropdown <- function(..., icon = "bell", collapsed = TRUE) {

shiny::tags$div(
class = "dropdown d-none d-md-flex",
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,17 @@
[![CRAN status](https://www.r-pkg.org/badges/version/tablerDash)](https://cran.r-project.org/package=tablerDash)

> tabler dashboard template for shiny
# This is a WIP

A current running demo is available [here](http://www.rinterface.com/shiny/tablerDash/)

<br>

<div class="row">
<div class="card">
<a href="http://www.rinterface.com/shiny/tablerDash/" target="_blank"><img src="man/figures/tablerDash_demo.png"></a>
</div>
</div>

<br>
80 changes: 80 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
reference:
- title: Basic dashboard functions
desc: Dashboard skeleton functions
contents:
- '`tablerDashPage`'
- '`tablerDashNav`'
- '`tablerDashBody`'
- '`tablerDashFooter`'

- title: Body content functions
desc: Functions that are to be used in the tablerDashBody
contents:
- '`tablerTabItems`'
- '`tablerTabItem`'

- title: Navbar Content functions
desc: Functions that are to be used in the tablerDashNav
contents:
- '`tablerDropdown`'
- '`tablerDropdownItem`'
- '`tablerNavMenu`'
- '`tablerNavMenuItem`'

- title: Cards
desc: Build cards
contents:
- '`tablerBlogCard`'
- '`tablerCard`'
- '`tablerInfoCard`'
- '`tablerMediaCard`'
- '`tablerProfileCard`'
- '`tablerStatCard`'

- title: Other bs4 items
desc: To better customize your app
contents:
- '`tablerAlert`'
- '`tablerAvatar`'
- '`tablerAvatarList`'
- '`tablerIcon`'
- '`tablerProgress`'
- '`tablerSocialLink`'
- '`tablerSocialLinks`'
- '`tablerStatus`'
- '`tablerTag`'
- '`tablerTagList`'
- '`tablerTimeline`'
- '`tablerTimelineItem`'

template:
params:
bootswatch: journal

navbar:
structure:
left:
- home
- intro
- reference
- articles
- tutorials
- news
right: github
components:
home:
icon: fa-home fa-lg
href: index.html
reference:
text: Reference
href: reference/index.html
news:
text: Changelog
href: news/index.html
github:
icon: fa-github fa-lg
href: https://github.com/RinteRface/tablerDash

news:
releases:
- text: "tablerDash 0.1.0"
158 changes: 158 additions & 0 deletions docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 02bb7cc

Please sign in to comment.