about_page 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/stylesheets/about_page.scss +4 -0
- data/app/views/about_page/about/_app.html.erb +1 -1
- data/app/views/about_page/about/_environment.html.erb +3 -3
- data/app/views/about_page/about/_generic_hash.html.erb +3 -3
- data/app/views/about_page/about/health.html.erb +2 -2
- data/config/routes.rb +1 -1
- data/lib/about_page/version.rb +1 -1
- metadata +4 -4
@@ -1 +1 @@
|
|
1
|
-
<
|
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
|
-
<
|
5
|
+
<dl class="dl-horizontal">
|
6
6
|
<% env.keys.sort.each do |key| %>
|
7
|
-
<
|
7
|
+
<dt><%=key%></dt><dd><%=env[key]%></dd>
|
8
8
|
<% end %>
|
9
|
-
</
|
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
|
-
<
|
5
|
+
<dl class="dl-horizontal">
|
6
6
|
<% profile.each_pair do |k,v| %>
|
7
|
-
<
|
7
|
+
<dt><%=k%></dt><dd><%=v%></dd>
|
8
8
|
<% end %>
|
9
|
-
</
|
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">
|
data/config/routes.rb
CHANGED
data/lib/about_page/version.rb
CHANGED
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.
|
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
|
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: -
|
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: -
|
200
|
+
hash: -553455577202680270
|
201
201
|
requirements: []
|
202
202
|
rubyforge_project:
|
203
203
|
rubygems_version: 1.8.23
|