about_page 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,3 +18,7 @@
18
18
  padding-top: 1em;
19
19
  padding-bottom: 1em;
20
20
  }
21
+
22
+ dl.dl-horizontal dd {
23
+ margin-bottom: 0px;
24
+ }
@@ -1 +1 @@
1
- <h1><%= profile[:name]%> (<%= profile[:version] %>)</h1>
1
+ <div class="page-header"><%= profile[:name]%> (<%= profile[:version] %>)</div>
@@ -2,10 +2,10 @@
2
2
  <% profile.each_pair do |section,env| %>
3
3
  <h3><%= section %></h3>
4
4
  <div class="environment">
5
- <ul>
5
+ <dl class="dl-horizontal">
6
6
  <% env.keys.sort.each do |key| %>
7
- <li><%= [key,env[key]].join('=') %></li>
7
+ <dt><%=key%></dt><dd><%=env[key]%></dd>
8
8
  <% end %>
9
- </ul>
9
+ </dl>
10
10
  </div>
11
11
  <% end %>
@@ -2,8 +2,8 @@
2
2
  <% profile.messages.each do |msg| %>
3
3
  <div><%= msg %></div>
4
4
  <% end if profile.respond_to? :messages %>
5
- <ul>
5
+ <dl class="dl-horizontal">
6
6
  <% profile.each_pair do |k,v| %>
7
- <li><%= [k,v].join(': ') %></li>
7
+ <dt><%=k%></dt><dd><%=v%></dd>
8
8
  <% end %>
9
- </ul>
9
+ </dl>
@@ -1,10 +1,10 @@
1
1
  <div class="about_page">
2
2
  <h3>Service Health</h3>
3
- <ul>
3
+ <ul class="unstyled">
4
4
  <% @states.each do |component| %>
5
5
  <li class="component">
6
- <b><%=component['component']%></b>
7
6
  <span class="label label-<%=component['status'] == 'error' ? 'important' : 'success'%>"><%=component['status']%></span>
7
+ <b><%=link_to component['component'], component['component']%></b>
8
8
  <% if component['errors'].length > 0 %>
9
9
  <ul>
10
10
  <li class="component-error">
@@ -1,5 +1,5 @@
1
1
  AboutPage::Engine.routes.draw do
2
2
  match 'health' => 'about_page/about#health'
3
- match ":filter" => 'about_page/about#index'
3
+ match ":filter" => 'about_page/about#index', :as => 'component'
4
4
  root :to => 'about_page/about#index'
5
5
  end
@@ -1,3 +1,3 @@
1
1
  module AboutPage
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: about_page
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-07-30 00:00:00.000000000 Z
13
+ date: 2013-08-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -188,7 +188,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
188
188
  version: '0'
189
189
  segments:
190
190
  - 0
191
- hash: -3219668868980877437
191
+ hash: -553455577202680270
192
192
  required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  none: false
194
194
  requirements:
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  version: '0'
198
198
  segments:
199
199
  - 0
200
- hash: -3219668868980877437
200
+ hash: -553455577202680270
201
201
  requirements: []
202
202
  rubyforge_project:
203
203
  rubygems_version: 1.8.23