bootstrapped-rails 1.1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.DS_Store +0 -0
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/Rakefile +1 -0
- data/bootstrapped-rails.gemspec +24 -0
- data/lib/.DS_Store +0 -0
- data/lib/bootstrapped-rails.rb +11 -0
- data/lib/bootstrapped-rails/.DS_Store +0 -0
- data/lib/bootstrapped-rails/engine.rb +6 -0
- data/lib/bootstrapped-rails/ie_hex_str.rb +16 -0
- data/lib/bootstrapped-rails/railtie.rb +6 -0
- data/lib/bootstrapped-rails/version.rb +5 -0
- data/vendor/.DS_Store +0 -0
- data/vendor/images/.DS_Store +0 -0
- data/vendor/images/glyphicons-halflings-white.png +0 -0
- data/vendor/images/glyphicons-halflings.png +0 -0
- data/vendor/javascripts/.DS_Store +0 -0
- data/vendor/javascripts/bootstrapped.js +1 -0
- data/vendor/javascripts/bootstrapped/.DS_Store +0 -0
- data/vendor/javascripts/bootstrapped/bootstrap-alert.js +91 -0
- data/vendor/javascripts/bootstrapped/bootstrap-button.js +98 -0
- data/vendor/javascripts/bootstrapped/bootstrap-carousel.js +154 -0
- data/vendor/javascripts/bootstrapped/bootstrap-collapse.js +136 -0
- data/vendor/javascripts/bootstrapped/bootstrap-dropdown.js +92 -0
- data/vendor/javascripts/bootstrapped/bootstrap-modal.js +209 -0
- data/vendor/javascripts/bootstrapped/bootstrap-popover.js +95 -0
- data/vendor/javascripts/bootstrapped/bootstrap-scrollspy.js +125 -0
- data/vendor/javascripts/bootstrapped/bootstrap-tab.js +130 -0
- data/vendor/javascripts/bootstrapped/bootstrap-tooltip.js +270 -0
- data/vendor/javascripts/bootstrapped/bootstrap-transition.js +51 -0
- data/vendor/javascripts/bootstrapped/bootstrap-typeahead.js +271 -0
- data/vendor/stylesheets/.DS_Store +0 -0
- data/vendor/stylesheets/bootstrapped-rails.css +3 -0
- data/vendor/stylesheets/bootstrapped/.DS_Store +0 -0
- data/vendor/stylesheets/bootstrapped/accordion.scss +28 -0
- data/vendor/stylesheets/bootstrapped/alerts.scss +70 -0
- data/vendor/stylesheets/bootstrapped/bootstrap.scss +62 -0
- data/vendor/stylesheets/bootstrapped/breadcrumbs.scss +22 -0
- data/vendor/stylesheets/bootstrapped/button-groups.scss +147 -0
- data/vendor/stylesheets/bootstrapped/buttons.scss +183 -0
- data/vendor/stylesheets/bootstrapped/carousel.scss +121 -0
- data/vendor/stylesheets/bootstrapped/close.scss +18 -0
- data/vendor/stylesheets/bootstrapped/code.scss +44 -0
- data/vendor/stylesheets/bootstrapped/component-animations.scss +18 -0
- data/vendor/stylesheets/bootstrapped/dropdowns.scss +131 -0
- data/vendor/stylesheets/bootstrapped/forms.scss +516 -0
- data/vendor/stylesheets/bootstrapped/grid.scss +8 -0
- data/vendor/stylesheets/bootstrapped/hero-unit.scss +20 -0
- data/vendor/stylesheets/bootstrapped/labels.scss +16 -0
- data/vendor/stylesheets/bootstrapped/layouts.scss +17 -0
- data/vendor/stylesheets/bootstrapped/mixins.scss +511 -0
- data/vendor/stylesheets/bootstrapped/modals.scss +72 -0
- data/vendor/stylesheets/bootstrapped/navbar.scss +292 -0
- data/vendor/stylesheets/bootstrapped/navs.scss +344 -0
- data/vendor/stylesheets/bootstrapped/pager.scss +30 -0
- data/vendor/stylesheets/bootstrapped/pagination.scss +55 -0
- data/vendor/stylesheets/bootstrapped/popovers.scss +49 -0
- data/vendor/stylesheets/bootstrapped/progress-bars.scss +95 -0
- data/vendor/stylesheets/bootstrapped/reset.scss +126 -0
- data/vendor/stylesheets/bootstrapped/responsive.scss +323 -0
- data/vendor/stylesheets/bootstrapped/scaffolding.scss +29 -0
- data/vendor/stylesheets/bootstrapped/sprites.scss +158 -0
- data/vendor/stylesheets/bootstrapped/tables.scss +130 -0
- data/vendor/stylesheets/bootstrapped/thumbnails.scss +35 -0
- data/vendor/stylesheets/bootstrapped/tooltip.scss +35 -0
- data/vendor/stylesheets/bootstrapped/type.scss +217 -0
- data/vendor/stylesheets/bootstrapped/utilities.scss +23 -0
- data/vendor/stylesheets/bootstrapped/variables.scss +99 -0
- data/vendor/stylesheets/bootstrapped/wells.scss +17 -0
- data/vendor/twitter/.gitignore +33 -0
- data/vendor/twitter/LICENSE +13 -0
- data/vendor/twitter/Makefile +59 -0
- data/vendor/twitter/README.md +94 -0
- data/vendor/twitter/docs/assets/bootstrap.zip +0 -0
- data/vendor/twitter/docs/assets/css/bootstrap-responsive.css +567 -0
- data/vendor/twitter/docs/assets/css/bootstrap.css +3365 -0
- data/vendor/twitter/docs/assets/css/docs.css +790 -0
- data/vendor/twitter/docs/assets/ico/bootstrap-apple-114x114.png +0 -0
- data/vendor/twitter/docs/assets/ico/bootstrap-apple-57x57.png +0 -0
- data/vendor/twitter/docs/assets/ico/bootstrap-apple-72x72.png +0 -0
- data/vendor/twitter/docs/assets/ico/favicon.ico +0 -0
- data/vendor/twitter/docs/assets/img/bird.png +0 -0
- data/vendor/twitter/docs/assets/img/bootstrap-mdo-sfmoma-01.jpg +0 -0
- data/vendor/twitter/docs/assets/img/bootstrap-mdo-sfmoma-02.jpg +0 -0
- data/vendor/twitter/docs/assets/img/bootstrap-mdo-sfmoma-03.jpg +0 -0
- data/vendor/twitter/docs/assets/img/browsers.png +0 -0
- data/vendor/twitter/docs/assets/img/example-diagram-01.png +0 -0
- data/vendor/twitter/docs/assets/img/example-diagram-02.png +0 -0
- data/vendor/twitter/docs/assets/img/example-diagram-03.png +0 -0
- data/vendor/twitter/docs/assets/img/example-sites/bartop.png +0 -0
- data/vendor/twitter/docs/assets/img/example-sites/fleetio.png +0 -0
- data/vendor/twitter/docs/assets/img/example-sites/jshint.png +0 -0
- data/vendor/twitter/docs/assets/img/example-sites/kippt.png +0 -0
- data/vendor/twitter/docs/assets/img/example-sites/railwayjs.png +0 -0
- data/vendor/twitter/docs/assets/img/example-sites/totalwireframe.png +0 -0
- data/vendor/twitter/docs/assets/img/examples/bootstrap-example-fluid.jpg +0 -0
- data/vendor/twitter/docs/assets/img/examples/bootstrap-example-hero.jpg +0 -0
- data/vendor/twitter/docs/assets/img/examples/bootstrap-example-starter.jpg +0 -0
- data/vendor/twitter/docs/assets/img/github-16px.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons-halflings-white.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons-halflings.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_009_magic.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_042_group.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_079_podium.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_082_roundabout.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_155_show_thumbnails.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_163_iphone.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_214_resize_small.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_266_book_open.png +0 -0
- data/vendor/twitter/docs/assets/img/grid-18px-masked.png +0 -0
- data/vendor/twitter/docs/assets/img/icon-css3.png +0 -0
- data/vendor/twitter/docs/assets/img/icon-github.png +0 -0
- data/vendor/twitter/docs/assets/img/icon-html5.png +0 -0
- data/vendor/twitter/docs/assets/img/icon-twitter.png +0 -0
- data/vendor/twitter/docs/assets/img/less-logo-large.png +0 -0
- data/vendor/twitter/docs/assets/img/less-small.png +0 -0
- data/vendor/twitter/docs/assets/img/responsive-illustrations.png +0 -0
- data/vendor/twitter/docs/assets/js/README.md +106 -0
- data/vendor/twitter/docs/assets/js/application.js +180 -0
- data/vendor/twitter/docs/assets/js/bootstrap-alert.js +91 -0
- data/vendor/twitter/docs/assets/js/bootstrap-button.js +98 -0
- data/vendor/twitter/docs/assets/js/bootstrap-carousel.js +154 -0
- data/vendor/twitter/docs/assets/js/bootstrap-collapse.js +136 -0
- data/vendor/twitter/docs/assets/js/bootstrap-dropdown.js +92 -0
- data/vendor/twitter/docs/assets/js/bootstrap-modal.js +209 -0
- data/vendor/twitter/docs/assets/js/bootstrap-popover.js +95 -0
- data/vendor/twitter/docs/assets/js/bootstrap-scrollspy.js +125 -0
- data/vendor/twitter/docs/assets/js/bootstrap-tab.js +130 -0
- data/vendor/twitter/docs/assets/js/bootstrap-tooltip.js +270 -0
- data/vendor/twitter/docs/assets/js/bootstrap-transition.js +51 -0
- data/vendor/twitter/docs/assets/js/bootstrap-typeahead.js +271 -0
- data/vendor/twitter/docs/assets/js/google-code-prettify/prettify.css +30 -0
- data/vendor/twitter/docs/assets/js/google-code-prettify/prettify.js +28 -0
- data/vendor/twitter/docs/assets/js/jquery.js +9252 -0
- data/vendor/twitter/docs/base-css.html +1582 -0
- data/vendor/twitter/docs/build/index.js +33 -0
- data/vendor/twitter/docs/build/node_modules/.bin/hulk +93 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/.git_ignore +1 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/.gitmodules +3 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/LICENSE +177 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/Makefile +62 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/README.md +93 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/bin/hulk +93 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/lib/compiler.js +348 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/lib/hogan.js +20 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/lib/template.js +233 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/package.json +20 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/html/list.html +8 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/index.html +13 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/index.js +848 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/mustache.js +90 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec.js +77 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/Changes +31 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/README.md +65 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/Rakefile +27 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/TESTING.md +46 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/comments.json +1 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/comments.yml +103 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.json +1 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.yml +158 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.json +1 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.yml +230 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/inverted.json +1 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/inverted.yml +193 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/partials.json +1 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/partials.yml +109 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/sections.json +1 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/sections.yml +256 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.json +1 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.yml +149 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/templates/list.mustache +8 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/tools/release.js +74 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/tools/web_templates.js +32 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/1.0.0/hogan.js +500 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/1.0.0/hogan.min.js +14 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.js +500 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.min.js +14 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.js +545 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.min.js +5 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.amd.js +576 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.common.js +576 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.js +572 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.amd.js +5 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.common.js +5 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.js +5 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.mustache.js +5 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.mustache.js +619 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.js +233 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.min.js +5 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/favicon.ico +0 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/images/logo.png +0 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/images/noise.png +0 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/images/small-hogan-icon.png +0 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/images/stripes.png +0 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/index.html.mustache +139 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/stylesheets/layout.css +206 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/stylesheets/skeleton.css +236 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/wrappers/amd.js.mustache +21 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/wrappers/common.js.mustache +21 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/wrappers/js.mustache +17 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/wrappers/mustache.js.mustache +64 -0
- data/vendor/twitter/docs/build/package.json +6 -0
- data/vendor/twitter/docs/components.html +1517 -0
- data/vendor/twitter/docs/download.html +362 -0
- data/vendor/twitter/docs/examples.html +145 -0
- data/vendor/twitter/docs/examples/fluid.html +150 -0
- data/vendor/twitter/docs/examples/hero.html +107 -0
- data/vendor/twitter/docs/examples/starter-template.html +77 -0
- data/vendor/twitter/docs/index.html +249 -0
- data/vendor/twitter/docs/javascript.html +1465 -0
- data/vendor/twitter/docs/less.html +795 -0
- data/vendor/twitter/docs/scaffolding.html +438 -0
- data/vendor/twitter/docs/templates/layout.mustache +132 -0
- data/vendor/twitter/docs/templates/pages/base-css.mustache +1468 -0
- data/vendor/twitter/docs/templates/pages/components.mustache +1403 -0
- data/vendor/twitter/docs/templates/pages/download.mustache +248 -0
- data/vendor/twitter/docs/templates/pages/examples.mustache +31 -0
- data/vendor/twitter/docs/templates/pages/index.mustache +136 -0
- data/vendor/twitter/docs/templates/pages/javascript.mustache +1352 -0
- data/vendor/twitter/docs/templates/pages/less.mustache +681 -0
- data/vendor/twitter/docs/templates/pages/scaffolding.mustache +324 -0
- data/vendor/twitter/docs/templates/pages/upgrading.mustache +183 -0
- data/vendor/twitter/docs/upgrading.html +297 -0
- data/vendor/twitter/img/glyphicons-halflings-white.png +0 -0
- data/vendor/twitter/img/glyphicons-halflings.png +0 -0
- data/vendor/twitter/js/README.md +106 -0
- data/vendor/twitter/js/bootstrap-alert.js +91 -0
- data/vendor/twitter/js/bootstrap-button.js +98 -0
- data/vendor/twitter/js/bootstrap-carousel.js +154 -0
- data/vendor/twitter/js/bootstrap-collapse.js +136 -0
- data/vendor/twitter/js/bootstrap-dropdown.js +92 -0
- data/vendor/twitter/js/bootstrap-modal.js +209 -0
- data/vendor/twitter/js/bootstrap-popover.js +95 -0
- data/vendor/twitter/js/bootstrap-scrollspy.js +125 -0
- data/vendor/twitter/js/bootstrap-tab.js +130 -0
- data/vendor/twitter/js/bootstrap-tooltip.js +270 -0
- data/vendor/twitter/js/bootstrap-transition.js +51 -0
- data/vendor/twitter/js/bootstrap-typeahead.js +271 -0
- data/vendor/twitter/js/tests/index.html +49 -0
- data/vendor/twitter/js/tests/unit/bootstrap-alert.js +41 -0
- data/vendor/twitter/js/tests/unit/bootstrap-button.js +54 -0
- data/vendor/twitter/js/tests/unit/bootstrap-collapse.js +25 -0
- data/vendor/twitter/js/tests/unit/bootstrap-dropdown.js +53 -0
- data/vendor/twitter/js/tests/unit/bootstrap-modal.js +85 -0
- data/vendor/twitter/js/tests/unit/bootstrap-popover.js +93 -0
- data/vendor/twitter/js/tests/unit/bootstrap-scrollspy.js +31 -0
- data/vendor/twitter/js/tests/unit/bootstrap-tab.js +45 -0
- data/vendor/twitter/js/tests/unit/bootstrap-tooltip.js +62 -0
- data/vendor/twitter/js/tests/unit/bootstrap-transition.js +13 -0
- data/vendor/twitter/js/tests/unit/bootstrap-typeahead.js +128 -0
- data/vendor/twitter/js/tests/vendor/jquery.js +9252 -0
- data/vendor/twitter/js/tests/vendor/qunit.css +232 -0
- data/vendor/twitter/js/tests/vendor/qunit.js +1510 -0
- data/vendor/twitter/scss/accordion.scss +28 -0
- data/vendor/twitter/scss/alerts.scss +70 -0
- data/vendor/twitter/scss/bootstrap.scss +62 -0
- data/vendor/twitter/scss/breadcrumbs.scss +22 -0
- data/vendor/twitter/scss/button-groups.scss +147 -0
- data/vendor/twitter/scss/buttons.scss +168 -0
- data/vendor/twitter/scss/carousel.scss +121 -0
- data/vendor/twitter/scss/close.scss +18 -0
- data/vendor/twitter/scss/code.scss +44 -0
- data/vendor/twitter/scss/component-animations.scss +18 -0
- data/vendor/twitter/scss/dropdowns.scss +131 -0
- data/vendor/twitter/scss/forms.scss +516 -0
- data/vendor/twitter/scss/grid.scss +8 -0
- data/vendor/twitter/scss/hero-unit.scss +20 -0
- data/vendor/twitter/scss/labels.scss +16 -0
- data/vendor/twitter/scss/layouts.scss +17 -0
- data/vendor/twitter/scss/mixins.scss +500 -0
- data/vendor/twitter/scss/modals.scss +72 -0
- data/vendor/twitter/scss/navbar.scss +292 -0
- data/vendor/twitter/scss/navs.scss +344 -0
- data/vendor/twitter/scss/pager.scss +30 -0
- data/vendor/twitter/scss/pagination.scss +55 -0
- data/vendor/twitter/scss/popovers.scss +49 -0
- data/vendor/twitter/scss/progress-bars.scss +95 -0
- data/vendor/twitter/scss/reset.scss +126 -0
- data/vendor/twitter/scss/responsive.scss +323 -0
- data/vendor/twitter/scss/scaffolding.scss +29 -0
- data/vendor/twitter/scss/sprites.scss +158 -0
- data/vendor/twitter/scss/tables.scss +130 -0
- data/vendor/twitter/scss/thumbnails.scss +35 -0
- data/vendor/twitter/scss/tooltip.scss +35 -0
- data/vendor/twitter/scss/type.scss +217 -0
- data/vendor/twitter/scss/utilities.scss +23 -0
- data/vendor/twitter/scss/variables.scss +99 -0
- data/vendor/twitter/scss/wells.scss +17 -0
- metadata +368 -0
@@ -0,0 +1,136 @@
|
|
1
|
+
/* =============================================================
|
2
|
+
* bootstrap-collapse.js v2.0.0
|
3
|
+
* http://twitter.github.com/bootstrap/javascript.html#collapse
|
4
|
+
* =============================================================
|
5
|
+
* Copyright 2012 Twitter, Inc.
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
* ============================================================ */
|
19
|
+
|
20
|
+
!function( $ ){
|
21
|
+
|
22
|
+
"use strict"
|
23
|
+
|
24
|
+
var Collapse = function ( element, options ) {
|
25
|
+
this.$element = $(element)
|
26
|
+
this.options = $.extend({}, $.fn.collapse.defaults, options)
|
27
|
+
|
28
|
+
if (this.options["parent"]) {
|
29
|
+
this.$parent = $(this.options["parent"])
|
30
|
+
}
|
31
|
+
|
32
|
+
this.options.toggle && this.toggle()
|
33
|
+
}
|
34
|
+
|
35
|
+
Collapse.prototype = {
|
36
|
+
|
37
|
+
constructor: Collapse
|
38
|
+
|
39
|
+
, dimension: function () {
|
40
|
+
var hasWidth = this.$element.hasClass('width')
|
41
|
+
return hasWidth ? 'width' : 'height'
|
42
|
+
}
|
43
|
+
|
44
|
+
, show: function () {
|
45
|
+
var dimension = this.dimension()
|
46
|
+
, scroll = $.camelCase(['scroll', dimension].join('-'))
|
47
|
+
, actives = this.$parent && this.$parent.find('.in')
|
48
|
+
, hasData
|
49
|
+
|
50
|
+
if (actives && actives.length) {
|
51
|
+
hasData = actives.data('collapse')
|
52
|
+
actives.collapse('hide')
|
53
|
+
hasData || actives.data('collapse', null)
|
54
|
+
}
|
55
|
+
|
56
|
+
this.$element[dimension](0)
|
57
|
+
this.transition('addClass', 'show', 'shown')
|
58
|
+
this.$element[dimension](this.$element[0][scroll])
|
59
|
+
|
60
|
+
}
|
61
|
+
|
62
|
+
, hide: function () {
|
63
|
+
var dimension = this.dimension()
|
64
|
+
this.reset(this.$element[dimension]())
|
65
|
+
this.transition('removeClass', 'hide', 'hidden')
|
66
|
+
this.$element[dimension](0)
|
67
|
+
}
|
68
|
+
|
69
|
+
, reset: function ( size ) {
|
70
|
+
var dimension = this.dimension()
|
71
|
+
|
72
|
+
this.$element
|
73
|
+
.removeClass('collapse')
|
74
|
+
[dimension](size || 'auto')
|
75
|
+
[0].offsetWidth
|
76
|
+
|
77
|
+
this.$element.addClass('collapse')
|
78
|
+
}
|
79
|
+
|
80
|
+
, transition: function ( method, startEvent, completeEvent ) {
|
81
|
+
var that = this
|
82
|
+
, complete = function () {
|
83
|
+
if (startEvent == 'show') that.reset()
|
84
|
+
that.$element.trigger(completeEvent)
|
85
|
+
}
|
86
|
+
|
87
|
+
this.$element
|
88
|
+
.trigger(startEvent)
|
89
|
+
[method]('in')
|
90
|
+
|
91
|
+
$.support.transition && this.$element.hasClass('collapse') ?
|
92
|
+
this.$element.one($.support.transition.end, complete) :
|
93
|
+
complete()
|
94
|
+
}
|
95
|
+
|
96
|
+
, toggle: function () {
|
97
|
+
this[this.$element.hasClass('in') ? 'hide' : 'show']()
|
98
|
+
}
|
99
|
+
|
100
|
+
}
|
101
|
+
|
102
|
+
/* COLLAPSIBLE PLUGIN DEFINITION
|
103
|
+
* ============================== */
|
104
|
+
|
105
|
+
$.fn.collapse = function ( option ) {
|
106
|
+
return this.each(function () {
|
107
|
+
var $this = $(this)
|
108
|
+
, data = $this.data('collapse')
|
109
|
+
, options = typeof option == 'object' && option
|
110
|
+
if (!data) $this.data('collapse', (data = new Collapse(this, options)))
|
111
|
+
if (typeof option == 'string') data[option]()
|
112
|
+
})
|
113
|
+
}
|
114
|
+
|
115
|
+
$.fn.collapse.defaults = {
|
116
|
+
toggle: true
|
117
|
+
}
|
118
|
+
|
119
|
+
$.fn.collapse.Constructor = Collapse
|
120
|
+
|
121
|
+
|
122
|
+
/* COLLAPSIBLE DATA-API
|
123
|
+
* ==================== */
|
124
|
+
|
125
|
+
$(function () {
|
126
|
+
$('body').on('click.collapse.data-api', '[data-toggle=collapse]', function ( e ) {
|
127
|
+
var $this = $(this), href
|
128
|
+
, target = $this.attr('data-target')
|
129
|
+
|| e.preventDefault()
|
130
|
+
|| (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
|
131
|
+
, option = $(target).data('collapse') ? 'toggle' : $this.data()
|
132
|
+
$(target).collapse(option)
|
133
|
+
})
|
134
|
+
})
|
135
|
+
|
136
|
+
}( window.jQuery )
|
@@ -0,0 +1,92 @@
|
|
1
|
+
/* ============================================================
|
2
|
+
* bootstrap-dropdown.js v2.0.0
|
3
|
+
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
|
4
|
+
* ============================================================
|
5
|
+
* Copyright 2012 Twitter, Inc.
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
* ============================================================ */
|
19
|
+
|
20
|
+
|
21
|
+
!function( $ ){
|
22
|
+
|
23
|
+
"use strict"
|
24
|
+
|
25
|
+
/* DROPDOWN CLASS DEFINITION
|
26
|
+
* ========================= */
|
27
|
+
|
28
|
+
var toggle = '[data-toggle="dropdown"]'
|
29
|
+
, Dropdown = function ( element ) {
|
30
|
+
var $el = $(element).on('click.dropdown.data-api', this.toggle)
|
31
|
+
$('html').on('click.dropdown.data-api', function () {
|
32
|
+
$el.parent().removeClass('open')
|
33
|
+
})
|
34
|
+
}
|
35
|
+
|
36
|
+
Dropdown.prototype = {
|
37
|
+
|
38
|
+
constructor: Dropdown
|
39
|
+
|
40
|
+
, toggle: function ( e ) {
|
41
|
+
var $this = $(this)
|
42
|
+
, selector = $this.attr('data-target')
|
43
|
+
, $parent
|
44
|
+
, isActive
|
45
|
+
|
46
|
+
if (!selector) {
|
47
|
+
selector = $this.attr('href')
|
48
|
+
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
49
|
+
}
|
50
|
+
|
51
|
+
$parent = $(selector)
|
52
|
+
$parent.length || ($parent = $this.parent())
|
53
|
+
|
54
|
+
isActive = $parent.hasClass('open')
|
55
|
+
|
56
|
+
clearMenus()
|
57
|
+
!isActive && $parent.toggleClass('open')
|
58
|
+
|
59
|
+
return false
|
60
|
+
}
|
61
|
+
|
62
|
+
}
|
63
|
+
|
64
|
+
function clearMenus() {
|
65
|
+
$(toggle).parent().removeClass('open')
|
66
|
+
}
|
67
|
+
|
68
|
+
|
69
|
+
/* DROPDOWN PLUGIN DEFINITION
|
70
|
+
* ========================== */
|
71
|
+
|
72
|
+
$.fn.dropdown = function ( option ) {
|
73
|
+
return this.each(function () {
|
74
|
+
var $this = $(this)
|
75
|
+
, data = $this.data('dropdown')
|
76
|
+
if (!data) $this.data('dropdown', (data = new Dropdown(this)))
|
77
|
+
if (typeof option == 'string') data[option].call($this)
|
78
|
+
})
|
79
|
+
}
|
80
|
+
|
81
|
+
$.fn.dropdown.Constructor = Dropdown
|
82
|
+
|
83
|
+
|
84
|
+
/* APPLY TO STANDARD DROPDOWN ELEMENTS
|
85
|
+
* =================================== */
|
86
|
+
|
87
|
+
$(function () {
|
88
|
+
$('html').on('click.dropdown.data-api', clearMenus)
|
89
|
+
$('body').on('click.dropdown.data-api', toggle, Dropdown.prototype.toggle)
|
90
|
+
})
|
91
|
+
|
92
|
+
}( window.jQuery )
|
@@ -0,0 +1,209 @@
|
|
1
|
+
/* =========================================================
|
2
|
+
* bootstrap-modal.js v2.0.0
|
3
|
+
* http://twitter.github.com/bootstrap/javascript.html#modals
|
4
|
+
* =========================================================
|
5
|
+
* Copyright 2012 Twitter, Inc.
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
* ========================================================= */
|
19
|
+
|
20
|
+
|
21
|
+
!function( $ ){
|
22
|
+
|
23
|
+
"use strict"
|
24
|
+
|
25
|
+
/* MODAL CLASS DEFINITION
|
26
|
+
* ====================== */
|
27
|
+
|
28
|
+
var Modal = function ( content, options ) {
|
29
|
+
this.options = $.extend({}, $.fn.modal.defaults, options)
|
30
|
+
this.$element = $(content)
|
31
|
+
.delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this))
|
32
|
+
}
|
33
|
+
|
34
|
+
Modal.prototype = {
|
35
|
+
|
36
|
+
constructor: Modal
|
37
|
+
|
38
|
+
, toggle: function () {
|
39
|
+
return this[!this.isShown ? 'show' : 'hide']()
|
40
|
+
}
|
41
|
+
|
42
|
+
, show: function () {
|
43
|
+
var that = this
|
44
|
+
|
45
|
+
if (this.isShown) return
|
46
|
+
|
47
|
+
$('body').addClass('modal-open')
|
48
|
+
|
49
|
+
this.isShown = true
|
50
|
+
this.$element.trigger('show')
|
51
|
+
|
52
|
+
escape.call(this)
|
53
|
+
backdrop.call(this, function () {
|
54
|
+
var transition = $.support.transition && that.$element.hasClass('fade')
|
55
|
+
|
56
|
+
!that.$element.parent().length && that.$element.appendTo(document.body) //don't move modals dom position
|
57
|
+
|
58
|
+
that.$element
|
59
|
+
.show()
|
60
|
+
|
61
|
+
if (transition) {
|
62
|
+
that.$element[0].offsetWidth // force reflow
|
63
|
+
}
|
64
|
+
|
65
|
+
that.$element.addClass('in')
|
66
|
+
|
67
|
+
transition ?
|
68
|
+
that.$element.one($.support.transition.end, function () { that.$element.trigger('shown') }) :
|
69
|
+
that.$element.trigger('shown')
|
70
|
+
|
71
|
+
})
|
72
|
+
}
|
73
|
+
|
74
|
+
, hide: function ( e ) {
|
75
|
+
e && e.preventDefault()
|
76
|
+
|
77
|
+
if (!this.isShown) return
|
78
|
+
|
79
|
+
var that = this
|
80
|
+
this.isShown = false
|
81
|
+
|
82
|
+
$('body').removeClass('modal-open')
|
83
|
+
|
84
|
+
escape.call(this)
|
85
|
+
|
86
|
+
this.$element
|
87
|
+
.trigger('hide')
|
88
|
+
.removeClass('in')
|
89
|
+
|
90
|
+
$.support.transition && this.$element.hasClass('fade') ?
|
91
|
+
hideWithTransition.call(this) :
|
92
|
+
hideModal.call(this)
|
93
|
+
}
|
94
|
+
|
95
|
+
}
|
96
|
+
|
97
|
+
|
98
|
+
/* MODAL PRIVATE METHODS
|
99
|
+
* ===================== */
|
100
|
+
|
101
|
+
function hideWithTransition() {
|
102
|
+
var that = this
|
103
|
+
, timeout = setTimeout(function () {
|
104
|
+
that.$element.off($.support.transition.end)
|
105
|
+
hideModal.call(that)
|
106
|
+
}, 500)
|
107
|
+
|
108
|
+
this.$element.one($.support.transition.end, function () {
|
109
|
+
clearTimeout(timeout)
|
110
|
+
hideModal.call(that)
|
111
|
+
})
|
112
|
+
}
|
113
|
+
|
114
|
+
function hideModal( that ) {
|
115
|
+
this.$element
|
116
|
+
.hide()
|
117
|
+
.trigger('hidden')
|
118
|
+
|
119
|
+
backdrop.call(this)
|
120
|
+
}
|
121
|
+
|
122
|
+
function backdrop( callback ) {
|
123
|
+
var that = this
|
124
|
+
, animate = this.$element.hasClass('fade') ? 'fade' : ''
|
125
|
+
|
126
|
+
if (this.isShown && this.options.backdrop) {
|
127
|
+
var doAnimate = $.support.transition && animate
|
128
|
+
|
129
|
+
this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
|
130
|
+
.appendTo(document.body)
|
131
|
+
|
132
|
+
if (this.options.backdrop != 'static') {
|
133
|
+
this.$backdrop.click($.proxy(this.hide, this))
|
134
|
+
}
|
135
|
+
|
136
|
+
if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
|
137
|
+
|
138
|
+
this.$backdrop.addClass('in')
|
139
|
+
|
140
|
+
doAnimate ?
|
141
|
+
this.$backdrop.one($.support.transition.end, callback) :
|
142
|
+
callback()
|
143
|
+
|
144
|
+
} else if (!this.isShown && this.$backdrop) {
|
145
|
+
this.$backdrop.removeClass('in')
|
146
|
+
|
147
|
+
$.support.transition && this.$element.hasClass('fade')?
|
148
|
+
this.$backdrop.one($.support.transition.end, $.proxy(removeBackdrop, this)) :
|
149
|
+
removeBackdrop.call(this)
|
150
|
+
|
151
|
+
} else if (callback) {
|
152
|
+
callback()
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
function removeBackdrop() {
|
157
|
+
this.$backdrop.remove()
|
158
|
+
this.$backdrop = null
|
159
|
+
}
|
160
|
+
|
161
|
+
function escape() {
|
162
|
+
var that = this
|
163
|
+
if (this.isShown && this.options.keyboard) {
|
164
|
+
$(document).on('keyup.dismiss.modal', function ( e ) {
|
165
|
+
e.which == 27 && that.hide()
|
166
|
+
})
|
167
|
+
} else if (!this.isShown) {
|
168
|
+
$(document).off('keyup.dismiss.modal')
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
|
173
|
+
/* MODAL PLUGIN DEFINITION
|
174
|
+
* ======================= */
|
175
|
+
|
176
|
+
$.fn.modal = function ( option ) {
|
177
|
+
return this.each(function () {
|
178
|
+
var $this = $(this)
|
179
|
+
, data = $this.data('modal')
|
180
|
+
, options = typeof option == 'object' && option
|
181
|
+
if (!data) $this.data('modal', (data = new Modal(this, options)))
|
182
|
+
if (typeof option == 'string') data[option]()
|
183
|
+
else data.show()
|
184
|
+
})
|
185
|
+
}
|
186
|
+
|
187
|
+
$.fn.modal.defaults = {
|
188
|
+
backdrop: true
|
189
|
+
, keyboard: true
|
190
|
+
}
|
191
|
+
|
192
|
+
$.fn.modal.Constructor = Modal
|
193
|
+
|
194
|
+
|
195
|
+
/* MODAL DATA-API
|
196
|
+
* ============== */
|
197
|
+
|
198
|
+
$(function () {
|
199
|
+
$('body').on('click.modal.data-api', '[data-toggle="modal"]', function ( e ) {
|
200
|
+
var $this = $(this), href
|
201
|
+
, $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
|
202
|
+
, option = $target.data('modal') ? 'toggle' : $.extend({}, $target.data(), $this.data())
|
203
|
+
|
204
|
+
e.preventDefault()
|
205
|
+
$target.modal(option)
|
206
|
+
})
|
207
|
+
})
|
208
|
+
|
209
|
+
}( window.jQuery )
|
@@ -0,0 +1,95 @@
|
|
1
|
+
/* ===========================================================
|
2
|
+
* bootstrap-popover.js v2.0.0
|
3
|
+
* http://twitter.github.com/bootstrap/javascript.html#popovers
|
4
|
+
* ===========================================================
|
5
|
+
* Copyright 2012 Twitter, Inc.
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
* =========================================================== */
|
19
|
+
|
20
|
+
|
21
|
+
!function( $ ) {
|
22
|
+
|
23
|
+
"use strict"
|
24
|
+
|
25
|
+
var Popover = function ( element, options ) {
|
26
|
+
this.init('popover', element, options)
|
27
|
+
}
|
28
|
+
|
29
|
+
/* NOTE: POPOVER EXTENDS BOOTSTRAP-TOOLTIP.js
|
30
|
+
========================================== */
|
31
|
+
|
32
|
+
Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype, {
|
33
|
+
|
34
|
+
constructor: Popover
|
35
|
+
|
36
|
+
, setContent: function () {
|
37
|
+
var $tip = this.tip()
|
38
|
+
, title = this.getTitle()
|
39
|
+
, content = this.getContent()
|
40
|
+
|
41
|
+
$tip.find('.popover-title')[ $.type(title) == 'object' ? 'append' : 'html' ](title)
|
42
|
+
$tip.find('.popover-content > *')[ $.type(content) == 'object' ? 'append' : 'html' ](content)
|
43
|
+
|
44
|
+
$tip.removeClass('fade top bottom left right in')
|
45
|
+
}
|
46
|
+
|
47
|
+
, hasContent: function () {
|
48
|
+
return this.getTitle() || this.getContent()
|
49
|
+
}
|
50
|
+
|
51
|
+
, getContent: function () {
|
52
|
+
var content
|
53
|
+
, $e = this.$element
|
54
|
+
, o = this.options
|
55
|
+
|
56
|
+
content = $e.attr('data-content')
|
57
|
+
|| (typeof o.content == 'function' ? o.content.call($e[0]) : o.content)
|
58
|
+
|
59
|
+
content = content.toString().replace(/(^\s*|\s*$)/, "")
|
60
|
+
|
61
|
+
return content
|
62
|
+
}
|
63
|
+
|
64
|
+
, tip: function() {
|
65
|
+
if (!this.$tip) {
|
66
|
+
this.$tip = $(this.options.template)
|
67
|
+
}
|
68
|
+
return this.$tip
|
69
|
+
}
|
70
|
+
|
71
|
+
})
|
72
|
+
|
73
|
+
|
74
|
+
/* POPOVER PLUGIN DEFINITION
|
75
|
+
* ======================= */
|
76
|
+
|
77
|
+
$.fn.popover = function ( option ) {
|
78
|
+
return this.each(function () {
|
79
|
+
var $this = $(this)
|
80
|
+
, data = $this.data('popover')
|
81
|
+
, options = typeof option == 'object' && option
|
82
|
+
if (!data) $this.data('popover', (data = new Popover(this, options)))
|
83
|
+
if (typeof option == 'string') data[option]()
|
84
|
+
})
|
85
|
+
}
|
86
|
+
|
87
|
+
$.fn.popover.Constructor = Popover
|
88
|
+
|
89
|
+
$.fn.popover.defaults = $.extend({} , $.fn.tooltip.defaults, {
|
90
|
+
placement: 'right'
|
91
|
+
, content: ''
|
92
|
+
, template: '<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"><p></p></div></div></div>'
|
93
|
+
})
|
94
|
+
|
95
|
+
}( window.jQuery )
|