twigg-app 0.0.1 → 0.0.2
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 +4 -4
- data/assets/javascripts/_bootstrap.js +7 -0
- data/assets/javascripts/_jquery.js +19 -0
- data/assets/javascripts/_tables.js +3 -0
- data/assets/javascripts/_views.js +10 -0
- data/assets/javascripts/application.js +9 -0
- data/{public/application.js → assets/javascripts/views/_commit_set_bar_chart.js} +32 -34
- data/assets/javascripts/views/_russia.js +61 -0
- data/assets/javascripts/views/_tags.js +56 -0
- data/assets/javascripts/views/_tags_word_cloud.js +51 -0
- data/assets/stylesheets/_bootstrap_overrides.scss +15 -0
- data/assets/stylesheets/_footer.scss +28 -0
- data/assets/stylesheets/_global.scss +14 -0
- data/assets/stylesheets/_tables.scss +20 -0
- data/assets/stylesheets/application.scss +10 -0
- data/assets/stylesheets/d3/_bar_chart.scss +25 -0
- data/assets/stylesheets/d3/_bubble_chart.scss +22 -0
- data/lib/twigg-app/app/routes.rb +4 -0
- data/lib/twigg-app/app/server.rb +78 -21
- data/lib/twigg-app/app/version.rb +1 -1
- data/public/vendor/bootstrap/Gruntfile.js +32 -10
- data/public/vendor/bootstrap/README.md +2 -0
- data/public/vendor/bootstrap/_config.yml +5 -10
- data/public/vendor/bootstrap/_includes/footer.html +2 -1
- data/public/vendor/bootstrap/_includes/nav-components.html +33 -31
- data/public/vendor/bootstrap/_includes/nav-css.html +32 -22
- data/public/vendor/bootstrap/_includes/nav-getting-started.html +17 -1
- data/public/vendor/bootstrap/_includes/nav-javascript.html +1 -1
- data/public/vendor/bootstrap/_includes/nav-main.html +1 -1
- data/public/vendor/bootstrap/_includes/social-buttons.html +1 -1
- data/public/vendor/bootstrap/_layouts/default.html +18 -14
- data/public/vendor/bootstrap/_layouts/home.html +9 -6
- data/public/vendor/bootstrap/assets/css/docs.css +584 -396
- data/public/vendor/bootstrap/assets/ico/apple-touch-icon-114-precomposed.png +0 -0
- data/public/vendor/bootstrap/assets/ico/apple-touch-icon-144-precomposed.png +0 -0
- data/public/vendor/bootstrap/assets/ico/apple-touch-icon-57-precomposed.png +0 -0
- data/public/vendor/bootstrap/assets/ico/apple-touch-icon-72-precomposed.png +0 -0
- data/public/vendor/bootstrap/assets/ico/favicon.png +0 -0
- data/public/vendor/bootstrap/assets/js/application.js +2 -1
- data/public/vendor/bootstrap/assets/js/customizer.js +160 -45
- data/public/vendor/bootstrap/assets/js/filesaver.js +169 -0
- data/public/vendor/bootstrap/assets/js/jquery.js +6 -5
- data/public/vendor/bootstrap/assets/js/raw-files.js +3 -0
- data/public/vendor/bootstrap/bower.json +1 -1
- data/public/vendor/bootstrap/components.html +787 -364
- data/public/vendor/bootstrap/composer.json +1 -1
- data/public/vendor/bootstrap/css.html +413 -248
- data/public/vendor/bootstrap/customize.html +413 -447
- data/public/vendor/bootstrap/dist/css/bootstrap-theme.css +384 -0
- data/public/vendor/bootstrap/dist/css/bootstrap-theme.min.css +1 -0
- data/public/vendor/bootstrap/dist/css/bootstrap.css +3033 -1807
- data/public/vendor/bootstrap/dist/css/bootstrap.min.css +1 -1
- data/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.eot +0 -0
- data/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.svg +228 -0
- data/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.woff +0 -0
- data/public/vendor/bootstrap/dist/js/bootstrap.js +18 -12
- data/public/vendor/bootstrap/dist/js/bootstrap.min.js +1 -1
- data/public/vendor/bootstrap/examples/carousel/carousel.css +128 -0
- data/public/vendor/bootstrap/examples/carousel/index.html +201 -0
- data/public/vendor/bootstrap/examples/grid/grid.css +28 -0
- data/public/vendor/bootstrap/examples/grid/index.html +119 -0
- data/public/vendor/bootstrap/examples/jumbotron/index.html +111 -0
- data/public/vendor/bootstrap/examples/jumbotron/jumbotron.css +5 -0
- data/public/vendor/bootstrap/examples/jumbotron-narrow/index.html +78 -0
- data/public/vendor/bootstrap/examples/jumbotron-narrow/jumbotron-narrow.css +79 -0
- data/public/vendor/bootstrap/examples/justified-nav/index.html +79 -0
- data/public/vendor/bootstrap/examples/justified-nav/justified-nav.css +88 -0
- data/public/vendor/bootstrap/examples/navbar/index.html +83 -0
- data/public/vendor/bootstrap/examples/navbar/navbar.css +7 -0
- data/public/vendor/bootstrap/examples/navbar-fixed-top/index.html +86 -0
- data/public/vendor/bootstrap/examples/navbar-fixed-top/navbar-fixed-top.css +4 -0
- data/public/vendor/bootstrap/examples/navbar-static-top/index.html +87 -0
- data/public/vendor/bootstrap/examples/navbar-static-top/navbar-static-top.css +7 -0
- data/public/vendor/bootstrap/examples/non-responsive/index.html +96 -0
- data/public/vendor/bootstrap/examples/non-responsive/non-responsive.css +117 -0
- data/public/vendor/bootstrap/examples/offcanvas/index.html +127 -0
- data/public/vendor/bootstrap/examples/offcanvas/offcanvas.css +48 -0
- data/public/vendor/bootstrap/examples/offcanvas/offcanvas.js +5 -0
- data/public/vendor/bootstrap/examples/screenshots/carousel.jpg +0 -0
- data/public/vendor/bootstrap/examples/screenshots/grid.jpg +0 -0
- data/public/vendor/bootstrap/examples/screenshots/jumbotron-narrow.jpg +0 -0
- data/public/vendor/bootstrap/examples/screenshots/jumbotron.jpg +0 -0
- data/public/vendor/bootstrap/examples/screenshots/justified-nav.jpg +0 -0
- data/public/vendor/bootstrap/examples/screenshots/navbar-fixed.jpg +0 -0
- data/public/vendor/bootstrap/examples/screenshots/navbar-static.jpg +0 -0
- data/public/vendor/bootstrap/examples/screenshots/navbar.jpg +0 -0
- data/public/vendor/bootstrap/examples/screenshots/non-responsive.jpg +0 -0
- data/public/vendor/bootstrap/examples/screenshots/offcanvas.jpg +0 -0
- data/public/vendor/bootstrap/examples/screenshots/sign-in.jpg +0 -0
- data/public/vendor/bootstrap/examples/screenshots/starter-template.jpg +0 -0
- data/public/vendor/bootstrap/examples/screenshots/sticky-footer-navbar.jpg +0 -0
- data/public/vendor/bootstrap/examples/screenshots/sticky-footer.jpg +0 -0
- data/public/vendor/bootstrap/examples/screenshots/theme.jpg +0 -0
- data/public/vendor/bootstrap/examples/signin/index.html +46 -0
- data/public/vendor/bootstrap/examples/signin/signin.css +40 -0
- data/public/vendor/bootstrap/examples/starter-template/index.html +63 -0
- data/public/vendor/bootstrap/examples/starter-template/starter-template.css +7 -0
- data/public/vendor/bootstrap/examples/sticky-footer/index.html +51 -0
- data/public/vendor/bootstrap/examples/sticky-footer/sticky-footer.css +39 -0
- data/public/vendor/bootstrap/examples/sticky-footer-navbar/index.html +86 -0
- data/public/vendor/bootstrap/examples/sticky-footer-navbar/sticky-footer-navbar.css +46 -0
- data/public/vendor/bootstrap/examples/theme/index.html +387 -0
- data/public/vendor/bootstrap/examples/theme/theme.css +14 -0
- data/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
- data/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.svg +228 -0
- data/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
- data/public/vendor/bootstrap/getting-started.html +513 -22
- data/public/vendor/bootstrap/index.html +3 -4
- data/public/vendor/bootstrap/javascript.html +123 -115
- data/public/vendor/bootstrap/js/dropdown.js +3 -3
- data/public/vendor/bootstrap/js/modal.js +5 -3
- data/public/vendor/bootstrap/js/tests/unit/modal.js +19 -0
- data/public/vendor/bootstrap/js/tests/vendor/jquery.js +6 -5
- data/public/vendor/bootstrap/js/tooltip.js +9 -5
- data/public/vendor/bootstrap/js/transition.js +1 -1
- data/public/vendor/bootstrap/less/alerts.less +7 -11
- data/public/vendor/bootstrap/less/bootstrap.less +17 -21
- data/public/vendor/bootstrap/less/button-groups.less +14 -10
- data/public/vendor/bootstrap/less/buttons.less +3 -2
- data/public/vendor/bootstrap/less/carousel.less +6 -1
- data/public/vendor/bootstrap/less/dropdowns.less +22 -5
- data/public/vendor/bootstrap/less/forms.less +36 -15
- data/public/vendor/bootstrap/less/glyphicons.less +232 -0
- data/public/vendor/bootstrap/less/grid.less +9 -3
- data/public/vendor/bootstrap/less/input-groups.less +1 -1
- data/public/vendor/bootstrap/less/jumbotron.less +16 -5
- data/public/vendor/bootstrap/less/labels.less +9 -5
- data/public/vendor/bootstrap/less/mixins.less +73 -43
- data/public/vendor/bootstrap/less/modals.less +8 -0
- data/public/vendor/bootstrap/less/navbar.less +251 -189
- data/public/vendor/bootstrap/less/navs.less +13 -12
- data/public/vendor/bootstrap/less/pager.less +1 -1
- data/public/vendor/bootstrap/less/pagination.less +20 -9
- data/public/vendor/bootstrap/less/panels.less +28 -8
- data/public/vendor/bootstrap/less/progress-bars.less +6 -10
- data/public/vendor/bootstrap/less/responsive-utilities.less +120 -49
- data/public/vendor/bootstrap/less/scaffolding.less +37 -18
- data/public/vendor/bootstrap/less/tables.less +84 -59
- data/public/vendor/bootstrap/less/theme.less +232 -0
- data/public/vendor/bootstrap/less/thumbnails.less +8 -19
- data/public/vendor/bootstrap/less/type.less +2 -2
- data/public/vendor/bootstrap/less/variables.less +63 -50
- data/public/vendor/bootstrap/package.json +2 -1
- data/public/vendor/components-backbone/LICENSE +22 -0
- data/public/vendor/components-backbone/README.md +10 -0
- data/public/vendor/components-backbone/backbone-min.js +4 -0
- data/public/vendor/components-backbone/backbone.js +1571 -0
- data/public/vendor/components-backbone/bower.json +17 -0
- data/public/vendor/components-backbone/component.json +21 -0
- data/public/vendor/components-backbone/composer.json +37 -0
- data/public/vendor/components-backbone/package.json +24 -0
- data/public/vendor/d3.layout.cloud.js +401 -0
- data/public/vendor/replacejs/CHANGELOG.md +4 -0
- data/public/vendor/replacejs/replace.js +21 -2
- data/public/vendor/underscore/CNAME +1 -0
- data/public/vendor/underscore/CONTRIBUTING.md +9 -0
- data/public/vendor/underscore/LICENSE +22 -0
- data/public/vendor/underscore/README.md +19 -0
- data/public/vendor/underscore/Rakefile +10 -0
- data/public/vendor/underscore/docs/docco.css +192 -0
- data/public/vendor/underscore/docs/favicon.ico +0 -0
- data/public/vendor/underscore/docs/images/background.png +0 -0
- data/public/vendor/underscore/docs/images/underscore.png +0 -0
- data/public/vendor/underscore/docs/underscore.html +823 -0
- data/public/vendor/underscore/favicon.ico +0 -0
- data/public/vendor/underscore/index.html +2467 -0
- data/public/vendor/underscore/index.js +1 -0
- data/public/vendor/underscore/package.json +16 -0
- data/public/vendor/underscore/test/arrays.js +200 -0
- data/public/vendor/underscore/test/chaining.js +59 -0
- data/public/vendor/underscore/test/collections.js +453 -0
- data/public/vendor/underscore/test/functions.js +265 -0
- data/public/vendor/underscore/test/index.html +44 -0
- data/public/vendor/underscore/test/objects.js +570 -0
- data/public/vendor/underscore/test/speed.js +75 -0
- data/public/vendor/underscore/test/utility.js +266 -0
- data/public/vendor/underscore/test/vendor/jquery.js +9404 -0
- data/public/vendor/underscore/test/vendor/jslitmus.js +670 -0
- data/public/vendor/underscore/test/vendor/qunit.css +235 -0
- data/public/vendor/underscore/test/vendor/qunit.js +1977 -0
- data/public/vendor/underscore/test/vendor/runner.js +98 -0
- data/public/vendor/underscore/underscore-min.js +1 -0
- data/public/vendor/underscore/underscore.js +1226 -0
- data/views/dashboard.haml +1 -1
- data/views/layout.haml +8 -4
- metadata +132 -25
- data/public/vendor/bootstrap/_layouts/customize.html +0 -52
- data/public/vendor/bootstrap/assets/js/jquery.bbq.min.js +0 -1287
- data/public/vendor/bootstrap-glyphicons/CHANGELOG.md +0 -3
- data/public/vendor/bootstrap-glyphicons/CNAME +0 -1
- data/public/vendor/bootstrap-glyphicons/CONTRIBUTING.md +0 -54
- data/public/vendor/bootstrap-glyphicons/LICENSE +0 -19
- data/public/vendor/bootstrap-glyphicons/README.md +0 -61
- data/public/vendor/bootstrap-glyphicons/_config.yml +0 -12
- data/public/vendor/bootstrap-glyphicons/composer.json +0 -9
- data/public/vendor/bootstrap-glyphicons/css/bootstrap-glyphicons.css +0 -2
- data/public/vendor/bootstrap-glyphicons/css/bootstrap.css +0 -9
- data/public/vendor/bootstrap-glyphicons/css/docs.css +0 -160
- data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.eot +0 -0
- data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.otf +0 -0
- data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.svg +0 -175
- data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.ttf +0 -0
- data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.woff +0 -0
- data/public/vendor/bootstrap-glyphicons/index.html +0 -255
- data/public/vendor/bootstrap-glyphicons/less/bootstrap-glyphicons.less +0 -201
- data/public/vendor/bootstrap-glyphicons/package.json +0 -18
|
@@ -83,6 +83,25 @@ module.exports = function(grunt) {
|
|
|
83
83
|
},
|
|
84
84
|
src: ['less/bootstrap.less'],
|
|
85
85
|
dest: 'dist/css/<%= pkg.name %>.min.css'
|
|
86
|
+
},
|
|
87
|
+
theme: {
|
|
88
|
+
src: ['less/theme.less'],
|
|
89
|
+
dest: 'dist/css/<%= pkg.name %>-theme.css'
|
|
90
|
+
},
|
|
91
|
+
theme_min: {
|
|
92
|
+
options: {
|
|
93
|
+
compress: true
|
|
94
|
+
},
|
|
95
|
+
src: ['less/theme.less'],
|
|
96
|
+
dest: 'dist/css/<%= pkg.name %>-theme.min.css'
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
|
|
100
|
+
copy: {
|
|
101
|
+
fonts: {
|
|
102
|
+
expand: true,
|
|
103
|
+
src: ["fonts/*"],
|
|
104
|
+
dest: 'dist/'
|
|
86
105
|
}
|
|
87
106
|
},
|
|
88
107
|
|
|
@@ -108,7 +127,7 @@ module.exports = function(grunt) {
|
|
|
108
127
|
|
|
109
128
|
validation: {
|
|
110
129
|
options: {
|
|
111
|
-
reset: true
|
|
130
|
+
reset: true
|
|
112
131
|
},
|
|
113
132
|
files: {
|
|
114
133
|
src: ["_gh_pages/**/*.html"]
|
|
@@ -136,6 +155,7 @@ module.exports = function(grunt) {
|
|
|
136
155
|
grunt.loadNpmTasks('grunt-contrib-clean');
|
|
137
156
|
grunt.loadNpmTasks('grunt-contrib-concat');
|
|
138
157
|
grunt.loadNpmTasks('grunt-contrib-connect');
|
|
158
|
+
grunt.loadNpmTasks('grunt-contrib-copy');
|
|
139
159
|
grunt.loadNpmTasks('grunt-contrib-jshint');
|
|
140
160
|
grunt.loadNpmTasks('grunt-contrib-qunit');
|
|
141
161
|
grunt.loadNpmTasks('grunt-contrib-uglify');
|
|
@@ -145,12 +165,11 @@ module.exports = function(grunt) {
|
|
|
145
165
|
grunt.loadNpmTasks('grunt-recess');
|
|
146
166
|
grunt.loadNpmTasks('browserstack-runner');
|
|
147
167
|
|
|
148
|
-
|
|
149
168
|
// Docs HTML validation task
|
|
150
|
-
grunt.registerTask('validate-
|
|
169
|
+
grunt.registerTask('validate-html', ['jekyll', 'validation']);
|
|
151
170
|
|
|
152
171
|
// Test task.
|
|
153
|
-
var testSubtasks = ['jshint', 'qunit', 'validate-
|
|
172
|
+
var testSubtasks = ['dist-css', 'jshint', 'qunit', 'validate-html'];
|
|
154
173
|
// Only run BrowserStack tests under Travis
|
|
155
174
|
if (process.env.TRAVIS) {
|
|
156
175
|
// Only run BrowserStack tests if this is a mainline commit in twbs/bootstrap, or you have your own BrowserStack key
|
|
@@ -166,11 +185,14 @@ module.exports = function(grunt) {
|
|
|
166
185
|
// CSS distribution task.
|
|
167
186
|
grunt.registerTask('dist-css', ['recess']);
|
|
168
187
|
|
|
188
|
+
// Fonts distribution task.
|
|
189
|
+
grunt.registerTask('dist-fonts', ['copy']);
|
|
190
|
+
|
|
169
191
|
// Full distribution task.
|
|
170
|
-
grunt.registerTask('dist', ['clean', 'dist-css', 'dist-js']);
|
|
192
|
+
grunt.registerTask('dist', ['clean', 'dist-css', 'dist-fonts', 'dist-js']);
|
|
171
193
|
|
|
172
194
|
// Default task.
|
|
173
|
-
grunt.registerTask('default', ['test', 'dist']);
|
|
195
|
+
grunt.registerTask('default', ['test', 'dist', 'build-customizer']);
|
|
174
196
|
|
|
175
197
|
// task for building customizer
|
|
176
198
|
grunt.registerTask('build-customizer', 'Add scripts/less files to customizer.', function () {
|
|
@@ -180,7 +202,7 @@ module.exports = function(grunt) {
|
|
|
180
202
|
var files = {}
|
|
181
203
|
fs.readdirSync(type)
|
|
182
204
|
.filter(function (path) {
|
|
183
|
-
return new RegExp('\\.' + type + '$').test(path)
|
|
205
|
+
return type == 'fonts' ? true : new RegExp('\\.' + type + '$').test(path)
|
|
184
206
|
})
|
|
185
207
|
.forEach(function (path) {
|
|
186
208
|
return files[path] = fs.readFileSync(type + '/' + path, 'utf8')
|
|
@@ -189,7 +211,7 @@ module.exports = function(grunt) {
|
|
|
189
211
|
}
|
|
190
212
|
|
|
191
213
|
var customize = fs.readFileSync('customize.html', 'utf-8')
|
|
192
|
-
var files =
|
|
193
|
-
fs.writeFileSync('
|
|
214
|
+
var files = getFiles('js') + getFiles('less') + getFiles('fonts')
|
|
215
|
+
fs.writeFileSync('assets/js/raw-files.js', files)
|
|
194
216
|
});
|
|
195
|
-
};
|
|
217
|
+
};
|
|
@@ -22,6 +22,8 @@ Read the [Getting Started page](http://getbootstrap.com/getting-started/) for in
|
|
|
22
22
|
|
|
23
23
|
Have a bug or a feature request? [Please open a new issue](https://github.com/twbs/bootstrap/issues). Before opening any issue, please search for existing issues and read the [Issue Guidelines](https://github.com/necolas/issue-guidelines), written by [Nicolas Gallagher](https://github.com/necolas/).
|
|
24
24
|
|
|
25
|
+
You may use [this JS Bin](http://jsbin.com/aKiCIDO/1/edit) as a template for your bug reports.
|
|
26
|
+
|
|
25
27
|
|
|
26
28
|
|
|
27
29
|
## Documentation
|
|
@@ -12,17 +12,12 @@ port: 9001
|
|
|
12
12
|
|
|
13
13
|
# Custom vars
|
|
14
14
|
repo: https://github.com/twbs/bootstrap
|
|
15
|
-
download: https://github.com/twbs/bootstrap/archive/
|
|
16
|
-
download_dist:
|
|
17
|
-
|
|
18
|
-
examples: http://examples.getbootstrap.com
|
|
19
|
-
examples_repo: https://github.com/twbs/bootstrap-examples
|
|
20
|
-
|
|
21
|
-
glyphicons: http://glyphicons.getbootstrap.com
|
|
22
|
-
glyphicons_repo: https://github.com/twbs/bootstrap-glyphicons
|
|
15
|
+
download: https://github.com/twbs/bootstrap/archive/v3.0.0.zip
|
|
16
|
+
download_dist: https://github.com/twbs/bootstrap/releases/download/v3.0.0/bootstrap-3.0.0-dist.zip
|
|
23
17
|
|
|
24
18
|
blog: http://blog.getbootstrap.com
|
|
25
19
|
expo: http://expo.getbootstrap.com
|
|
26
20
|
|
|
27
|
-
cdn_css: //netdna.bootstrapcdn.com/bootstrap/3.0.0
|
|
28
|
-
|
|
21
|
+
cdn_css: //netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css
|
|
22
|
+
cdn_theme_css: //netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-theme.min.css
|
|
23
|
+
cdn_js: //netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
<script src="{{ page.base_url }}assets/js/less.js"></script>
|
|
14
14
|
<script src="{{ page.base_url }}assets/js/jszip.js"></script>
|
|
15
15
|
<script src="{{ page.base_url }}assets/js/uglify.js"></script>
|
|
16
|
-
<script src="{{ page.base_url }}assets/js/
|
|
16
|
+
<script src="{{ page.base_url }}assets/js/filesaver.js"></script>
|
|
17
|
+
<script src="{{ page.base_url }}assets/js/raw-files.js"></script>
|
|
17
18
|
<script src="{{ page.base_url }}assets/js/customizer.js"></script>
|
|
18
19
|
{% endif %}
|
|
19
20
|
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
<li>
|
|
2
|
+
<a href="#glyphicons">Glyphicons</a>
|
|
3
|
+
<ul class="nav">
|
|
4
|
+
<li><a href="#glyphicons-glyphs">Available glyphs</a></li>
|
|
5
|
+
<li><a href="#glyphicons-how-to-use">How to use</a></li>
|
|
6
|
+
<li><a href="#glyphicons-examples">Examples</a></li>
|
|
7
|
+
</ul>
|
|
8
|
+
</li>
|
|
1
9
|
<li>
|
|
2
10
|
<a href="#dropdowns">Dropdowns</a>
|
|
3
11
|
<ul class="nav">
|
|
@@ -10,28 +18,28 @@
|
|
|
10
18
|
<li>
|
|
11
19
|
<a href="#btn-groups">Button groups</a>
|
|
12
20
|
<ul class="nav">
|
|
13
|
-
<li><a href="#btn-groups-single">Basic
|
|
21
|
+
<li><a href="#btn-groups-single">Basic example</a></li>
|
|
14
22
|
<li><a href="#btn-groups-toolbar">Button toolbar</a></li>
|
|
15
|
-
<li><a href="#btn-groups-sizing">
|
|
16
|
-
<li><a href="#btn-groups-nested">
|
|
23
|
+
<li><a href="#btn-groups-sizing">Sizing</a></li>
|
|
24
|
+
<li><a href="#btn-groups-nested">Nesting</a></li>
|
|
17
25
|
<li><a href="#btn-groups-vertical">Vertical variation</a></li>
|
|
18
|
-
<li><a href="#btn-groups-justified">Justified link
|
|
26
|
+
<li><a href="#btn-groups-justified">Justified link variation</a></li>
|
|
19
27
|
</ul>
|
|
20
28
|
</li>
|
|
21
29
|
<li>
|
|
22
30
|
<a href="#btn-dropdowns">Button dropdowns</a>
|
|
23
31
|
<ul class="nav">
|
|
24
|
-
<li><a href="#btn-dropdowns-single">Single button
|
|
25
|
-
<li><a href="#btn-dropdowns-split">Split button
|
|
26
|
-
<li><a href="#btn-dropdowns-
|
|
32
|
+
<li><a href="#btn-dropdowns-single">Single button dropdowns</a></li>
|
|
33
|
+
<li><a href="#btn-dropdowns-split">Split button dropdowns</a></li>
|
|
34
|
+
<li><a href="#btn-dropdowns-sizing">Sizing</a></li>
|
|
27
35
|
<li><a href="#btn-dropdowns-dropup">Dropup variation</a></li>
|
|
28
36
|
</ul>
|
|
29
37
|
</li>
|
|
30
38
|
<li>
|
|
31
39
|
<a href="#input-groups">Input groups</a>
|
|
32
40
|
<ul class="nav">
|
|
33
|
-
<li><a href="#input-groups-basic">Basic
|
|
34
|
-
<li><a href="#input-groups-
|
|
41
|
+
<li><a href="#input-groups-basic">Basic example</a></li>
|
|
42
|
+
<li><a href="#input-groups-sizing">Sizing</a></li>
|
|
35
43
|
<li><a href="#input-groups-checkboxes-radios">Checkbox and radios addons</a></li>
|
|
36
44
|
<li><a href="#input-groups-buttons">Button addons</a></li>
|
|
37
45
|
<li><a href="#input-groups-buttons-dropdowns">Buttons with dropdowns</a></li>
|
|
@@ -41,8 +49,8 @@
|
|
|
41
49
|
<li>
|
|
42
50
|
<a href="#nav">Navs</a>
|
|
43
51
|
<ul class="nav">
|
|
44
|
-
<li><a href="#nav-tabs">Tabs
|
|
45
|
-
<li><a href="#nav-pills">Pills
|
|
52
|
+
<li><a href="#nav-tabs">Tabs</a></li>
|
|
53
|
+
<li><a href="#nav-pills">Pills</a></li>
|
|
46
54
|
<li><a href="#nav-justified">Justified nav</a></li>
|
|
47
55
|
<li><a href="#nav-disabled-links">Disabled links</a></li>
|
|
48
56
|
<li><a href="#nav-alignment">Alignment options</a></li>
|
|
@@ -53,13 +61,13 @@
|
|
|
53
61
|
<a href="#navbar">Navbar</a>
|
|
54
62
|
<ul class="nav">
|
|
55
63
|
<li><a href="#navbar-default">Default navbar</a></li>
|
|
56
|
-
<li><a href="#navbar-buttons">Buttons
|
|
57
|
-
<li><a href="#navbar-text">Text
|
|
58
|
-
<li><a href="#navbar-links">
|
|
64
|
+
<li><a href="#navbar-buttons">Buttons</a></li>
|
|
65
|
+
<li><a href="#navbar-text">Text</a></li>
|
|
66
|
+
<li><a href="#navbar-links">Non-nav links</a></li>
|
|
59
67
|
<li><a href="#navbar-component-alignment">Component alignment</a></li>
|
|
60
|
-
<li><a href="#navbar-fixed-top">Fixed top
|
|
61
|
-
<li><a href="#navbar-fixed-bottom">Fixed bottom
|
|
62
|
-
<li><a href="#navbar-static-top">Static top
|
|
68
|
+
<li><a href="#navbar-fixed-top">Fixed to top</a></li>
|
|
69
|
+
<li><a href="#navbar-fixed-bottom">Fixed to bottom</a></li>
|
|
70
|
+
<li><a href="#navbar-static-top">Static top</a></li>
|
|
63
71
|
<li><a href="#navbar-inverted">Inverted navbar</a></li>
|
|
64
72
|
</ul>
|
|
65
73
|
</li>
|
|
@@ -73,25 +81,19 @@
|
|
|
73
81
|
</li>
|
|
74
82
|
<li><a href="#labels">Labels</a></li>
|
|
75
83
|
<li><a href="#badges">Badges</a></li>
|
|
76
|
-
<li>
|
|
77
|
-
|
|
78
|
-
<ul class="nav">
|
|
79
|
-
<li><a href="#type-components-jumbotron">Jumbotron</a></li>
|
|
80
|
-
<li><a href="#type-components-page-header">Page header</a></li>
|
|
81
|
-
</ul>
|
|
82
|
-
</li>
|
|
84
|
+
<li><a href="#jumbotron">Jumbotron</a></li>
|
|
85
|
+
<li><a href="#page-header">Page header</a></li>
|
|
83
86
|
<li>
|
|
84
87
|
<a href="#thumbnails">Thumbnails</a>
|
|
85
88
|
<ul class="nav">
|
|
86
|
-
<li><a href="#thumbnails-default">Default
|
|
89
|
+
<li><a href="#thumbnails-default">Default example</a></li>
|
|
87
90
|
<li><a href="#thumbnails-custom-content">Custom content</a></li>
|
|
88
91
|
</ul>
|
|
89
92
|
</li>
|
|
90
93
|
<li>
|
|
91
94
|
<a href="#alerts">Alerts</a>
|
|
92
95
|
<ul class="nav">
|
|
93
|
-
<li><a href="#alerts-
|
|
94
|
-
<li><a href="#alerts-alternatives">Contextual alternatives</a></li>
|
|
96
|
+
<li><a href="#alerts-examples">Examples</a></li>
|
|
95
97
|
<li><a href="#alerts-dismissable">Dismissable alerts</a></li>
|
|
96
98
|
<li><a href="#alerts-links">Links in alerts</a></li>
|
|
97
99
|
</ul>
|
|
@@ -99,7 +101,7 @@
|
|
|
99
101
|
<li>
|
|
100
102
|
<a href="#progress">Progress bars</a>
|
|
101
103
|
<ul class="nav">
|
|
102
|
-
<li><a href="#progress-basic">Basic
|
|
104
|
+
<li><a href="#progress-basic">Basic example</a></li>
|
|
103
105
|
<li><a href="#progress-alternatives">Contextual alternatives</a></li>
|
|
104
106
|
<li><a href="#progress-striped">Striped</a></li>
|
|
105
107
|
<li><a href="#progress-animated">Animated</a></li>
|
|
@@ -116,19 +118,19 @@
|
|
|
116
118
|
<li>
|
|
117
119
|
<a href="#list-group">List group</a>
|
|
118
120
|
<ul class="nav">
|
|
119
|
-
<li><a href="#list-group-basic">Basic
|
|
121
|
+
<li><a href="#list-group-basic">Basic example</a></li>
|
|
120
122
|
<li><a href="#list-group-badges">Badges</a></li>
|
|
121
123
|
<li><a href="#list-group-linked">Linked items</a></li>
|
|
122
124
|
<li><a href="#list-group-custom-content">Custom content</a></li>
|
|
123
|
-
<!-- <li><a href="#list-group-pic">Leading picture</a></li> -->
|
|
124
125
|
</ul>
|
|
125
126
|
</li>
|
|
126
127
|
<li>
|
|
127
128
|
<a href="#panels">Panels</a>
|
|
128
129
|
<ul class="nav">
|
|
129
|
-
<li><a href="#panels-basic">Basic
|
|
130
|
+
<li><a href="#panels-basic">Basic example</a></li>
|
|
130
131
|
<li><a href="#panels-heading">Panel with heading</a></li>
|
|
131
132
|
<li><a href="#panels-alternatives">Contextual alternatives</a></li>
|
|
133
|
+
<li><a href="#panels-tables">With tables</a>
|
|
132
134
|
<li><a href="#panels-list-group">With list groups</a>
|
|
133
135
|
</ul>
|
|
134
136
|
</li>
|
|
@@ -4,24 +4,22 @@
|
|
|
4
4
|
<li><a href="#overview-doctype">HTML5 doctype</a></li>
|
|
5
5
|
<li><a href="#overview-mobile">Mobile first</a></li>
|
|
6
6
|
<li><a href="#overview-responsive-images">Responsive images</a></li>
|
|
7
|
-
<li><a href="#overview-type-links">
|
|
7
|
+
<li><a href="#overview-type-links">Typography and links</a></li>
|
|
8
8
|
<li><a href="#overview-normalize">Normalize</a></li>
|
|
9
|
-
<li><a href="#overview-container">
|
|
9
|
+
<li><a href="#overview-container">Containers</a></li>
|
|
10
10
|
</ul>
|
|
11
11
|
</li>
|
|
12
|
-
<li>
|
|
13
|
-
<a href="#glyphicons">Glyphicons</a>
|
|
14
|
-
</li>
|
|
15
12
|
<li>
|
|
16
13
|
<a href="#grid">Grid system</a>
|
|
17
14
|
<ul class="nav">
|
|
18
15
|
<li><a href="#grid-media-queries">Media queries</a></li>
|
|
19
|
-
<li><a href="#grid-options">
|
|
16
|
+
<li><a href="#grid-options">Grid options</a></li>
|
|
20
17
|
<li><a href="#grid-example-basic">Ex: Stacked-to-horizonal</a></li>
|
|
21
|
-
<li><a href="#grid-example-mixed">Ex: Mobile
|
|
22
|
-
<li><a href="#grid-example-mixed-complete">Ex: Mobile, tablet,
|
|
23
|
-
<li><a href="#grid-
|
|
24
|
-
<li><a href="#grid-
|
|
18
|
+
<li><a href="#grid-example-mixed">Ex: Mobile and desktops</a></li>
|
|
19
|
+
<li><a href="#grid-example-mixed-complete">Ex: Mobile, tablet, desktops</a></li>
|
|
20
|
+
<li><a href="#grid-responsive-resets">Responsive column resets</a></li>
|
|
21
|
+
<li><a href="#grid-offsetting">Offsetting columns</a></li>
|
|
22
|
+
<li><a href="#grid-nesting">Nesting columns</a></li>
|
|
25
23
|
<li><a href="#grid-column-ordering">Column ordering</a></li>
|
|
26
24
|
<li><a href="#grid-less">LESS mixins and variables</a></li>
|
|
27
25
|
</ul>
|
|
@@ -43,21 +41,22 @@
|
|
|
43
41
|
<a href="#tables">Tables</a>
|
|
44
42
|
<ul class="nav">
|
|
45
43
|
<li><a href="#tables-example">Basic example</a></li>
|
|
46
|
-
<li><a href="#tables-striped">
|
|
47
|
-
<li><a href="#tables-bordered">Bordered
|
|
44
|
+
<li><a href="#tables-striped">Striped rows</a></li>
|
|
45
|
+
<li><a href="#tables-bordered">Bordered table</a></li>
|
|
48
46
|
<li><a href="#tables-hover-rows">Hover rows</a></li>
|
|
49
|
-
<li><a href="#tables-condensed">Condensed
|
|
50
|
-
<li><a href="#tables-
|
|
47
|
+
<li><a href="#tables-condensed">Condensed table</a></li>
|
|
48
|
+
<li><a href="#tables-contextual-classes">Contextual classes</a></li>
|
|
49
|
+
<li><a href="#tables-responsive">Responsive tables</a></li>
|
|
51
50
|
</ul>
|
|
52
51
|
</li>
|
|
53
52
|
<li>
|
|
54
53
|
<a href="#forms">Forms</a>
|
|
55
54
|
<ul class="nav">
|
|
56
55
|
<li><a href="#forms-example">Basic example</a></li>
|
|
57
|
-
<li><a href="#forms-inline">Inline
|
|
58
|
-
<li><a href="#forms-horizontal">Horizontal
|
|
56
|
+
<li><a href="#forms-inline">Inline form</a></li>
|
|
57
|
+
<li><a href="#forms-horizontal">Horizontal form</a></li>
|
|
59
58
|
<li><a href="#forms-controls">Supported controls</a></li>
|
|
60
|
-
<li><a href="#forms-controls-static">Static
|
|
59
|
+
<li><a href="#forms-controls-static">Static control</a></li>
|
|
61
60
|
<li><a href="#forms-control-states">Control states</a></li>
|
|
62
61
|
<li><a href="#forms-control-sizes">Control sizing</a></li>
|
|
63
62
|
<li><a href="#forms-help-text">Help text</a></li>
|
|
@@ -66,12 +65,23 @@
|
|
|
66
65
|
<li>
|
|
67
66
|
<a href="#buttons">Buttons</a>
|
|
68
67
|
<ul class="nav">
|
|
69
|
-
<li><a href="#buttons-options">
|
|
68
|
+
<li><a href="#buttons-options">Options</a></li>
|
|
70
69
|
<li><a href="#buttons-sizes">Sizes</a></li>
|
|
71
|
-
<li><a href="#buttons-disabled">Disabled</a></li>
|
|
70
|
+
<li><a href="#buttons-disabled">Disabled state</a></li>
|
|
72
71
|
<li><a href="#buttons-tags">Button tags</a></li>
|
|
73
72
|
</ul>
|
|
74
73
|
</li>
|
|
75
|
-
<li
|
|
76
|
-
<
|
|
77
|
-
|
|
74
|
+
<li>
|
|
75
|
+
<a href="#images">Images</a>
|
|
76
|
+
</li>
|
|
77
|
+
<li>
|
|
78
|
+
<a href="#helper-classes">Helper classes</a>
|
|
79
|
+
</li>
|
|
80
|
+
<li>
|
|
81
|
+
<a href="#responsive-utilities">Responsive utilities</a>
|
|
82
|
+
<ul class="nav">
|
|
83
|
+
<li><a href="#responsive-utilities-classes">Available classes</a></li>
|
|
84
|
+
<li><a href="#responsive-utilities-print">Print classes</a></li>
|
|
85
|
+
<li><a href="#responsive-utilities-tests">Test cases</a></li>
|
|
86
|
+
</ul>
|
|
87
|
+
</li>
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<li>
|
|
2
2
|
<a href="#download">Download Bootstrap</a>
|
|
3
3
|
<ul class="nav">
|
|
4
|
-
<li><a href="#download-
|
|
4
|
+
<li><a href="#download-compiled">Compiled CSS, JS, and fonts</a></li>
|
|
5
|
+
<li><a href="#download-additional">Additional downloads</a></li>
|
|
5
6
|
<li><a href="#download-cdn">Bootstrap CDN</a></li>
|
|
6
7
|
</ul>
|
|
7
8
|
</li>
|
|
@@ -11,6 +12,21 @@
|
|
|
11
12
|
<li>
|
|
12
13
|
<a href="#template">Basic template</a>
|
|
13
14
|
</li>
|
|
15
|
+
<li>
|
|
16
|
+
<a href="#examples">Examples</a>
|
|
17
|
+
</li>
|
|
18
|
+
<li>
|
|
19
|
+
<a href="#disable-responsive">Disabling responsiveness</a>
|
|
20
|
+
</li>
|
|
21
|
+
<li>
|
|
22
|
+
<a href="#migration">Migrating from 2.x to 3.0</a>
|
|
23
|
+
<ul class="nav">
|
|
24
|
+
<li><a href="#migration-classes">Major class changes</a></li>
|
|
25
|
+
<li><a href="#migration-new">What's new</a></li>
|
|
26
|
+
<li><a href="#migration-dropped">What's removed</a></li>
|
|
27
|
+
<li><a href="#migration-notes">Additional notes</a></li>
|
|
28
|
+
</ul>
|
|
29
|
+
</li>
|
|
14
30
|
<li>
|
|
15
31
|
<a href="#browsers">Browser support</a>
|
|
16
32
|
</li>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<li><a href="#js-individual-compiled">Individual or compiled</a></li>
|
|
5
5
|
<li><a href="#js-data-attrs">Data attributes</a></li>
|
|
6
6
|
<li><a href="#js-programmatic-api">Programmatic API</a></li>
|
|
7
|
-
<li><a href="#js-noconflict">No
|
|
7
|
+
<li><a href="#js-noconflict">No conflict</a></li>
|
|
8
8
|
<li><a href="#js-events">Events</a></li>
|
|
9
9
|
</ul>
|
|
10
10
|
</li>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<span class="icon-bar"></span>
|
|
8
8
|
<span class="icon-bar"></span>
|
|
9
9
|
</button>
|
|
10
|
-
<a href="{{ page.base_url }}" class="navbar-brand">Bootstrap
|
|
10
|
+
<a href="{{ page.base_url }}" class="navbar-brand">Bootstrap</a>
|
|
11
11
|
</div>
|
|
12
12
|
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
|
|
13
13
|
<ul class="nav navbar-nav">
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<a href="https://twitter.com/twbootstrap" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">Follow @twbootstrap</a>
|
|
11
11
|
</li>
|
|
12
12
|
<li class="tweet-btn">
|
|
13
|
-
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://
|
|
13
|
+
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://getbootstrap.com/" data-count="horizontal" data-via="twbootstrap" data-related="mdo:Creator of Twitter Bootstrap">Tweet</a>
|
|
14
14
|
</li>
|
|
15
15
|
</ul>
|
|
16
16
|
</div>
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<div class="container bs-docs-container">
|
|
27
27
|
<div class="row">
|
|
28
28
|
<div class="col-md-3">
|
|
29
|
-
<
|
|
29
|
+
<div class="bs-sidebar hidden-print" role="complementary">
|
|
30
30
|
<ul class="nav bs-sidenav">
|
|
31
31
|
{% if page.slug == "getting-started" %}
|
|
32
32
|
{% include nav-getting-started.html %}
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
{% include nav-customize.html %}
|
|
41
41
|
{% endif %}
|
|
42
42
|
</ul>
|
|
43
|
-
</
|
|
43
|
+
</div>
|
|
44
44
|
</div>
|
|
45
|
-
<
|
|
45
|
+
<div class="col-md-9" role="main">
|
|
46
46
|
{{ content }}
|
|
47
|
-
</
|
|
47
|
+
</div>
|
|
48
48
|
</div>
|
|
49
49
|
|
|
50
50
|
</div>
|
|
@@ -52,17 +52,21 @@
|
|
|
52
52
|
<!-- Footer
|
|
53
53
|
================================================== -->
|
|
54
54
|
<footer class="bs-footer" role="contentinfo">
|
|
55
|
-
|
|
55
|
+
<div class="container">
|
|
56
|
+
{% include social-buttons.html %}
|
|
56
57
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
58
|
+
<p>Designed and built with all the love in the world by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p>
|
|
59
|
+
<p>Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
|
|
60
|
+
<ul class="footer-links">
|
|
61
|
+
<li><a href="{{ page.base_url }}2.3.2/">Bootstrap 2.3.2 docs</a></li>
|
|
62
|
+
<li class="muted">·</li>
|
|
63
|
+
<li><a href="{{ site.blog }}">Blog</a></li>
|
|
64
|
+
<li class="muted">·</li>
|
|
65
|
+
<li><a href="{{ site.repo }}/issues?state=open">Issues</a></li>
|
|
66
|
+
<li class="muted">·</li>
|
|
67
|
+
<li><a href="{{ site.repo }}/releases">Releases</a></li>
|
|
68
|
+
</ul>
|
|
69
|
+
</div>
|
|
66
70
|
</footer>
|
|
67
71
|
|
|
68
72
|
<!-- JS and analytics only. -->
|
|
@@ -14,24 +14,27 @@
|
|
|
14
14
|
<!-- Page content of course! -->
|
|
15
15
|
{{ content }}
|
|
16
16
|
|
|
17
|
-
<!-- Callout for the old docs link -->
|
|
18
|
-
{% include old-bs-docs.html %}
|
|
19
|
-
|
|
20
17
|
<footer class="container" role="contentinfo">
|
|
21
18
|
{% include social-buttons.html %}
|
|
22
19
|
|
|
23
20
|
<ul class="bs-masthead-links">
|
|
21
|
+
<li class="current-version">
|
|
22
|
+
Currently v3.0.0
|
|
23
|
+
</li>
|
|
24
|
+
<li>
|
|
25
|
+
<a href="{{ page.base_url }}2.3.2/">Bootstrap 2.3.2 docs</a>
|
|
26
|
+
</li>
|
|
24
27
|
<li>
|
|
25
28
|
<a href="{{ site.repo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);">GitHub project</a>
|
|
26
29
|
</li>
|
|
27
30
|
<li>
|
|
28
|
-
<a href="{{
|
|
31
|
+
<a href="{{ page.base_url }}getting-started/#examples" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a>
|
|
29
32
|
</li>
|
|
30
33
|
<li>
|
|
31
|
-
<a href="{{
|
|
34
|
+
<a href="{{ page.base_url }}components/#glyphicons" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Glyphicons']);">Glyphicons</a>
|
|
32
35
|
</li>
|
|
33
36
|
<li>
|
|
34
|
-
<a href="{{ site.expo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Expo']);">
|
|
37
|
+
<a href="{{ site.expo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Expo']);">Expo</a>
|
|
35
38
|
</li>
|
|
36
39
|
</ul>
|
|
37
40
|
</footer>
|