diff options
author | Johan Lundström <johanlunds@gmail.com> | 2010-07-31 14:49:08 +0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-07-31 20:38:12 -0300 |
commit | 96f8325116148848cf2a6ec7d8561df8955ffaa3 (patch) | |
tree | 613347c2d3a1c1078ed9eae0a2334348f05f04cc /railties | |
parent | 1d1f810d22eee1151503c8624daa0ac7714fb61b (diff) | |
download | rails-96f8325116148848cf2a6ec7d8561df8955ffaa3.tar.gz rails-96f8325116148848cf2a6ec7d8561df8955ffaa3.tar.bz2 rails-96f8325116148848cf2a6ec7d8561df8955ffaa3.zip |
DHH forgot to remove JS, CSS in generated index.html [#5261 state:resolved]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/public/index.html | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/public/index.html b/railties/lib/rails/generators/rails/app/templates/public/index.html index c65593e8bc..75d5edd06d 100644 --- a/railties/lib/rails/generators/rails/app/templates/public/index.html +++ b/railties/lib/rails/generators/rails/app/templates/public/index.html @@ -151,19 +151,6 @@ } - #search { - margin: 0; - padding-top: 10px; - padding-bottom: 10px; - font-size: 11px; - } - #search input { - font-size: 11px; - margin: 2px; - } - #search-text {width: 170px} - - #sidebar ul { margin-left: 0; padding-left: 0; @@ -194,16 +181,6 @@ info.innerHTML = xhr.responseText; info.style.display = 'block' } - - function prepend() { - search = document.getElementById('search-text'); - text = search.value; - search.value = 'site:rubyonrails.org ' + text; - } - - window.onload = function() { - document.getElementById('search-text').value = ''; - } </script> </head> <body> |