From be0206e4e2c18575e22361c19925ee5a48a34965 Mon Sep 17 00:00:00 2001 From: buddhamagnet Date: Tue, 23 Sep 2014 09:13:58 +0100 Subject: Improve welcome page css and table cell aignments. --- railties/lib/rails/info.rb | 18 +++++------------- .../lib/rails/templates/rails/welcome/index.html.erb | 7 ++++++- 2 files changed, 11 insertions(+), 14 deletions(-) (limited to 'railties/lib/rails') diff --git a/railties/lib/rails/info.rb b/railties/lib/rails/info.rb index 9502876ebb..1ff1eb0e97 100644 --- a/railties/lib/rails/info.rb +++ b/railties/lib/rails/info.rb @@ -61,6 +61,11 @@ module Rails end end + # The Rails version. + property 'Rails version' do + Rails.version.to_s + end + # The Ruby version and platform, e.g. "2.0.0-p247 (x86_64-darwin12.4.0)". property 'Ruby version' do "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL} (#{RUBY_PLATFORM})" @@ -75,23 +80,10 @@ module Rails ::Rack.release end - # The Rails version. - property 'Rails version' do - Rails.version.to_s - end - property 'JavaScript Runtime' do ExecJS.runtime.name end - # Versions of each Rails framework (Active Record, Action Pack, - # Action Mailer, and Active Support). - frameworks.each do |framework| - property "#{framework.titlecase} version" do - framework_version(framework) - end - end - property 'Middleware' do Rails.configuration.middleware.map(&:inspect) end diff --git a/railties/lib/rails/templates/rails/welcome/index.html.erb b/railties/lib/rails/templates/rails/welcome/index.html.erb index eb620caa00..e6feda8c97 100644 --- a/railties/lib/rails/templates/rails/welcome/index.html.erb +++ b/railties/lib/rails/templates/rails/welcome/index.html.erb @@ -95,7 +95,12 @@ padding-top: 3px; padding-bottom: 3px; } - #about-content td.name {color: #555} + #about-content td.name { + font-weight: bold; + vertical-align: top; + color: #555 + } + #about-content td.value {color: #000} #about-content ul { -- cgit v1.2.3