diff options
author | buddhamagnet <buddhamagnet@gmail.com> | 2014-09-23 09:13:58 +0100 |
---|---|---|
committer | buddhamagnet <buddhamagnet@gmail.com> | 2014-09-25 11:59:13 -0400 |
commit | be0206e4e2c18575e22361c19925ee5a48a34965 (patch) | |
tree | 8487b5100a38e9fec2d8252f57ff2a18d95d8610 | |
parent | b04ac976d9078e8012dd45887afebc950dc053fd (diff) | |
download | rails-be0206e4e2c18575e22361c19925ee5a48a34965.tar.gz rails-be0206e4e2c18575e22361c19925ee5a48a34965.tar.bz2 rails-be0206e4e2c18575e22361c19925ee5a48a34965.zip |
Improve welcome page css and table cell aignments.
-rw-r--r-- | railties/lib/rails/info.rb | 18 | ||||
-rw-r--r-- | railties/lib/rails/templates/rails/welcome/index.html.erb | 7 |
2 files changed, 11 insertions, 14 deletions
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 { |