Skip to content
This repository has been archived by the owner on Oct 12, 2018. It is now read-only.

Commit

Permalink
Merge pull request #8 from alphagov/upgrade-bootstrap-storyid-32078597
Browse files Browse the repository at this point in the history
Upgraded to Bootstrap 2.0.4 - reviewed by Jamie
  • Loading branch information
partiallyblind committed Jul 17, 2012
2 parents 6e31580 + dc635b1 commit 6ebb6e9
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 28 deletions.
29 changes: 15 additions & 14 deletions app/assets/javascripts/bootstrap.js 100644 → 100755
@@ -1,5 +1,5 @@
/* ===================================================
* bootstrap-transition.js v2.0.3
* bootstrap-transition.js v2.0.4
* http://twitter.github.com/bootstrap/javascript.html#transitions
* ===================================================
* Copyright 2012 Twitter, Inc.
Expand Down Expand Up @@ -59,7 +59,7 @@
})

}(window.jQuery);/* ==========================================================
* bootstrap-alert.js v2.0.3
* bootstrap-alert.js v2.0.4
* http://twitter.github.com/bootstrap/javascript.html#alerts
* ==========================================================
* Copyright 2012 Twitter, Inc.
Expand Down Expand Up @@ -148,7 +148,7 @@
})

}(window.jQuery);/* ============================================================
* bootstrap-button.js v2.0.3
* bootstrap-button.js v2.0.4
* http://twitter.github.com/bootstrap/javascript.html#buttons
* ============================================================
* Copyright 2012 Twitter, Inc.
Expand Down Expand Up @@ -243,7 +243,7 @@
})

}(window.jQuery);/* ==========================================================
* bootstrap-carousel.js v2.0.3
* bootstrap-carousel.js v2.0.4
* http://twitter.github.com/bootstrap/javascript.html#carousel
* ==========================================================
* Copyright 2012 Twitter, Inc.
Expand Down Expand Up @@ -411,7 +411,7 @@
})

}(window.jQuery);/* =============================================================
* bootstrap-collapse.js v2.0.3
* bootstrap-collapse.js v2.0.4
* http://twitter.github.com/bootstrap/javascript.html#collapse
* =============================================================
* Copyright 2012 Twitter, Inc.
Expand Down Expand Up @@ -567,7 +567,7 @@
})

}(window.jQuery);/* ============================================================
* bootstrap-dropdown.js v2.0.3
* bootstrap-dropdown.js v2.0.4
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
* ============================================================
* Copyright 2012 Twitter, Inc.
Expand Down Expand Up @@ -666,7 +666,7 @@
})

}(window.jQuery);/* =========================================================
* bootstrap-modal.js v2.0.3
* bootstrap-modal.js v2.0.4
* http://twitter.github.com/bootstrap/javascript.html#modals
* =========================================================
* Copyright 2012 Twitter, Inc.
Expand Down Expand Up @@ -883,7 +883,7 @@
})

}(window.jQuery);/* ===========================================================
* bootstrap-tooltip.js v2.0.3
* bootstrap-tooltip.js v2.0.4
* http://twitter.github.com/bootstrap/javascript.html#tooltips
* Inspired by the original jQuery.tipsy by Jason Frame
* ===========================================================
Expand Down Expand Up @@ -968,9 +968,9 @@
, leave: function (e) {
var self = $(e.currentTarget)[this.type](this._options).data(this.type)

if (this.timeout) clearTimeout(this.timeout)
if (!self.options.delay || !self.options.delay.hide) return self.hide()

clearTimeout(this.timeout)
self.hoverState = 'out'
this.timeout = setTimeout(function() {
if (self.hoverState == 'out') self.hide()
Expand Down Expand Up @@ -1156,8 +1156,9 @@
, delay: 0
}

}(window.jQuery);/* ===========================================================
* bootstrap-popover.js v2.0.3
}(window.jQuery);
/* ===========================================================
* bootstrap-popover.js v2.0.4
* http://twitter.github.com/bootstrap/javascript.html#popovers
* ===========================================================
* Copyright 2012 Twitter, Inc.
Expand Down Expand Up @@ -1254,7 +1255,7 @@
})

}(window.jQuery);/* =============================================================
* bootstrap-scrollspy.js v2.0.3
* bootstrap-scrollspy.js v2.0.4
* http://twitter.github.com/bootstrap/javascript.html#scrollspy
* =============================================================
* Copyright 2012 Twitter, Inc.
Expand Down Expand Up @@ -1404,7 +1405,7 @@
})

}(window.jQuery);/* ========================================================
* bootstrap-tab.js v2.0.3
* bootstrap-tab.js v2.0.4
* http://twitter.github.com/bootstrap/javascript.html#tabs
* ========================================================
* Copyright 2012 Twitter, Inc.
Expand Down Expand Up @@ -1538,7 +1539,7 @@
})

}(window.jQuery);/* =============================================================
* bootstrap-typeahead.js v2.0.3
* bootstrap-typeahead.js v2.0.4
* http://twitter.github.com/bootstrap/javascript.html#typeahead
* =============================================================
* Copyright 2012 Twitter, Inc.
Expand Down
4 changes: 2 additions & 2 deletions app/assets/javascripts/bootstrap.min.js 100644 → 100755

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions app/assets/stylesheets/application.css
Expand Up @@ -12,6 +12,7 @@ body {
background-image: url("/assets/header-crown.png");
background-position: 0 0.25em;
background-repeat: no-repeat;
color: #fff;
font-family: "GillSans", "Gill Sans", "Helvetica Neue", Helvetica, sans-serif;
margin-left: 0;
padding-left: 2em;
Expand Down
9 changes: 0 additions & 9 deletions app/assets/stylesheets/bootstrap-responsive.min.css

This file was deleted.

4 changes: 2 additions & 2 deletions app/assets/stylesheets/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Expand Up @@ -3,7 +3,7 @@
<head>
<title><%= yield :page_title %> | GOV.UK Panopticon</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'bootstrap.min.css', 'bootstrap-responsive.min.css', 'application.css' %>
<%= stylesheet_link_tag 'bootstrap.min.css', 'application.css' %>
<%= yield :extra_headers %>
</head>

Expand Down

0 comments on commit 6ebb6e9

Please sign in to comment.