From 96f8325116148848cf2a6ec7d8561df8955ffaa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Lundstr=C3=B6m?= Date: Sat, 31 Jul 2010 14:49:08 +0200 Subject: DHH forgot to remove JS, CSS in generated index.html [#5261 state:resolved] Signed-off-by: Santiago Pastorino --- .../rails/app/templates/public/index.html | 23 ---------------------- 1 file changed, 23 deletions(-) (limited to 'railties') 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 = ''; - } -- cgit v1.2.3