diff --git a/VERSION b/VERSION
index c8c7db93..0b83584a 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-Version 2.0.9 (2012-09-23 14:07:45) stable
+Version 2.0.9 (2012-09-23 14:37:46) stable
diff --git a/applications/welcome/static/js/web2py_bootstrap.js b/applications/welcome/static/js/web2py_bootstrap.js
new file mode 100644
index 00000000..8c762296
--- /dev/null
+++ b/applications/welcome/static/js/web2py_bootstrap.js
@@ -0,0 +1,23 @@
+// this code improves bootstrap menus and adds dropdown support
+jQuery(function(){
+ jQuery('.nav>li>a').each(function(){
+ if(jQuery(this).parent().find('ul').length)
+ jQuery(this).attr({'class':'dropdown-toggle','data-toggle':'dropdown'}).append('');
+ });
+ jQuery('.nav li li').each(function(){
+ if(jQuery(this).find('ul').length)
+ jQuery(this).addClass('dropdown-submenu');
+ });
+ if(jQuery(document).width()>=980) {
+ jQuery('ul.nav a.dropdown-toggle').parent().hover(function() {
+ mi = jQuery(this).addClass('open');
+ mi.children('.dropdown-menu').stop(true, true).delay(200).fadeIn(400);
+ }, function() {
+ mi = jQuery(this);
+ mi.children('.dropdown-menu').stop(true, true).delay(200).fadeOut(function(){mi.removeClass('open')});
+ });
+ }
+ jQuery('ul.nav li.dropdown a').click(function(){window.location=jQuery(this).attr('href');});
+ // make all buttons bootstrap buttons
+ jQuery('button, form input[type="submit"], form input[type="button"]').addClass('btn');
+});
diff --git a/applications/welcome/views/layout.html b/applications/welcome/views/layout.html
index 19225730..576903c9 100644
--- a/applications/welcome/views/layout.html
+++ b/applications/welcome/views/layout.html
@@ -39,7 +39,7 @@
- {{
+ {{
response.files.append(URL('static','css/web2py.css'))
response.files.append(URL('static','css/bootstrap.min.css'))
response.files.append(URL('static','css/bootstrap-responsive.min.css'))
@@ -146,32 +146,8 @@
-
+