j1m_theme 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.md +21 -0
- data/README.md +41 -0
- data/_data/modules/default/j1_theme-0.0.1/j1_bs_theme_switcher.yml +163 -0
- data/_data/resources/default/j1_theme-0.0.1/resource.yml +24 -0
- data/assets/data/themes.json +36 -0
- data/assets/themes/j1/bs_theme_switcher/LICENSE.md +21 -0
- data/assets/themes/j1/bs_theme_switcher/README.md +158 -0
- data/assets/themes/j1/bs_theme_switcher/examples/css/bootstrap.css +6760 -0
- data/assets/themes/j1/bs_theme_switcher/examples/css/bootstrap.css.map +1 -0
- data/assets/themes/j1/bs_theme_switcher/examples/css/bootstrap.min.css +6 -0
- data/assets/themes/j1/bs_theme_switcher/examples/css/bootstrap.min.css.map +1 -0
- data/assets/themes/j1/bs_theme_switcher/examples/js/bootstrap.min.js +12 -0
- data/assets/themes/j1/bs_theme_switcher/examples/js/bootstrapThemeSwitcher.js +314 -0
- data/assets/themes/j1/bs_theme_switcher/examples/js/jquery-1.11.1.min.js +6 -0
- data/assets/themes/j1/bs_theme_switcher/examples/js/jquery.cookie.js +90 -0
- data/assets/themes/j1/bs_theme_switcher/examples/thememenu.html +1198 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes.all.json +21 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes.json +13 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cerulean/_bootswatch.scss +131 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cerulean/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cerulean/bootstrap.css +6904 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cerulean/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cerulean/bootswatch.less +131 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cerulean/index.html +1279 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cerulean/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cerulean/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cerulean/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cosmo/_bootswatch.scss +262 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cosmo/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cosmo/bootstrap.css +6939 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cosmo/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cosmo/bootswatch.less +266 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cosmo/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cosmo/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cosmo/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cosmo/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cyborg/_bootswatch.scss +242 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cyborg/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cyborg/bootstrap.css +6929 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cyborg/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cyborg/bootswatch.less +246 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cyborg/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cyborg/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cyborg/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/cyborg/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/darkly/_bootswatch.scss +351 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/darkly/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/darkly/bootstrap.css +7049 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/darkly/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/darkly/bootswatch.less +355 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/darkly/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/darkly/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/darkly/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/darkly/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/flatly/_bootswatch.scss +330 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/flatly/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/flatly/bootstrap.css +7025 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/flatly/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/flatly/bootswatch.less +334 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/flatly/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/flatly/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/flatly/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/flatly/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/journal/_bootswatch.scss +145 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/journal/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/journal/bootstrap.css +6851 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/journal/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/journal/bootswatch.less +149 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/journal/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/journal/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/journal/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/journal/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/lumen/_bootswatch.scss +523 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/lumen/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/lumen/bootstrap.css +7176 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/lumen/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/lumen/bootswatch.less +527 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/lumen/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/lumen/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/lumen/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/lumen/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/paper/_bootswatch.scss +619 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/paper/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/paper/bootstrap.css +7523 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/paper/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/paper/bootswatch.less +623 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/paper/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/paper/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/paper/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/examples/themes/paper/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/js/bs_theme_switcher.js +325 -0
- data/assets/themes/j1/bs_theme_switcher/js/bs_theme_switcher.min.js +9 -0
- data/assets/themes/j1/bs_theme_switcher/preview.adoc +1086 -0
- data/assets/themes/j1/bs_theme_switcher/themes.all.json +60 -0
- data/assets/themes/j1/bs_theme_switcher/themes.json +38 -0
- data/assets/themes/j1/bs_theme_switcher/themes/.DS_Store +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/._.DS_Store +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cerulean/_bootswatch.scss +131 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cerulean/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cerulean/bootstrap.css +6904 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cerulean/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cerulean/bootswatch.less +131 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cerulean/index.html +1279 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cerulean/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cerulean/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cerulean/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cosmo/_bootswatch.scss +262 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cosmo/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cosmo/bootstrap.css +6939 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cosmo/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cosmo/bootswatch.less +266 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cosmo/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cosmo/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cosmo/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cosmo/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cyborg/_bootswatch.scss +242 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cyborg/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cyborg/bootstrap.css +6929 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cyborg/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cyborg/bootswatch.less +246 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cyborg/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cyborg/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cyborg/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/cyborg/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/darkly/_bootswatch.scss +351 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/darkly/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/darkly/bootstrap.css +7049 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/darkly/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/darkly/bootswatch.less +355 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/darkly/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/darkly/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/darkly/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/darkly/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/flatly/_bootswatch.scss +330 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/flatly/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/flatly/bootstrap.css +7025 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/flatly/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/flatly/bootswatch.less +334 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/flatly/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/flatly/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/flatly/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/flatly/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/journal/_bootswatch.scss +145 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/journal/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/journal/bootstrap.css +6851 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/journal/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/journal/bootswatch.less +149 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/journal/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/journal/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/journal/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/journal/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/lumen/_bootswatch.scss +523 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/lumen/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/lumen/bootstrap.css +7176 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/lumen/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/lumen/bootswatch.less +527 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/lumen/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/lumen/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/lumen/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/lumen/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/paper/_bootswatch.scss +619 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/paper/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/paper/bootstrap.css +7523 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/paper/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/paper/bootswatch.less +623 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/paper/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/paper/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/paper/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/paper/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/readable/_bootswatch.scss +183 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/readable/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/readable/bootstrap.css +6875 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/readable/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/readable/bootswatch.less +187 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/readable/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/readable/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/readable/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/readable/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/sandstone/_bootswatch.scss +195 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/sandstone/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/sandstone/bootstrap.css +6913 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/sandstone/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/sandstone/bootswatch.less +199 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/sandstone/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/sandstone/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/sandstone/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/sandstone/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/simplex/_bootswatch.scss +170 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/simplex/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/simplex/bootstrap.css +6913 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/simplex/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/simplex/bootswatch.less +174 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/simplex/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/simplex/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/simplex/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/simplex/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/slate/_bootswatch.scss +448 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/slate/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/slate/bootstrap.css +7271 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/slate/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/slate/bootswatch.less +448 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/slate/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/slate/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/slate/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/slate/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/spacelab/_bootswatch.scss +142 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/spacelab/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/spacelab/bootstrap.css +6961 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/spacelab/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/spacelab/bootswatch.less +146 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/spacelab/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/spacelab/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/spacelab/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/spacelab/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/superhero/_bootswatch.scss +360 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/superhero/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/superhero/bootstrap.css +7009 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/superhero/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/superhero/bootswatch.less +364 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/superhero/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/superhero/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/superhero/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/superhero/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/united/_bootswatch.scss +42 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/united/_variables.scss +861 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/united/bootstrap.css +6588 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/united/bootstrap.min.css +7 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/united/bootswatch.less +42 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/united/index.html +1281 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/united/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/united/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/united/variables.less +861 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/yeti/_bootswatch.scss +445 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/yeti/_variables.scss +870 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/yeti/bootstrap.css +7073 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/yeti/bootstrap.min.css +11 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/yeti/bootswatch.less +449 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/yeti/index.html +1299 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/yeti/thumbnail.png +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/yeti/variables.json +14 -0
- data/assets/themes/j1/bs_theme_switcher/themes/bootswatch/yeti/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/.DS_Store +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/._.DS_Store +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/dark/default/bootstrap.css +6919 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/dark/default/bootstrap.min.css +1469 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/dark/default/index.html +1287 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/dark/default/j1.less +274 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/dark/default/variables.less +869 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/fonts/glyphicons-halflings-regular.eot +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/fonts/glyphicons-halflings-regular.svg +288 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/fonts/glyphicons-halflings-regular.woff +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/light/.DS_Store +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/light/._.DS_Store +0 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/light/default/bootstrap.css +7488 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/light/default/bootstrap.min.css +1560 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/light/default/index.html +1287 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/light/default/j1.less +669 -0
- data/assets/themes/j1/bs_theme_switcher/themes/j1/light/default/variables.less +880 -0
- data/assets/themes/j1/j1/js/adapters/bs_theme_switcher.js +89 -0
- data/exe/console +14 -0
- data/exe/setup +8 -0
- data/lib/j1m_theme.rb +5 -0
- data/lib/j1m_theme/version.rb +3 -0
- metadata +355 -0
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* jQuery Twitter Bootstrap Theme Switcher v1.1.5
|
|
3
|
+
* https://github.com/jguadagno/bootstrapThemeSwitcher
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2014, Joseph Guadagno
|
|
6
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
;(function ($, window, document, undefined) {
|
|
10
|
+
|
|
11
|
+
"use strict";
|
|
12
|
+
|
|
13
|
+
var old = $.fn.bootstrapThemeSwitcher;
|
|
14
|
+
|
|
15
|
+
// Constructor
|
|
16
|
+
var BootstrapThemeSwitcher = function (element, options) {
|
|
17
|
+
|
|
18
|
+
this.$element = $(element);
|
|
19
|
+
this.settings = $.extend({}, $.fn.bootstrapThemeSwitcher.defaults, options);
|
|
20
|
+
this.themesList = [];
|
|
21
|
+
this.getThemes();
|
|
22
|
+
|
|
23
|
+
return this;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
// Prototype
|
|
27
|
+
BootstrapThemeSwitcher.prototype = {
|
|
28
|
+
clear: function () {
|
|
29
|
+
console.log('bootstrapThemeSwitcher.clear');
|
|
30
|
+
return this.$element.each(function () {
|
|
31
|
+
this.$element.empty();
|
|
32
|
+
});
|
|
33
|
+
},
|
|
34
|
+
update: function () {
|
|
35
|
+
console.log('bootstrapThemeSwitcher.update');
|
|
36
|
+
this.getThemes();
|
|
37
|
+
},
|
|
38
|
+
checkStyleSheetByName: function (name) {
|
|
39
|
+
var found = false;
|
|
40
|
+
var test = '\/' + name + '\/';
|
|
41
|
+
var re = new RegExp(test, 'i');
|
|
42
|
+
|
|
43
|
+
for(var i = 0; i < document.styleSheets.length; i++){
|
|
44
|
+
if(re.test(document.styleSheets[i].href)){
|
|
45
|
+
found=true;
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return found;
|
|
50
|
+
},
|
|
51
|
+
switchTheme: function (name, cssFile) {
|
|
52
|
+
|
|
53
|
+
var $this = $(this);
|
|
54
|
+
var settings = $.extend({}, $.fn.bootstrapThemeSwitcher.defaults, $this.data('bootstrapThemeSwitcher'));
|
|
55
|
+
var defaultThemeName = $.cookie(settings.cookieDefaultThemeName);
|
|
56
|
+
var themeName = $.cookie(settings.cookieThemeName);
|
|
57
|
+
var id = settings.cssThemeLink;
|
|
58
|
+
var debug = settings.debug;
|
|
59
|
+
|
|
60
|
+
if ( debug == 'true' ) {
|
|
61
|
+
console.log('bootstrapThemeSwitcher.switchTheme: name: "' + name + '", cssFile: "' + cssFile + '"');
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (cssFile === undefined) {
|
|
65
|
+
cssFile = this.settings.defaultCssFile;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
if (name === undefined) {
|
|
69
|
+
name = cssFile;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// jadams: Schema switch cause "DOM flicker" aka "FOUC" (Flash of unstyled content)
|
|
73
|
+
if ( debug == 'true' ) {
|
|
74
|
+
console.log('bootstrapThemeSwitcher.disableTheme: name: "' + themeName + '"');
|
|
75
|
+
}
|
|
76
|
+
$("#no_flicker").css("display", "none");
|
|
77
|
+
|
|
78
|
+
// Replace the theme file
|
|
79
|
+
var selector = '#' + id;
|
|
80
|
+
var cssLink = $(selector);
|
|
81
|
+
if (cssLink.length === 0) {
|
|
82
|
+
var cssLinkHtml = "<link rel='stylesheet' id='" + id + "' href='" + cssFile + "' type='text/css' />";
|
|
83
|
+
var firstCssLink = $('head link[rel="stylesheet"]:first');
|
|
84
|
+
if (firstCssLink.length === 0) {
|
|
85
|
+
$('head').append(cssLinkHtml);
|
|
86
|
+
} else {
|
|
87
|
+
firstCssLink.before(cssLinkHtml);
|
|
88
|
+
}
|
|
89
|
+
cssLink = $(selector);
|
|
90
|
+
}
|
|
91
|
+
cssLink.attr('href', cssFile);
|
|
92
|
+
|
|
93
|
+
// check to see if they want it to be saved
|
|
94
|
+
if (settings.saveToCookie) {
|
|
95
|
+
if ($.cookie === undefined) {
|
|
96
|
+
if ( debug == 'true' ) {
|
|
97
|
+
console.warn('bootstrapThemeSwitcher: saveToCookie is set to true but jQuery.cookie is not present');
|
|
98
|
+
}
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
$.cookie(settings.cookieThemeName, name, { expires: settings.cookieExpiration, path: settings.cookiePath });
|
|
102
|
+
$.cookie(settings.cookieThemeCss, cssFile, { expires: settings.cookieExpiration, path: settings.cookiePath });
|
|
103
|
+
}
|
|
104
|
+
// Remove any existing bootstrap style sheet that are NOT the theme ones
|
|
105
|
+
$('head link[href*="bootstrap.min.css"][id!="' + id + '"]').remove();
|
|
106
|
+
if ( debug == 'true' ) {
|
|
107
|
+
console.log('bootstrapThemeSwitcher.enableTheme: name: "' + themeName + '"');
|
|
108
|
+
}
|
|
109
|
+
setTimeout(function() { $("#no_flicker").css("display", "block"); }, settings.hideOnReload);
|
|
110
|
+
},
|
|
111
|
+
loadThemeFromCookie: function (options) {
|
|
112
|
+
if ($.cookie === undefined) {
|
|
113
|
+
console.warn('bootstrapThemeSwitcher: loadThemeFromCookie was called but jQuery.cookie is not present');
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
var settings = $.extend({}, $.fn.bootstrapThemeSwitcher.defaults, options);
|
|
117
|
+
var themeName = $.cookie(settings.cookieThemeName);
|
|
118
|
+
var themeCss = $.cookie(settings.cookieThemeCss);
|
|
119
|
+
//console.log('bootstrapThemeSwitcher.disableTheme: name: "' + themeName + '"');
|
|
120
|
+
//$("#no_flicker").css("display", "none");
|
|
121
|
+
this.switchTheme(themeName, themeCss);
|
|
122
|
+
//console.log('bootstrapThemeSwitcher.enableTheme: name: "' + themeName + '"');
|
|
123
|
+
//setTimeout(function() { $("#no_flicker").css("display", "block"); }, settings.hideOnReload);
|
|
124
|
+
},
|
|
125
|
+
addTheme: function(name, cssFile, start, deleteCount) {
|
|
126
|
+
if (start === undefined) {
|
|
127
|
+
start = 0;
|
|
128
|
+
}
|
|
129
|
+
if (deleteCount === undefined) {
|
|
130
|
+
deleteCount = 0;
|
|
131
|
+
}
|
|
132
|
+
this.themesList.splice(start, deleteCount, {name: name, cssCdn: cssFile});
|
|
133
|
+
this.addThemesToControl();
|
|
134
|
+
},
|
|
135
|
+
addThemesToControl: function() {
|
|
136
|
+
|
|
137
|
+
if (this.$element === undefined) {
|
|
138
|
+
console.error('bootstrapThemeSelector: addThemesToControl: Element is undefined');
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
if (this.themesList === undefined) {
|
|
143
|
+
console.error('bootstrapThemeSelector: addThemesToControl: Themes is undefined');
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
//If BootSwatch exclusions are set
|
|
148
|
+
if(this.settings.excludeBootswatch){
|
|
149
|
+
//Split the string on ,
|
|
150
|
+
if(this.settings.excludeBootswatch.indexOf(",") !== -1){
|
|
151
|
+
var excludeBootswatchs = this.settings.excludeBootswatch.split(',');
|
|
152
|
+
}else{
|
|
153
|
+
var excludeBootswatchs = [];
|
|
154
|
+
excludeBootswatchs.push(this.settings.excludeBootswatch);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
var tempThemeList = this.themesList;
|
|
158
|
+
$.each(tempThemeList, function (i, value) {
|
|
159
|
+
if(value && value.name){
|
|
160
|
+
if( jQuery.inArray( value.name, excludeBootswatchs ) !== -1 ){
|
|
161
|
+
tempThemeList.splice(i,1);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
this.themesList = tempThemeList;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
var base = this;
|
|
169
|
+
|
|
170
|
+
if (this.$element.is('ul')) {
|
|
171
|
+
var $this = $(this);
|
|
172
|
+
var settings = $.extend({}, $.fn.bootstrapThemeSwitcher.defaults, $this.data('bootstrapThemeSwitcher'));
|
|
173
|
+
var id = settings.cssThemeLink;
|
|
174
|
+
var debug = settings.debug;
|
|
175
|
+
var defaultThemeName = $.cookie(settings.cookieDefaultThemeName);
|
|
176
|
+
var themeName = $.cookie(settings.cookieThemeName);
|
|
177
|
+
|
|
178
|
+
if ( debug == 'true' ) {
|
|
179
|
+
console.log('bootstrapThemeSelector: UL element selected');
|
|
180
|
+
}
|
|
181
|
+
this.$element.empty();
|
|
182
|
+
|
|
183
|
+
var cssClass;
|
|
184
|
+
$.each(this.themesList, function (i, value) {
|
|
185
|
+
//Add a class of "active" to the current BootSwatch
|
|
186
|
+
cssClass = null;
|
|
187
|
+
if(value.name === $.cookie(settings.cookieThemeName)){
|
|
188
|
+
cssClass = "active";
|
|
189
|
+
}
|
|
190
|
+
var li = $("<li />")
|
|
191
|
+
.attr("class",cssClass)
|
|
192
|
+
.append("<a href='#'>" + value.name + "</a>")
|
|
193
|
+
.on('click', function () {
|
|
194
|
+
base.switchTheme(value.name, value.cssCdn);
|
|
195
|
+
|
|
196
|
+
//Remove previous "active" class and apply to latest clicked element
|
|
197
|
+
$(this).parent().find("li").removeClass("active");
|
|
198
|
+
$(this).addClass("active");
|
|
199
|
+
});
|
|
200
|
+
base.$element.append(li);
|
|
201
|
+
});
|
|
202
|
+
|
|
203
|
+
} else if (this.$element.is('select')) {
|
|
204
|
+
if ( debug == 'true' ) {
|
|
205
|
+
console.log('bootstrapThemeSelector: SELECT element selected');
|
|
206
|
+
}
|
|
207
|
+
this.$element.empty();
|
|
208
|
+
|
|
209
|
+
var optionSelectedMarker;
|
|
210
|
+
$.each(this.themesList, function (i, value) {
|
|
211
|
+
optionSelectedMarker = null;
|
|
212
|
+
if(value.name === $.cookie(settings.cookieThemeName)){
|
|
213
|
+
optionSelectedMarker = "selected";
|
|
214
|
+
}
|
|
215
|
+
base.$element.append("<option " + optionSelectedMarker + " value='" + value.cssCdn + "'>" + value.name + "</option>");
|
|
216
|
+
});
|
|
217
|
+
this.$element.on('change', function () {
|
|
218
|
+
var optionSelected = $("option:selected", this);
|
|
219
|
+
base.switchTheme(optionSelected.text(), optionSelected.val());
|
|
220
|
+
});
|
|
221
|
+
|
|
222
|
+
} else {
|
|
223
|
+
// console.warn('bootstrapThemeSelector only works with ul or select elements');
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
|
|
227
|
+
getThemes: function() {
|
|
228
|
+
|
|
229
|
+
var base = this;
|
|
230
|
+
|
|
231
|
+
if (this.settings.localFeed !== null && this.settings.localFeed !== '') {
|
|
232
|
+
// Get the file
|
|
233
|
+
|
|
234
|
+
$.ajax({
|
|
235
|
+
url: this.settings.localFeed,
|
|
236
|
+
// jadams 2016-10-10: removed the setting for sychronous XMLHttpRequest
|
|
237
|
+
// because deprecated by jQuery on the main thread. Because the Theme Manager
|
|
238
|
+
// is initialized very early, no blocking|sychronous AJAX call is needed
|
|
239
|
+
// async: false,
|
|
240
|
+
dataType: 'json',
|
|
241
|
+
success: function (data) {
|
|
242
|
+
base.themesList = data.themes;
|
|
243
|
+
base.addThemesToControl();
|
|
244
|
+
},
|
|
245
|
+
error: function (jqXHR, textStatus, errorThrown) {
|
|
246
|
+
console.error("Failed to retrieve the local feed from '" + base.settings.localFeed + "'");
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
});
|
|
250
|
+
return;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
$.ajax({
|
|
254
|
+
url: this.settings.bootswatchApiUrl + "/" + this.settings.bootswatchApiVersion + ".json",
|
|
255
|
+
// jadams 2016-10-10: removed the setting for sychronous XMLHttpRequest
|
|
256
|
+
// because deprecated by jQuery on the main thread. Because the Theme Manager
|
|
257
|
+
// is initialized very early, no blocking|sychronous AJAX call is needed
|
|
258
|
+
// async: false,
|
|
259
|
+
dataType: 'json',
|
|
260
|
+
success: function (data) {
|
|
261
|
+
if (data.themes === undefined) {
|
|
262
|
+
return null;
|
|
263
|
+
}
|
|
264
|
+
base.themesList = data.themes;
|
|
265
|
+
base.themesList.splice(0,0, {name: 'default',cssCdn: base.settings.defaultCssFile});
|
|
266
|
+
|
|
267
|
+
base.addThemesToControl();
|
|
268
|
+
}
|
|
269
|
+
});
|
|
270
|
+
},
|
|
271
|
+
themes : function (newThemeList) {
|
|
272
|
+
if (newThemeList === undefined) {
|
|
273
|
+
return this.themesList;
|
|
274
|
+
}
|
|
275
|
+
else {
|
|
276
|
+
// TODO: Set the associated control.
|
|
277
|
+
this.themesList = newThemeList;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
// Plugin
|
|
283
|
+
$.fn.bootstrapThemeSwitcher = function (option) {
|
|
284
|
+
var args = Array.prototype.slice.call(arguments, 1);
|
|
285
|
+
var methodReturn;
|
|
286
|
+
|
|
287
|
+
var $this = $(this);
|
|
288
|
+
var data = $this.data('bootstrapThemeSwitcher');
|
|
289
|
+
var options = typeof option === 'object' && option;
|
|
290
|
+
|
|
291
|
+
if (!data) {
|
|
292
|
+
$this.data('bootstrapThemeSwitcher', (data = new BootstrapThemeSwitcher(this, options) ));
|
|
293
|
+
}
|
|
294
|
+
if (typeof option === 'string') {
|
|
295
|
+
methodReturn = data[ option ].apply(data, args);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
return ( methodReturn === undefined ) ? $this : methodReturn;
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
$.fn.bootstrapThemeSwitcher.defaults = {
|
|
302
|
+
debug: false,
|
|
303
|
+
cssThemeLink: 'bootstrapTheme',
|
|
304
|
+
saveToCookie: true,
|
|
305
|
+
cookieThemeName: 'bootstrapTheme.name',
|
|
306
|
+
cookieDefaultThemeName: 'bootstrapTheme.default',
|
|
307
|
+
cookieThemeCss: 'boostrapTheme.css',
|
|
308
|
+
cookieExpiration: 7,
|
|
309
|
+
cookiePath: '/',
|
|
310
|
+
defaultCssFile: 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css',
|
|
311
|
+
bootswatchApiUrl: 'https://bootswatch.com/api/',
|
|
312
|
+
bootswatchApiVersion: '3',
|
|
313
|
+
loadFromBootswatch: true,
|
|
314
|
+
hideOnReload: 150,
|
|
315
|
+
localFeed: '',
|
|
316
|
+
excludeBootswatch: ''
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
$.fn.bootstrapThemeSwitcher.Constructor = BootstrapThemeSwitcher;
|
|
320
|
+
|
|
321
|
+
$.fn.bootstrapThemeSwitcher.noConflict = function () {
|
|
322
|
+
$.fn.BootstrapThemeSwitcher = old;
|
|
323
|
+
return this;
|
|
324
|
+
};
|
|
325
|
+
})(jQuery, window, document);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* jQuery Twitter Bootstrap Theme Switcher v1.1.5
|
|
3
|
+
* https://github.com/jguadagno/bootstrapThemeSwitcher
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2014, Joseph Guadagno
|
|
6
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
(function(d,c,a,f){var b=d.fn.bootstrapThemeSwitcher;var e=function(h,g){this.$element=d(h);this.settings=d.extend({},d.fn.bootstrapThemeSwitcher.defaults,g);this.themesList=[];this.getThemes();return this};e.prototype={clear:function(){console.log("bootstrapThemeSwitcher.clear");return this.$element.each(function(){this.$element.empty()})},update:function(){console.log("bootstrapThemeSwitcher.update");this.getThemes()},checkStyleSheetByName:function(g){var k=false;var l="/"+g+"/";var j=new RegExp(l,"i");for(var h=0;h<a.styleSheets.length;h++){if(j.test(a.styleSheets[h].href)){k=true;break}}return k},switchTheme:function(h,o){var q=d(this);var m=d.extend({},d.fn.bootstrapThemeSwitcher.defaults,q.data("bootstrapThemeSwitcher"));var r=d.cookie(m.cookieDefaultThemeName);var n=d.cookie(m.cookieThemeName);var j=m.cssThemeLink;var i=m.debug;if(i=="true"){console.log('bootstrapThemeSwitcher.switchTheme: name: "'+h+'", cssFile: "'+o+'"')}if(o===f){o=this.settings.defaultCssFile}if(h===f){h=o}if(i=="true"){console.log('bootstrapThemeSwitcher.disableTheme: name: "'+n+'"')}d("#no_flicker").css("display","none");var l="#"+j;var g=d(l);if(g.length===0){var p="<link rel='stylesheet' id='"+j+"' href='"+o+"' type='text/css' />";var k=d('head link[rel="stylesheet"]:first');if(k.length===0){d("head").append(p)}else{k.before(p)}g=d(l)}g.attr("href",o);if(m.saveToCookie){if(d.cookie===f){if(i=="true"){console.warn("bootstrapThemeSwitcher: saveToCookie is set to true but jQuery.cookie is not present")}return}d.cookie(m.cookieThemeName,h,{expires:m.cookieExpiration,path:m.cookiePath});d.cookie(m.cookieThemeCss,o,{expires:m.cookieExpiration,path:m.cookiePath})}d('head link[href*="bootstrap.min.css"][id!="'+j+'"]').remove();if(i=="true"){console.log('bootstrapThemeSwitcher.enableTheme: name: "'+n+'"')}setTimeout(function(){d("#no_flicker").css("display","block")},m.hideOnReload)},loadThemeFromCookie:function(g){if(d.cookie===f){console.warn("bootstrapThemeSwitcher: loadThemeFromCookie was called but jQuery.cookie is not present");return}var h=d.extend({},d.fn.bootstrapThemeSwitcher.defaults,g);var j=d.cookie(h.cookieThemeName);var i=d.cookie(h.cookieThemeCss);this.switchTheme(j,i)},addTheme:function(h,g,j,i){if(j===f){j=0}if(i===f){i=0}this.themesList.splice(j,i,{name:h,cssCdn:g});this.addThemesToControl()},addThemesToControl:function(){if(this.$element===f){console.error("bootstrapThemeSelector: addThemesToControl: Element is undefined");return}if(this.themesList===f){console.error("bootstrapThemeSelector: addThemesToControl: Themes is undefined");return}if(this.settings.excludeBootswatch){if(this.settings.excludeBootswatch.indexOf(",")!==-1){var n=this.settings.excludeBootswatch.split(",")}else{var n=[];n.push(this.settings.excludeBootswatch)}var j=this.themesList;d.each(j,function(r,s){if(s&&s.name){if(jQuery.inArray(s.name,n)!==-1){j.splice(r,1)}}});this.themesList=j}var i=this;if(this.$element.is("ul")){var o=d(this);var k=d.extend({},d.fn.bootstrapThemeSwitcher.defaults,o.data("bootstrapThemeSwitcher"));var h=k.cssThemeLink;var g=k.debug;var p=d.cookie(k.cookieDefaultThemeName);var l=d.cookie(k.cookieThemeName);if(g=="true"){console.log("bootstrapThemeSelector: UL element selected")}this.$element.empty();var q;d.each(this.themesList,function(s,t){q=null;if(t.name===d.cookie(k.cookieThemeName)){q="active"}var r=d("<li />").attr("class",q).append("<a href='#'>"+t.name+"</a>").on("click",function(){i.switchTheme(t.name,t.cssCdn);d(this).parent().find("li").removeClass("active");d(this).addClass("active")});i.$element.append(r)})}else{if(this.$element.is("select")){if(g=="true"){console.log("bootstrapThemeSelector: SELECT element selected")}this.$element.empty();var m;d.each(this.themesList,function(r,s){m=null;if(s.name===d.cookie(k.cookieThemeName)){m="selected"}i.$element.append("<option "+m+" value='"+s.cssCdn+"'>"+s.name+"</option>")});this.$element.on("change",function(){var r=d("option:selected",this);i.switchTheme(r.text(),r.val())})}else{}}},getThemes:function(){var g=this;if(this.settings.localFeed!==null&&this.settings.localFeed!==""){d.ajax({url:this.settings.localFeed,dataType:"json",success:function(h){g.themesList=h.themes;g.addThemesToControl()},error:function(h,j,i){console.error("Failed to retrieve the local feed from '"+g.settings.localFeed+"'")}});return}d.ajax({url:this.settings.bootswatchApiUrl+"/"+this.settings.bootswatchApiVersion+".json",dataType:"json",success:function(h){if(h.themes===f){return null}g.themesList=h.themes;g.themesList.splice(0,0,{name:"default",cssCdn:g.settings.defaultCssFile});g.addThemesToControl()}})},themes:function(g){if(g===f){return this.themesList}else{this.themesList=g}}};d.fn.bootstrapThemeSwitcher=function(i){var h=Array.prototype.slice.call(arguments,1);var k;var l=d(this);var j=l.data("bootstrapThemeSwitcher");var g=typeof i==="object"&&i;if(!j){l.data("bootstrapThemeSwitcher",(j=new e(this,g)))}if(typeof i==="string"){k=j[i].apply(j,h)}return(k===f)?l:k};d.fn.bootstrapThemeSwitcher.defaults={debug:false,cssThemeLink:"bootstrapTheme",saveToCookie:true,cookieThemeName:"bootstrapTheme.name",cookieDefaultThemeName:"bootstrapTheme.default",cookieThemeCss:"boostrapTheme.css",cookieExpiration:7,cookiePath:"/",defaultCssFile:"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css",bootswatchApiUrl:"https://bootswatch.com/api/",bootswatchApiVersion:"3",loadFromBootswatch:true,hideOnReload:150,localFeed:"",excludeBootswatch:""};d.fn.bootstrapThemeSwitcher.Constructor=e;d.fn.bootstrapThemeSwitcher.noConflict=function(){d.fn.BootstrapThemeSwitcher=b;return this}})(jQuery,window,document);
|
|
@@ -0,0 +1,1086 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Theme Preview
|
|
3
|
+
tagline: Check Bootstrap Components for the selected Theme
|
|
4
|
+
description: Themes Previewer for J1 Template
|
|
5
|
+
|
|
6
|
+
tags: [
|
|
7
|
+
Preview, Previewer
|
|
8
|
+
]
|
|
9
|
+
|
|
10
|
+
resource_options:
|
|
11
|
+
- j1_tocbot:
|
|
12
|
+
collapseDepth: 2
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
++++
|
|
17
|
+
<!-- Prepend H1 tag here -->
|
|
18
|
+
<div id="h1_theme_name" class="row">
|
|
19
|
+
<!-- Add J1 Theme Manager details -->
|
|
20
|
+
<script type="text/javascript">
|
|
21
|
+
// Load the previously selected theme from the cookies
|
|
22
|
+
var themeName = $.cookie('j1-theme.name');
|
|
23
|
+
if ( themeName ) {
|
|
24
|
+
var themeNameHeadline = '<h1>Theme <i id="theme_name">' + themeName + '</i> </h1>';
|
|
25
|
+
} else {
|
|
26
|
+
var themeName = 'J1 Default';
|
|
27
|
+
var themeNameHeadline = '<h1>Theme <i id="theme_name">' + themeName + '</i> </h1>';
|
|
28
|
+
}
|
|
29
|
+
$('#h1_theme_name').prepend(themeNameHeadline);
|
|
30
|
+
</script>
|
|
31
|
+
</div>
|
|
32
|
+
++++
|
|
33
|
+
|
|
34
|
+
== Navbar
|
|
35
|
+
++++
|
|
36
|
+
<!-- Navbar
|
|
37
|
+
================================================== -->
|
|
38
|
+
<div class="row margin-top-20">
|
|
39
|
+
<div class="col-lg-12">
|
|
40
|
+
|
|
41
|
+
<nav class="navbar navbar-default">
|
|
42
|
+
<div class="container-fluid">
|
|
43
|
+
<div class="navbar-header">
|
|
44
|
+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
|
45
|
+
<span class="sr-only">Toggle navigation</span>
|
|
46
|
+
<span class="icon-bar"></span>
|
|
47
|
+
<span class="icon-bar"></span>
|
|
48
|
+
<span class="icon-bar"></span>
|
|
49
|
+
</button>
|
|
50
|
+
<a class="navbar-brand" href="javascript:void(0)">Brand</a>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
|
53
|
+
<ul class="nav navbar-nav">
|
|
54
|
+
<li class="active"><a href="javascript:void(0)">Link <span class="sr-only">(current)</span></a></li>
|
|
55
|
+
<li><a href="javascript:void(0)">Link</a></li>
|
|
56
|
+
<li class="dropdown">
|
|
57
|
+
<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Dropdown <span class="caret"></span></a>
|
|
58
|
+
<ul class="dropdown-menu" role="menu">
|
|
59
|
+
<li><a href="javascript:void(0)">Action</a></li>
|
|
60
|
+
<li><a href="javascript:void(0)">Another action</a></li>
|
|
61
|
+
<li><a href="javascript:void(0)">Something else here</a></li>
|
|
62
|
+
<li class="divider"></li>
|
|
63
|
+
<li><a href="javascript:void(0)">Separated link</a></li>
|
|
64
|
+
<li class="divider"></li>
|
|
65
|
+
<li><a href="javascript:void(0)">One more separated link</a></li>
|
|
66
|
+
</ul>
|
|
67
|
+
</li>
|
|
68
|
+
</ul>
|
|
69
|
+
<form class="navbar-form navbar-left" role="search">
|
|
70
|
+
<div class="form-group">
|
|
71
|
+
<input type="text" class="form-control" placeholder="Search">
|
|
72
|
+
</div>
|
|
73
|
+
<button type="submit" class="btn btn-default">Submit</button>
|
|
74
|
+
</form>
|
|
75
|
+
<ul class="nav navbar-nav navbar-right">
|
|
76
|
+
<li><a href="javascript:void(0)">Link</a></li>
|
|
77
|
+
</ul>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
</nav>
|
|
81
|
+
|
|
82
|
+
<nav class="navbar navbar-inverse">
|
|
83
|
+
<div class="container-fluid">
|
|
84
|
+
<div class="navbar-header">
|
|
85
|
+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-2">
|
|
86
|
+
<span class="sr-only">Toggle navigation</span>
|
|
87
|
+
<span class="icon-bar"></span>
|
|
88
|
+
<span class="icon-bar"></span>
|
|
89
|
+
<span class="icon-bar"></span>
|
|
90
|
+
</button>
|
|
91
|
+
<a class="navbar-brand" href="javascript:void(0)">Brand</a>
|
|
92
|
+
</div>
|
|
93
|
+
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-2">
|
|
94
|
+
<ul class="nav navbar-nav">
|
|
95
|
+
<li class="active"><a href="javascript:void(0)">Link <span class="sr-only">(current)</span></a></li>
|
|
96
|
+
<li><a href="javascript:void(0)">Link</a></li>
|
|
97
|
+
<li class="dropdown">
|
|
98
|
+
<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Dropdown <span class="caret"></span></a>
|
|
99
|
+
<ul class="dropdown-menu" role="menu">
|
|
100
|
+
<li><a href="javascript:void(0)">Action</a></li>
|
|
101
|
+
<li><a href="javascript:void(0)">Another action</a></li>
|
|
102
|
+
<li><a href="javascript:void(0)">Something else here</a></li>
|
|
103
|
+
<li class="divider"></li>
|
|
104
|
+
<li><a href="javascript:void(0)">Separated link</a></li>
|
|
105
|
+
<li class="divider"></li>
|
|
106
|
+
<li><a href="javascript:void(0)">One more separated link</a></li>
|
|
107
|
+
</ul>
|
|
108
|
+
</li>
|
|
109
|
+
</ul>
|
|
110
|
+
<form class="navbar-form navbar-left" role="search">
|
|
111
|
+
<div class="form-group">
|
|
112
|
+
<input type="text" class="form-control" placeholder="Search">
|
|
113
|
+
</div>
|
|
114
|
+
<button type="submit" class="btn btn-default">Submit</button>
|
|
115
|
+
</form>
|
|
116
|
+
<ul class="nav navbar-nav navbar-right">
|
|
117
|
+
<li><a href="javascript:void(0)">Link</a></li>
|
|
118
|
+
</ul>
|
|
119
|
+
</div>
|
|
120
|
+
</div>
|
|
121
|
+
</nav>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
++++
|
|
125
|
+
|
|
126
|
+
== Buttons
|
|
127
|
+
++++
|
|
128
|
+
<!-- Buttons
|
|
129
|
+
================================================== -->
|
|
130
|
+
<div class="row margin-top-20">
|
|
131
|
+
<div class="col-lg-12">
|
|
132
|
+
<p>
|
|
133
|
+
<a href="javascript:void(0)" class="btn btn-default">Default</a>
|
|
134
|
+
<a href="javascript:void(0)" class="btn btn-primary">Primary</a>
|
|
135
|
+
<a href="javascript:void(0)" class="btn btn-success">Success</a>
|
|
136
|
+
<a href="javascript:void(0)" class="btn btn-info">Info</a>
|
|
137
|
+
<a href="javascript:void(0)" class="btn btn-warning">Warning</a>
|
|
138
|
+
<a href="javascript:void(0)" class="btn btn-danger">Danger</a>
|
|
139
|
+
<a href="javascript:void(0)" class="btn btn-link">Link</a>
|
|
140
|
+
</p>
|
|
141
|
+
<p>
|
|
142
|
+
<a href="javascript:void(0)" class="btn btn-default disabled">Default</a>
|
|
143
|
+
<a href="javascript:void(0)" class="btn btn-primary disabled">Primary</a>
|
|
144
|
+
<a href="javascript:void(0)" class="btn btn-success disabled">Success</a>
|
|
145
|
+
<a href="javascript:void(0)" class="btn btn-info disabled">Info</a>
|
|
146
|
+
<a href="javascript:void(0)" class="btn btn-warning disabled">Warning</a>
|
|
147
|
+
<a href="javascript:void(0)" class="btn btn-danger disabled">Danger</a>
|
|
148
|
+
<a href="javascript:void(0)" class="btn btn-link disabled">Link</a>
|
|
149
|
+
</p>
|
|
150
|
+
<p>
|
|
151
|
+
<div class="btn-toolbar bs-component">
|
|
152
|
+
<div class="btn-group">
|
|
153
|
+
<a href="javascript:void(0)" class="btn btn-default">Default</a>
|
|
154
|
+
<a href="javascript:void(0)" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a>
|
|
155
|
+
<ul class="dropdown-menu">
|
|
156
|
+
<li><a href="javascript:void(0)">Action</a></li>
|
|
157
|
+
<li><a href="javascript:void(0)">Another action</a></li>
|
|
158
|
+
<li><a href="javascript:void(0)">Something else here</a></li>
|
|
159
|
+
<li class="divider"></li>
|
|
160
|
+
<li><a href="javascript:void(0)">Separated link</a></li>
|
|
161
|
+
</ul>
|
|
162
|
+
</div>
|
|
163
|
+
<div class="btn-group">
|
|
164
|
+
<a href="javascript:void(0)" class="btn btn-primary">Primary</a>
|
|
165
|
+
<a href="javascript:void(0)" class="btn btn-primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a>
|
|
166
|
+
<ul class="dropdown-menu">
|
|
167
|
+
<li><a href="javascript:void(0)">Action</a></li>
|
|
168
|
+
<li><a href="javascript:void(0)">Another action</a></li>
|
|
169
|
+
<li><a href="javascript:void(0)">Something else here</a></li>
|
|
170
|
+
<li class="divider"></li>
|
|
171
|
+
<li><a href="javascript:void(0)">Separated link</a></li>
|
|
172
|
+
</ul>
|
|
173
|
+
</div>
|
|
174
|
+
<div class="btn-group">
|
|
175
|
+
<a href="javascript:void(0)" class="btn btn-success">Success</a>
|
|
176
|
+
<a href="javascript:void(0)" class="btn btn-success dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a>
|
|
177
|
+
<ul class="dropdown-menu">
|
|
178
|
+
<li><a href="javascript:void(0)">Action</a></li>
|
|
179
|
+
<li><a href="javascript:void(0)">Another action</a></li>
|
|
180
|
+
<li><a href="javascript:void(0)">Something else here</a></li>
|
|
181
|
+
<li class="divider"></li>
|
|
182
|
+
<li><a href="javascript:void(0)">Separated link</a></li>
|
|
183
|
+
</ul>
|
|
184
|
+
</div>
|
|
185
|
+
<div class="btn-group">
|
|
186
|
+
<a href="javascript:void(0)" class="btn btn-info">Info</a>
|
|
187
|
+
<a href="javascript:void(0)" class="btn btn-info dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a>
|
|
188
|
+
<ul class="dropdown-menu">
|
|
189
|
+
<li><a href="javascript:void(0)">Action</a></li>
|
|
190
|
+
<li><a href="javascript:void(0)">Another action</a></li>
|
|
191
|
+
<li><a href="javascript:void(0)">Something else here</a></li>
|
|
192
|
+
<li class="divider"></li>
|
|
193
|
+
<li><a href="javascript:void(0)">Separated link</a></li>
|
|
194
|
+
</ul>
|
|
195
|
+
</div>
|
|
196
|
+
<div class="btn-group">
|
|
197
|
+
<a href="javascript:void(0)" class="btn btn-warning">Warning</a>
|
|
198
|
+
<a href="javascript:void(0)" class="btn btn-warning dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a>
|
|
199
|
+
<ul class="dropdown-menu">
|
|
200
|
+
<li><a href="javascript:void(0)">Action</a></li>
|
|
201
|
+
<li><a href="javascript:void(0)">Another action</a></li>
|
|
202
|
+
<li><a href="javascript:void(0)">Something else here</a></li>
|
|
203
|
+
<li class="divider"></li>
|
|
204
|
+
<li><a href="javascript:void(0)">Separated link</a></li>
|
|
205
|
+
</ul>
|
|
206
|
+
</div>
|
|
207
|
+
</div>
|
|
208
|
+
</p>
|
|
209
|
+
<p>
|
|
210
|
+
<a href="javascript:void(0)" class="btn btn-primary btn-lg">Large button</a>
|
|
211
|
+
<a href="javascript:void(0)" class="btn btn-primary">Default button</a>
|
|
212
|
+
<a href="javascript:void(0)" class="btn btn-primary btn-sm">Small button</a>
|
|
213
|
+
<a href="javascript:void(0)" class="btn btn-primary btn-xs">Mini button</a>
|
|
214
|
+
</p>
|
|
215
|
+
</div>
|
|
216
|
+
<div class="col-lg-12">
|
|
217
|
+
<p>
|
|
218
|
+
<a href="javascript:void(0)" class="btn btn-default btn-lg btn-block">Block level button</a>
|
|
219
|
+
</p>
|
|
220
|
+
<div class="margin-bottom-15">
|
|
221
|
+
<div class="btn-group btn-group-justified">
|
|
222
|
+
<a href="javascript:void(0)" class="btn btn-default">Left</a>
|
|
223
|
+
<a href="javascript:void(0)" class="btn btn-default">Middle</a>
|
|
224
|
+
<a href="javascript:void(0)" class="btn btn-default">Right</a>
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
<div class="margin-bottom-15">
|
|
228
|
+
<div class="btn-toolbar">
|
|
229
|
+
<div class="btn-group">
|
|
230
|
+
<a href="javascript:void(0)" class="btn btn-default">1</a>
|
|
231
|
+
<a href="javascript:void(0)" class="btn btn-default">2</a>
|
|
232
|
+
<a href="javascript:void(0)" class="btn btn-default">3</a>
|
|
233
|
+
<a href="javascript:void(0)" class="btn btn-default">4</a>
|
|
234
|
+
</div>
|
|
235
|
+
<div class="btn-group">
|
|
236
|
+
<a href="javascript:void(0)" class="btn btn-default">5</a>
|
|
237
|
+
<a href="javascript:void(0)" class="btn btn-default">6</a>
|
|
238
|
+
<a href="javascript:void(0)" class="btn btn-default">7</a>
|
|
239
|
+
</div>
|
|
240
|
+
<div class="btn-group">
|
|
241
|
+
<a href="javascript:void(0)" class="btn btn-default">8</a>
|
|
242
|
+
<div class="btn-group">
|
|
243
|
+
<a href="javascript:void(0)" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
|
244
|
+
Dropdown
|
|
245
|
+
<span class="caret"></span>
|
|
246
|
+
</a>
|
|
247
|
+
<ul class="dropdown-menu">
|
|
248
|
+
<li><a href="javascript:void(0)">Dropdown link</a></li>
|
|
249
|
+
<li><a href="javascript:void(0)">Dropdown link</a></li>
|
|
250
|
+
<li><a href="javascript:void(0)">Dropdown link</a></li>
|
|
251
|
+
</ul>
|
|
252
|
+
</div>
|
|
253
|
+
</div>
|
|
254
|
+
</div>
|
|
255
|
+
</div>
|
|
256
|
+
<div>
|
|
257
|
+
<div class="btn-group-vertical">
|
|
258
|
+
<a href="javascript:void(0)" class="btn btn-default">Button</a>
|
|
259
|
+
<a href="javascript:void(0)" class="btn btn-default">Button</a>
|
|
260
|
+
<a href="javascript:void(0)" class="btn btn-default">Button</a>
|
|
261
|
+
<a href="javascript:void(0)" class="btn btn-default">Button</a>
|
|
262
|
+
</div>
|
|
263
|
+
</div>
|
|
264
|
+
</div>
|
|
265
|
+
</div>
|
|
266
|
+
++++
|
|
267
|
+
|
|
268
|
+
== Typography
|
|
269
|
+
|
|
270
|
+
=== Headings
|
|
271
|
+
++++
|
|
272
|
+
<!-- Headings -->
|
|
273
|
+
<div class="row margin-top-20">
|
|
274
|
+
<div class="col-lg-4">
|
|
275
|
+
|
|
276
|
+
<h1 class="notoc">Heading 1</h1>
|
|
277
|
+
<h2 class="notoc">Heading 2</h2>
|
|
278
|
+
<h3 class="notoc">Heading 3</h3>
|
|
279
|
+
<h4 class="notoc">Heading 4</h4>
|
|
280
|
+
<h5 class="notoc">Heading 5</h5>
|
|
281
|
+
<h6 class="notoc">Heading 6</h6>
|
|
282
|
+
|
|
283
|
+
</div>
|
|
284
|
+
<div class="col-lg-4">
|
|
285
|
+
|
|
286
|
+
<h2 class="notoc">Example body text</h2>
|
|
287
|
+
<p>Nullam quis risus eget <a href="javascript:void(0)">urna mollis ornare</a> vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.</p>
|
|
288
|
+
<p><small>This line of text is meant to be treated as fine print.</small></p>
|
|
289
|
+
<p>The following snippet of text is <strong>rendered as bold text</strong>.</p>
|
|
290
|
+
<p>The following snippet of text is <em>rendered as italicized text</em>.</p>
|
|
291
|
+
<p>An abbreviation of the word attribute is <abbr title="attribute">attr</abbr>.</p>
|
|
292
|
+
|
|
293
|
+
</div>
|
|
294
|
+
<div class="col-lg-4">
|
|
295
|
+
|
|
296
|
+
<h2 class="notoc">Emphasis classes</h2>
|
|
297
|
+
<p class="text-muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p>
|
|
298
|
+
<p class="text-primary">Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
|
|
299
|
+
<p class="text-warning">Etiam porta sem malesuada magna mollis euismod.</p>
|
|
300
|
+
<p class="text-danger">Donec ullamcorper nulla non metus auctor fringilla.</p>
|
|
301
|
+
<p class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>
|
|
302
|
+
<p class="text-info">Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
|
|
303
|
+
|
|
304
|
+
</div>
|
|
305
|
+
</div>
|
|
306
|
+
++++
|
|
307
|
+
|
|
308
|
+
=== Lead paragraph
|
|
309
|
+
++++
|
|
310
|
+
<div class="row margin-top-20">
|
|
311
|
+
<div class="col-lg-12">
|
|
312
|
+
<p class="lead">Lead paragraph: Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
|
|
313
|
+
</div>
|
|
314
|
+
</div>
|
|
315
|
+
++++
|
|
316
|
+
|
|
317
|
+
=== Blockquotes
|
|
318
|
+
++++
|
|
319
|
+
<!-- Blockquotes -->
|
|
320
|
+
<div class="row margin-top-20">
|
|
321
|
+
<div class="col-lg-6">
|
|
322
|
+
|
|
323
|
+
<blockquote>
|
|
324
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
|
|
325
|
+
<small>Someone famous in <cite title="Source Title">Source Title</cite></small>
|
|
326
|
+
</blockquote>
|
|
327
|
+
|
|
328
|
+
</div>
|
|
329
|
+
<div class="col-lg-6">
|
|
330
|
+
|
|
331
|
+
<blockquote class="blockquote-reverse">
|
|
332
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
|
|
333
|
+
<small>Someone famous in <cite title="Source Title">Source Title</cite></small>
|
|
334
|
+
</blockquote>
|
|
335
|
+
|
|
336
|
+
</div>
|
|
337
|
+
</div>
|
|
338
|
+
++++
|
|
339
|
+
|
|
340
|
+
== Tables
|
|
341
|
+
++++
|
|
342
|
+
<!-- Tables
|
|
343
|
+
================================================== -->
|
|
344
|
+
<div class="row margin-top-20">
|
|
345
|
+
<div class="col-lg-12">
|
|
346
|
+
<table class="table table-striped table-hover ">
|
|
347
|
+
<thead>
|
|
348
|
+
<tr>
|
|
349
|
+
<th>#</th>
|
|
350
|
+
<th>Column heading</th>
|
|
351
|
+
<th>Column heading</th>
|
|
352
|
+
<th>Column heading</th>
|
|
353
|
+
</tr>
|
|
354
|
+
</thead>
|
|
355
|
+
<tbody>
|
|
356
|
+
<tr>
|
|
357
|
+
<td>1</td>
|
|
358
|
+
<td>Column content</td>
|
|
359
|
+
<td>Column content</td>
|
|
360
|
+
<td>Column content</td>
|
|
361
|
+
</tr>
|
|
362
|
+
<tr>
|
|
363
|
+
<td>2</td>
|
|
364
|
+
<td>Column content</td>
|
|
365
|
+
<td>Column content</td>
|
|
366
|
+
<td>Column content</td>
|
|
367
|
+
</tr>
|
|
368
|
+
<tr class="info">
|
|
369
|
+
<td>3</td>
|
|
370
|
+
<td>Column content</td>
|
|
371
|
+
<td>Column content</td>
|
|
372
|
+
<td>Column content</td>
|
|
373
|
+
</tr>
|
|
374
|
+
<tr class="success">
|
|
375
|
+
<td>4</td>
|
|
376
|
+
<td>Column content</td>
|
|
377
|
+
<td>Column content</td>
|
|
378
|
+
<td>Column content</td>
|
|
379
|
+
</tr>
|
|
380
|
+
<tr class="danger">
|
|
381
|
+
<td>5</td>
|
|
382
|
+
<td>Column content</td>
|
|
383
|
+
<td>Column content</td>
|
|
384
|
+
<td>Column content</td>
|
|
385
|
+
</tr>
|
|
386
|
+
<tr class="warning">
|
|
387
|
+
<td>6</td>
|
|
388
|
+
<td>Column content</td>
|
|
389
|
+
<td>Column content</td>
|
|
390
|
+
<td>Column content</td>
|
|
391
|
+
</tr>
|
|
392
|
+
<tr class="active">
|
|
393
|
+
<td>7</td>
|
|
394
|
+
<td>Column content</td>
|
|
395
|
+
<td>Column content</td>
|
|
396
|
+
<td>Column content</td>
|
|
397
|
+
</tr>
|
|
398
|
+
</tbody>
|
|
399
|
+
</table>
|
|
400
|
+
</div>
|
|
401
|
+
</div>
|
|
402
|
+
++++
|
|
403
|
+
|
|
404
|
+
== Forms
|
|
405
|
+
++++
|
|
406
|
+
<!-- Forms
|
|
407
|
+
================================================== -->
|
|
408
|
+
<div class="row margin-top-20">
|
|
409
|
+
<div class="col-lg-8">
|
|
410
|
+
<div class="well bs-component">
|
|
411
|
+
<form class="form-horizontal">
|
|
412
|
+
<fieldset>
|
|
413
|
+
<legend>Legend</legend>
|
|
414
|
+
<div class="form-group">
|
|
415
|
+
<label for="inputEmail" class="col-lg-2 control-label">Email</label>
|
|
416
|
+
<div class="col-lg-10">
|
|
417
|
+
<input type="text" class="form-control" id="inputEmail" placeholder="Email">
|
|
418
|
+
</div>
|
|
419
|
+
</div>
|
|
420
|
+
<div class="form-group">
|
|
421
|
+
<label for="inputPassword" class="col-lg-2 control-label">Password</label>
|
|
422
|
+
<div class="col-lg-10">
|
|
423
|
+
<input type="password" class="form-control" id="inputPassword" placeholder="Password">
|
|
424
|
+
<div class="checkbox">
|
|
425
|
+
<label>
|
|
426
|
+
<input type="checkbox"> Checkbox
|
|
427
|
+
</label>
|
|
428
|
+
</div>
|
|
429
|
+
</div>
|
|
430
|
+
</div>
|
|
431
|
+
<div class="form-group">
|
|
432
|
+
<label for="textArea" class="col-lg-2 control-label">Textarea</label>
|
|
433
|
+
<div class="col-lg-10">
|
|
434
|
+
<textarea class="form-control" rows="3" id="textArea"></textarea>
|
|
435
|
+
<span class="help-block">A longer block of help text that breaks onto a new line and may extend beyond one line.</span>
|
|
436
|
+
</div>
|
|
437
|
+
</div>
|
|
438
|
+
<div class="form-group">
|
|
439
|
+
<label class="col-lg-2 control-label">Radios</label>
|
|
440
|
+
<div class="col-lg-10">
|
|
441
|
+
<div class="radio">
|
|
442
|
+
<label>
|
|
443
|
+
<input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked="">
|
|
444
|
+
Option one is this
|
|
445
|
+
</label>
|
|
446
|
+
</div>
|
|
447
|
+
<div class="radio">
|
|
448
|
+
<label>
|
|
449
|
+
<input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">
|
|
450
|
+
Option two can be something else
|
|
451
|
+
</label>
|
|
452
|
+
</div>
|
|
453
|
+
</div>
|
|
454
|
+
</div>
|
|
455
|
+
<div class="form-group">
|
|
456
|
+
<label for="select" class="col-lg-2 control-label">Selects</label>
|
|
457
|
+
<div class="col-lg-10">
|
|
458
|
+
<select class="form-control" id="select">
|
|
459
|
+
<option>1</option>
|
|
460
|
+
<option>2</option>
|
|
461
|
+
<option>3</option>
|
|
462
|
+
<option>4</option>
|
|
463
|
+
<option>5</option>
|
|
464
|
+
</select>
|
|
465
|
+
<br>
|
|
466
|
+
<select multiple="" class="form-control">
|
|
467
|
+
<option>1</option>
|
|
468
|
+
<option>2</option>
|
|
469
|
+
<option>3</option>
|
|
470
|
+
<option>4</option>
|
|
471
|
+
<option>5</option>
|
|
472
|
+
</select>
|
|
473
|
+
</div>
|
|
474
|
+
</div>
|
|
475
|
+
<div class="form-group">
|
|
476
|
+
<div class="col-lg-10 col-lg-offset-2">
|
|
477
|
+
<button type="reset" class="btn btn-default">Cancel</button>
|
|
478
|
+
<button type="submit" class="btn btn-primary">Submit</button>
|
|
479
|
+
</div>
|
|
480
|
+
</div>
|
|
481
|
+
</fieldset>
|
|
482
|
+
</form>
|
|
483
|
+
</div>
|
|
484
|
+
</div>
|
|
485
|
+
<div class="col-lg-4">
|
|
486
|
+
<form>
|
|
487
|
+
<div class="form-group">
|
|
488
|
+
<label class="control-label" for="focusedInput">Focused input</label>
|
|
489
|
+
<input class="form-control" id="focusedInput" type="text" value="This is focused...">
|
|
490
|
+
</div>
|
|
491
|
+
<div class="form-group">
|
|
492
|
+
<label class="control-label" for="disabledInput">Disabled input</label>
|
|
493
|
+
<input class="form-control" id="disabledInput" type="text" placeholder="Disabled input here..." disabled="">
|
|
494
|
+
</div>
|
|
495
|
+
<div class="form-group has-warning">
|
|
496
|
+
<label class="control-label" for="inputWarning">Input warning</label>
|
|
497
|
+
<input type="text" class="form-control" id="inputWarning">
|
|
498
|
+
</div>
|
|
499
|
+
<div class="form-group has-error">
|
|
500
|
+
<label class="control-label" for="inputError">Input error</label>
|
|
501
|
+
<input type="text" class="form-control" id="inputError">
|
|
502
|
+
</div>
|
|
503
|
+
<div class="form-group has-success">
|
|
504
|
+
<label class="control-label" for="inputSuccess">Input success</label>
|
|
505
|
+
<input type="text" class="form-control" id="inputSuccess">
|
|
506
|
+
</div>
|
|
507
|
+
<div class="form-group">
|
|
508
|
+
<label class="control-label" for="inputLarge">Large input</label>
|
|
509
|
+
<input class="form-control input-lg" type="text" id="inputLarge">
|
|
510
|
+
</div>
|
|
511
|
+
<div class="form-group">
|
|
512
|
+
<label class="control-label" for="inputDefault">Default input</label>
|
|
513
|
+
<input type="text" class="form-control" id="inputDefault">
|
|
514
|
+
</div>
|
|
515
|
+
<div class="form-group">
|
|
516
|
+
<label class="control-label" for="inputSmall">Small input</label>
|
|
517
|
+
<input class="form-control input-sm" type="text" id="inputSmall">
|
|
518
|
+
</div>
|
|
519
|
+
<div class="form-group">
|
|
520
|
+
<label class="control-label">Input addons</label>
|
|
521
|
+
<div class="input-group">
|
|
522
|
+
<span class="input-group-addon">$</span>
|
|
523
|
+
<input type="text" class="form-control">
|
|
524
|
+
<span class="input-group-btn">
|
|
525
|
+
<button class="btn btn-default" type="button">Button</button>
|
|
526
|
+
</span>
|
|
527
|
+
</div>
|
|
528
|
+
</div>
|
|
529
|
+
</form>
|
|
530
|
+
</div>
|
|
531
|
+
</div>
|
|
532
|
+
++++
|
|
533
|
+
|
|
534
|
+
== Input groups
|
|
535
|
+
++++
|
|
536
|
+
<div class="row margin-top-20">
|
|
537
|
+
<div class="col-lg-8">
|
|
538
|
+
<h3 id="basic-imputs">Basic Inputs</h3>
|
|
539
|
+
<form class="bs-example bs-example-form" data-example-id="simple-input-groups">
|
|
540
|
+
<div class="input-group">
|
|
541
|
+
<span class="input-group-addon" id="basic-addon1">@</span>
|
|
542
|
+
<input class="form-control" placeholder="Username" aria-describedby="basic-addon1">
|
|
543
|
+
</div>
|
|
544
|
+
<br>
|
|
545
|
+
<div class="input-group">
|
|
546
|
+
<input class="form-control" placeholder="Recipient's username" aria-describedby="basic-addon2">
|
|
547
|
+
<span class="input-group-addon" id="basic-addon2">@example.com</span>
|
|
548
|
+
</div>
|
|
549
|
+
<br>
|
|
550
|
+
<div class="input-group">
|
|
551
|
+
<span class="input-group-addon">$</span>
|
|
552
|
+
<input class="form-control" aria-label="Amount (to the nearest dollar)">
|
|
553
|
+
<span class="input-group-addon">.00</span>
|
|
554
|
+
</div>
|
|
555
|
+
<br>
|
|
556
|
+
<label for="basic-url">Your vanity URL</label>
|
|
557
|
+
<div class="input-group">
|
|
558
|
+
<span class="input-group-addon" id="basic-addon3">https://example.com/users/</span>
|
|
559
|
+
<input class="form-control" id="basic-url" aria-describedby="basic-addon3">
|
|
560
|
+
</div>
|
|
561
|
+
</form>
|
|
562
|
+
</div>
|
|
563
|
+
<div class="col-lg-8">
|
|
564
|
+
<h3 id="basic-imputs">Checkboxes and radio addons</h3>
|
|
565
|
+
<form class="bs-example bs-example-form" data-example-id="input-group-with-checkbox-radio">
|
|
566
|
+
<div class="row">
|
|
567
|
+
<div class="col-lg-6">
|
|
568
|
+
<div class="input-group">
|
|
569
|
+
<span class="input-group-addon">
|
|
570
|
+
<input type="checkbox" aria-label="Checkbox for following text input">
|
|
571
|
+
</span>
|
|
572
|
+
<input class="form-control" aria-label="Text input with checkbox">
|
|
573
|
+
</div>
|
|
574
|
+
</div>
|
|
575
|
+
<div class="col-lg-6">
|
|
576
|
+
<div class="input-group">
|
|
577
|
+
<span class="input-group-addon">
|
|
578
|
+
<input type="radio" aria-label="Radio button for following text input">
|
|
579
|
+
</span>
|
|
580
|
+
<input class="form-control" aria-label="Text input with radio button">
|
|
581
|
+
</div>
|
|
582
|
+
</div>
|
|
583
|
+
</div>
|
|
584
|
+
</form>
|
|
585
|
+
</div>
|
|
586
|
+
</div>
|
|
587
|
+
++++
|
|
588
|
+
|
|
589
|
+
== Navigation
|
|
590
|
+
++++
|
|
591
|
+
<!-- Navs
|
|
592
|
+
================================================== -->
|
|
593
|
+
<div class="row margin-top-20">
|
|
594
|
+
<div class="col-lg-6">
|
|
595
|
+
<h3 id="Tabs">Tabs</h3>
|
|
596
|
+
<div>
|
|
597
|
+
<ul class="nav nav-tabs">
|
|
598
|
+
<li class="active"><a href="#home" data-toggle="tab">Home</a></li>
|
|
599
|
+
<li><a href="#profile" data-toggle="tab">Profile</a></li>
|
|
600
|
+
<li class="disabled"><a>Disabled</a></li>
|
|
601
|
+
<li class="dropdown">
|
|
602
|
+
<a class="dropdown-toggle" data-toggle="dropdown" href="javascript:void(0)">
|
|
603
|
+
Dropdown <span class="caret"></span>
|
|
604
|
+
</a>
|
|
605
|
+
<ul class="dropdown-menu">
|
|
606
|
+
<li><a href="#dropdown1" data-toggle="tab">Action</a></li>
|
|
607
|
+
<li class="divider"></li>
|
|
608
|
+
<li><a href="#dropdown2" data-toggle="tab">Another action</a></li>
|
|
609
|
+
</ul>
|
|
610
|
+
</li>
|
|
611
|
+
</ul>
|
|
612
|
+
<div id="myTabContent" class="tab-content">
|
|
613
|
+
<div class="tab-pane fade active in" id="home">
|
|
614
|
+
<p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.</p>
|
|
615
|
+
</div>
|
|
616
|
+
<div class="tab-pane fade" id="profile">
|
|
617
|
+
<p>Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit.</p>
|
|
618
|
+
</div>
|
|
619
|
+
<div class="tab-pane fade" id="dropdown1">
|
|
620
|
+
<p>Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork.</p>
|
|
621
|
+
</div>
|
|
622
|
+
<div class="tab-pane fade" id="dropdown2">
|
|
623
|
+
<p>Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater.</p>
|
|
624
|
+
</div>
|
|
625
|
+
</div>
|
|
626
|
+
</div>
|
|
627
|
+
</div>
|
|
628
|
+
<div class="col-lg-6">
|
|
629
|
+
<h3 id="Pills">Pills</h3>
|
|
630
|
+
<div>
|
|
631
|
+
<ul class="nav nav-pills">
|
|
632
|
+
<li class="active"><a href="#navs">Home</a></li>
|
|
633
|
+
<li><a href="#navs">Profile</a></li>
|
|
634
|
+
<li class="disabled"><a href="#navs">Disabled</a></li>
|
|
635
|
+
<li class="dropdown">
|
|
636
|
+
<a class="dropdown-toggle" data-toggle="dropdown" href="javascript:void(0)">
|
|
637
|
+
Dropdown <span class="caret"></span>
|
|
638
|
+
</a>
|
|
639
|
+
<ul class="dropdown-menu">
|
|
640
|
+
<li><a href="#action1">Action</a></li>
|
|
641
|
+
<li><a href="#action1">Another action</a></li>
|
|
642
|
+
<li><a href="#action1">Something else here</a></li>
|
|
643
|
+
<li class="divider"></li>
|
|
644
|
+
<li><a href="#action1">Separated link</a></li>
|
|
645
|
+
</ul>
|
|
646
|
+
</li>
|
|
647
|
+
</ul>
|
|
648
|
+
</div>
|
|
649
|
+
<br>
|
|
650
|
+
<div>
|
|
651
|
+
<ul class="nav nav-pills nav-stacked">
|
|
652
|
+
<li class="active"><a href="javascript:void(0)">Home</a></li>
|
|
653
|
+
<li><a href="javascript:void(0)">Profile</a></li>
|
|
654
|
+
<li class="disabled"><a href="javascript:void(0)">Disabled</a></li>
|
|
655
|
+
<li class="dropdown">
|
|
656
|
+
<a class="dropdown-toggle" data-toggle="dropdown" href="javascript:void(0)">
|
|
657
|
+
Dropdown <span class="caret"></span>
|
|
658
|
+
</a>
|
|
659
|
+
<ul class="dropdown-menu">
|
|
660
|
+
<li><a href="#action1">Action</a></li>
|
|
661
|
+
<li><a href="#action1">Another action</a></li>
|
|
662
|
+
<li><a href="#action1">Something else here</a></li>
|
|
663
|
+
<li class="divider"></li>
|
|
664
|
+
<li><a href="#action1">Separated link</a></li>
|
|
665
|
+
</ul>
|
|
666
|
+
</li>
|
|
667
|
+
</ul>
|
|
668
|
+
</div>
|
|
669
|
+
</div>
|
|
670
|
+
<div class="col-lg-12">
|
|
671
|
+
<h3 id="Breadcrumbs">Breadcrumbs</h3>
|
|
672
|
+
<div>
|
|
673
|
+
<ul class="breadcrumb">
|
|
674
|
+
<li class="active">Home</li>
|
|
675
|
+
</ul>
|
|
676
|
+
<ul class="breadcrumb">
|
|
677
|
+
<li><a href="javascript:void(0)">Home</a></li>
|
|
678
|
+
<li class="active">Library</li>
|
|
679
|
+
</ul>
|
|
680
|
+
<ul class="breadcrumb">
|
|
681
|
+
<li><a href="javascript:void(0)">Home</a></li>
|
|
682
|
+
<li><a href="javascript:void(0)">Library</a></li>
|
|
683
|
+
<li class="active">Data</li>
|
|
684
|
+
</ul>
|
|
685
|
+
</div>
|
|
686
|
+
</div>
|
|
687
|
+
</div>
|
|
688
|
+
++++
|
|
689
|
+
|
|
690
|
+
== Pagination
|
|
691
|
+
++++
|
|
692
|
+
<div class="row margin-top-20">
|
|
693
|
+
<div class="col-lg-6">
|
|
694
|
+
<h3 id="Pager">Pager Bars</h3>
|
|
695
|
+
<div>
|
|
696
|
+
<ul class="pagination">
|
|
697
|
+
<li class="disabled"><a href="javascript:void(0)">«</a></li>
|
|
698
|
+
<li class="active"><a href="#page">1</a></li>
|
|
699
|
+
<li><a href="#page">2</a></li>
|
|
700
|
+
<li><a href="#page">3</a></li>
|
|
701
|
+
<li><a href="#page">4</a></li>
|
|
702
|
+
<li><a href="#page">5</a></li>
|
|
703
|
+
<li><a href="#page">»</a></li>
|
|
704
|
+
</ul>
|
|
705
|
+
<ul class="pagination pagination-lg">
|
|
706
|
+
<li class="disabled"><a href="#page">«</a></li>
|
|
707
|
+
<li class="active"><a href="#page">1</a></li>
|
|
708
|
+
<li><a href="#page">2</a></li>
|
|
709
|
+
<li><a href="#page">3</a></li>
|
|
710
|
+
<li><a href="#page">»</a></li>
|
|
711
|
+
</ul>
|
|
712
|
+
<ul class="pagination pagination-sm">
|
|
713
|
+
<li class="disabled"><a href="#page">«</a></li>
|
|
714
|
+
<li class="active"><a href="#page">1</a></li>
|
|
715
|
+
<li><a href="#page">2</a></li>
|
|
716
|
+
<li><a href="#page">3</a></li>
|
|
717
|
+
<li><a href="#page">4</a></li>
|
|
718
|
+
<li><a href="#page">5</a></li>
|
|
719
|
+
<li><a href="#page">»</a></li>
|
|
720
|
+
</ul>
|
|
721
|
+
</div>
|
|
722
|
+
</div>
|
|
723
|
+
<div class="col-lg-6">
|
|
724
|
+
<h3 id="Pager">Pager Buttons</h3>
|
|
725
|
+
<div>
|
|
726
|
+
<ul class="pager">
|
|
727
|
+
<li><a href="#page">Previous</a></li>
|
|
728
|
+
<li><a href="#page">Next</a></li>
|
|
729
|
+
</ul>
|
|
730
|
+
<ul class="pager">
|
|
731
|
+
<li class="previous disabled"><a href="#page">← Older</a></li>
|
|
732
|
+
<li class="next"><a href="#page">Newer →</a></li>
|
|
733
|
+
</ul>
|
|
734
|
+
</div>
|
|
735
|
+
</div>
|
|
736
|
+
</div>
|
|
737
|
+
++++
|
|
738
|
+
|
|
739
|
+
== Indicators
|
|
740
|
+
++++
|
|
741
|
+
<div class="row margin-top-20">
|
|
742
|
+
<div class="col-lg-12">
|
|
743
|
+
<h3 id="Alerts">Alerts</h3>
|
|
744
|
+
<div>
|
|
745
|
+
<div class="alert alert-dismissible alert-warning">
|
|
746
|
+
<button type="button" class="close" data-dismiss="alert">×</button>
|
|
747
|
+
<h4 class="notoc">Warning!</h4>
|
|
748
|
+
<p>Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, <a href="#alert" class="alert-link">vel scelerisque nisl consectetur et</a>.</p>
|
|
749
|
+
</div>
|
|
750
|
+
</div>
|
|
751
|
+
</div>
|
|
752
|
+
</div>
|
|
753
|
+
<div class="row">
|
|
754
|
+
<div class="col-lg-4">
|
|
755
|
+
<div>
|
|
756
|
+
<div class="alert alert-dismissible alert-danger">
|
|
757
|
+
<button type="button" class="close" data-dismiss="alert">×</button>
|
|
758
|
+
<strong>Oh snap!</strong> <a href="#alert" class="alert-link">Change a few things up</a> and try submitting again.
|
|
759
|
+
</div>
|
|
760
|
+
</div>
|
|
761
|
+
</div>
|
|
762
|
+
<div class="col-lg-4">
|
|
763
|
+
<div>
|
|
764
|
+
<div class="alert alert-dismissible alert-success">
|
|
765
|
+
<button type="button" class="close" data-dismiss="alert">×</button>
|
|
766
|
+
<strong>Well done!</strong> You successfully read <a href="#alert" class="alert-link">this important alert message</a>.
|
|
767
|
+
</div>
|
|
768
|
+
</div>
|
|
769
|
+
</div>
|
|
770
|
+
<div class="col-lg-4">
|
|
771
|
+
<div>
|
|
772
|
+
<div class="alert alert-dismissible alert-info">
|
|
773
|
+
<button type="button" class="close" data-dismiss="alert">×</button>
|
|
774
|
+
<strong>Heads up!</strong> This <a href="#alert" class="alert-link">alert needs your attention</a>, but it's not super important.
|
|
775
|
+
</div>
|
|
776
|
+
</div>
|
|
777
|
+
</div>
|
|
778
|
+
</div>
|
|
779
|
+
<div class="row">
|
|
780
|
+
<div class="col-lg-6">
|
|
781
|
+
<h3 id="Labels">Labels</h3>
|
|
782
|
+
<div class="margin-bottom-40">
|
|
783
|
+
<span class="label label-default">Default</span>
|
|
784
|
+
<span class="label label-primary">Primary</span>
|
|
785
|
+
<span class="label label-success">Success</span>
|
|
786
|
+
<span class="label label-warning">Warning</span>
|
|
787
|
+
<span class="label label-danger">Danger</span>
|
|
788
|
+
<span class="label label-info">Info</span>
|
|
789
|
+
</div>
|
|
790
|
+
</div>
|
|
791
|
+
<div class="col-lg-6">
|
|
792
|
+
<h3 id="Badges">Badges</h3>
|
|
793
|
+
<div>
|
|
794
|
+
<ul class="nav nav-pills">
|
|
795
|
+
<li class="active"><a href="#link">Home <span class="badge">42</span></a></li>
|
|
796
|
+
<li><a href="#link">Profile <span class="badge"></span></a></li>
|
|
797
|
+
<li><a href="#link">Messages <span class="badge">3</span></a></li>
|
|
798
|
+
</ul>
|
|
799
|
+
</div>
|
|
800
|
+
</div>
|
|
801
|
+
</div>
|
|
802
|
+
++++
|
|
803
|
+
|
|
804
|
+
== Progress bars
|
|
805
|
+
++++
|
|
806
|
+
<!-- Progress bars
|
|
807
|
+
================================================== -->
|
|
808
|
+
<div class="row margin-top-20">
|
|
809
|
+
<div class="col-lg-12">
|
|
810
|
+
<h3 id="Basic">Basic</h3>
|
|
811
|
+
<div>
|
|
812
|
+
<div class="progress">
|
|
813
|
+
<div class="progress-bar" style="width: 60%;"></div>
|
|
814
|
+
</div>
|
|
815
|
+
</div>
|
|
816
|
+
<h3 id="Contextual alternatives">Contextual alternatives</h3>
|
|
817
|
+
<div>
|
|
818
|
+
<div class="progress">
|
|
819
|
+
<div class="progress-bar progress-bar-info" style="width: 20%"></div>
|
|
820
|
+
</div>
|
|
821
|
+
<div class="progress">
|
|
822
|
+
<div class="progress-bar progress-bar-success" style="width: 40%"></div>
|
|
823
|
+
</div>
|
|
824
|
+
<div class="progress">
|
|
825
|
+
<div class="progress-bar progress-bar-warning" style="width: 60%"></div>
|
|
826
|
+
</div>
|
|
827
|
+
<div class="progress">
|
|
828
|
+
<div class="progress-bar progress-bar-danger" style="width: 80%"></div>
|
|
829
|
+
</div>
|
|
830
|
+
</div>
|
|
831
|
+
<h3 id="Striped">Striped</h3>
|
|
832
|
+
<div>
|
|
833
|
+
<div class="progress progress-striped">
|
|
834
|
+
<div class="progress-bar progress-bar-info" style="width: 20%"></div>
|
|
835
|
+
</div>
|
|
836
|
+
<div class="progress progress-striped">
|
|
837
|
+
<div class="progress-bar progress-bar-success" style="width: 40%"></div>
|
|
838
|
+
</div>
|
|
839
|
+
<div class="progress progress-striped">
|
|
840
|
+
<div class="progress-bar progress-bar-warning" style="width: 60%"></div>
|
|
841
|
+
</div>
|
|
842
|
+
<div class="progress progress-striped">
|
|
843
|
+
<div class="progress-bar progress-bar-danger" style="width: 80%"></div>
|
|
844
|
+
</div>
|
|
845
|
+
</div>
|
|
846
|
+
<h3 id="Animated">Animated</h3>
|
|
847
|
+
<div>
|
|
848
|
+
<div class="progress progress-striped active">
|
|
849
|
+
<div class="progress-bar" style="width: 45%"></div>
|
|
850
|
+
</div>
|
|
851
|
+
</div>
|
|
852
|
+
<h3 id="Stacked">Stacked</h3>
|
|
853
|
+
<div>
|
|
854
|
+
<div class="progress">
|
|
855
|
+
<div class="progress-bar progress-bar-success" style="width: 35%"></div>
|
|
856
|
+
<div class="progress-bar progress-bar-warning" style="width: 20%"></div>
|
|
857
|
+
<div class="progress-bar progress-bar-danger" style="width: 10%"></div>
|
|
858
|
+
</div>
|
|
859
|
+
</div>
|
|
860
|
+
</div>
|
|
861
|
+
</div>
|
|
862
|
+
++++
|
|
863
|
+
|
|
864
|
+
== Jumbotron
|
|
865
|
+
++++
|
|
866
|
+
<div class="row margin-top-20">
|
|
867
|
+
<div class="col-lg-12">
|
|
868
|
+
<div>
|
|
869
|
+
<div class="jumbotron">
|
|
870
|
+
<h1>Jumbotron</h1>
|
|
871
|
+
<p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
|
|
872
|
+
<p><a class="btn btn-primary btn-lg">Learn more</a></p>
|
|
873
|
+
</div>
|
|
874
|
+
</div>
|
|
875
|
+
</div>
|
|
876
|
+
</div>
|
|
877
|
+
++++
|
|
878
|
+
|
|
879
|
+
== List groups
|
|
880
|
+
++++
|
|
881
|
+
<div class="row margin-top-20">
|
|
882
|
+
<div class="col-lg-4">
|
|
883
|
+
<div>
|
|
884
|
+
<ul class="list-group">
|
|
885
|
+
<li class="list-group-item">
|
|
886
|
+
<span class="badge">14</span>
|
|
887
|
+
Cras justo odio
|
|
888
|
+
</li>
|
|
889
|
+
<li class="list-group-item">
|
|
890
|
+
<span class="badge">2</span>
|
|
891
|
+
Dapibus ac facilisis in
|
|
892
|
+
</li>
|
|
893
|
+
<li class="list-group-item">
|
|
894
|
+
<span class="badge">1</span>
|
|
895
|
+
Morbi leo risus
|
|
896
|
+
</li>
|
|
897
|
+
</ul>
|
|
898
|
+
</div>
|
|
899
|
+
</div>
|
|
900
|
+
<div class="col-lg-4">
|
|
901
|
+
<div>
|
|
902
|
+
<div class="list-group">
|
|
903
|
+
<a href="javascript:void(0)" class="list-group-item active">
|
|
904
|
+
Cras justo odio
|
|
905
|
+
</a>
|
|
906
|
+
<a href="javascript:void(0)" class="list-group-item">Dapibus ac facilisis in
|
|
907
|
+
</a>
|
|
908
|
+
<a href="javascript:void(0)" class="list-group-item">Morbi leo risus
|
|
909
|
+
</a>
|
|
910
|
+
</div>
|
|
911
|
+
</div>
|
|
912
|
+
</div>
|
|
913
|
+
<div class="col-lg-4">
|
|
914
|
+
<div>
|
|
915
|
+
<div class="list-group">
|
|
916
|
+
<a href="javascript:void(0)" class="list-group-item">
|
|
917
|
+
<h4 class="notoc list-group-item-heading">List group item heading</h4>
|
|
918
|
+
<p class="list-group-item-text">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>
|
|
919
|
+
</a>
|
|
920
|
+
<a href="javascript:void(0)" class="list-group-item">
|
|
921
|
+
<h4 class="notoc list-group-item-heading">List group item heading</h4>
|
|
922
|
+
<p class="list-group-item-text">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>
|
|
923
|
+
</a>
|
|
924
|
+
</div>
|
|
925
|
+
</div>
|
|
926
|
+
</div>
|
|
927
|
+
</div>
|
|
928
|
+
++++
|
|
929
|
+
|
|
930
|
+
== Panels
|
|
931
|
+
++++
|
|
932
|
+
<div class="row margin-top-20">
|
|
933
|
+
<div class="col-lg-4">
|
|
934
|
+
<div>
|
|
935
|
+
<div class="panel panel-default">
|
|
936
|
+
<div class="panel-body">
|
|
937
|
+
Basic panel
|
|
938
|
+
</div>
|
|
939
|
+
</div>
|
|
940
|
+
<div class="panel panel-default">
|
|
941
|
+
<div class="panel-heading">Panel heading</div>
|
|
942
|
+
<div class="panel-body">
|
|
943
|
+
Panel content
|
|
944
|
+
</div>
|
|
945
|
+
</div>
|
|
946
|
+
<div class="panel panel-default">
|
|
947
|
+
<div class="panel-body">
|
|
948
|
+
Panel content
|
|
949
|
+
</div>
|
|
950
|
+
<div class="panel-footer">Panel footer</div>
|
|
951
|
+
</div>
|
|
952
|
+
</div>
|
|
953
|
+
</div>
|
|
954
|
+
<div class="col-lg-4">
|
|
955
|
+
<div>
|
|
956
|
+
<div class="panel panel-primary">
|
|
957
|
+
<div class="panel-heading">
|
|
958
|
+
<h3 class="notoc panel-title">Panel primary</h3>
|
|
959
|
+
</div>
|
|
960
|
+
<div class="panel-body">
|
|
961
|
+
Panel content
|
|
962
|
+
</div>
|
|
963
|
+
</div>
|
|
964
|
+
<div class="panel panel-success">
|
|
965
|
+
<div class="panel-heading">
|
|
966
|
+
<h3 class="notoc panel-title">Panel success</h3>
|
|
967
|
+
</div>
|
|
968
|
+
<div class="panel-body">
|
|
969
|
+
Panel content
|
|
970
|
+
</div>
|
|
971
|
+
</div>
|
|
972
|
+
<div class="panel panel-warning">
|
|
973
|
+
<div class="panel-heading">
|
|
974
|
+
<h3 class="notoc panel-title">Panel warning</h3>
|
|
975
|
+
</div>
|
|
976
|
+
<div class="panel-body">
|
|
977
|
+
Panel content
|
|
978
|
+
</div>
|
|
979
|
+
</div>
|
|
980
|
+
</div>
|
|
981
|
+
</div>
|
|
982
|
+
<div class="col-lg-4">
|
|
983
|
+
<div>
|
|
984
|
+
<div class="panel panel-danger">
|
|
985
|
+
<div class="panel-heading">
|
|
986
|
+
<h3 class="notoc panel-title">Panel danger</h3>
|
|
987
|
+
</div>
|
|
988
|
+
<div class="panel-body">
|
|
989
|
+
Panel content
|
|
990
|
+
</div>
|
|
991
|
+
</div>
|
|
992
|
+
<div class="panel panel-info">
|
|
993
|
+
<div class="panel-heading">
|
|
994
|
+
<h3 class="notoc panel-title">Panel info</h3>
|
|
995
|
+
</div>
|
|
996
|
+
<div class="panel-body">
|
|
997
|
+
Panel content
|
|
998
|
+
</div>
|
|
999
|
+
</div>
|
|
1000
|
+
</div>
|
|
1001
|
+
</div>
|
|
1002
|
+
</div>
|
|
1003
|
+
++++
|
|
1004
|
+
|
|
1005
|
+
== Wells
|
|
1006
|
+
++++
|
|
1007
|
+
<div class="row margin-top-20">
|
|
1008
|
+
<div class="col-lg-4">
|
|
1009
|
+
<div>
|
|
1010
|
+
<div class="well">
|
|
1011
|
+
Look, I'm in a well!
|
|
1012
|
+
</div>
|
|
1013
|
+
</div>
|
|
1014
|
+
</div>
|
|
1015
|
+
<div class="col-lg-4">
|
|
1016
|
+
<div>
|
|
1017
|
+
<div class="well well-sm">
|
|
1018
|
+
Look, I'm in a small well!
|
|
1019
|
+
</div>
|
|
1020
|
+
</div>
|
|
1021
|
+
</div>
|
|
1022
|
+
<div class="col-lg-4">
|
|
1023
|
+
<div>
|
|
1024
|
+
<div class="well well-lg">
|
|
1025
|
+
Look, I'm in a large well!
|
|
1026
|
+
</div>
|
|
1027
|
+
</div>
|
|
1028
|
+
</div>
|
|
1029
|
+
</div>
|
|
1030
|
+
++++
|
|
1031
|
+
|
|
1032
|
+
== Dialogs
|
|
1033
|
+
++++
|
|
1034
|
+
<!-- Dialogs
|
|
1035
|
+
================================================== -->
|
|
1036
|
+
<div class="row margin-top-20">
|
|
1037
|
+
<div class="col-lg-6">
|
|
1038
|
+
<h3 id="Modals">Modals</h3>
|
|
1039
|
+
<div class="bs-example bs-example-modal" data-example-id="static-modal">
|
|
1040
|
+
<div class="modal" role="dialog" tabindex="-1">
|
|
1041
|
+
<div class="modal-dialog" role="document">
|
|
1042
|
+
<div class="modal-content">
|
|
1043
|
+
<div class="modal-header">
|
|
1044
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
1045
|
+
<h4 class="modal-title">Modal title</h4>
|
|
1046
|
+
</div>
|
|
1047
|
+
<div class="modal-body">
|
|
1048
|
+
<p>One fine body…</p>
|
|
1049
|
+
</div>
|
|
1050
|
+
<div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <button type="button" class="btn btn-primary">Save changes</button> </div>
|
|
1051
|
+
</div>
|
|
1052
|
+
</div>
|
|
1053
|
+
</div>
|
|
1054
|
+
</div>
|
|
1055
|
+
</div>
|
|
1056
|
+
</div>
|
|
1057
|
+
++++
|
|
1058
|
+
|
|
1059
|
+
== Popovers
|
|
1060
|
+
++++
|
|
1061
|
+
<div class="row margin-top-20">
|
|
1062
|
+
<div class="col-lg-6 col-lg-offset-4">
|
|
1063
|
+
<div>
|
|
1064
|
+
<button type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="left" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Left</button>
|
|
1065
|
+
<button type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="top" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Top</button>
|
|
1066
|
+
<button type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="bottom" data-content="Vivamus
|
|
1067
|
+
sagittis lacus vel augue laoreet rutrum faucibus.">Bottom</button>
|
|
1068
|
+
<button type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="right" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Right</button>
|
|
1069
|
+
</div>
|
|
1070
|
+
</div>
|
|
1071
|
+
</div>
|
|
1072
|
+
++++
|
|
1073
|
+
|
|
1074
|
+
== Tooltips
|
|
1075
|
+
++++
|
|
1076
|
+
<div class="row margin-top-20">
|
|
1077
|
+
<div class="col-lg-6 col-lg-offset-4">
|
|
1078
|
+
<div>
|
|
1079
|
+
<button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="left" title="" data-original-title="Tooltip on left">Left</button>
|
|
1080
|
+
<button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="top" title="" data-original-title="Tooltip on top">Top</button>
|
|
1081
|
+
<button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="Tooltip on bottom">Bottom</button>
|
|
1082
|
+
<button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="right" title="" data-original-title="Tooltip on right">Right</button>
|
|
1083
|
+
</div>
|
|
1084
|
+
</div>
|
|
1085
|
+
</div>
|
|
1086
|
+
++++
|