bjond-api 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b22d14df5418dca5898addd775140a677d818ae5
4
- data.tar.gz: 1372a0817dc3fca02321d05d16faee6f5ca17068
3
+ metadata.gz: bb639c1801016df564a2210b0b670ff1ca10cf9a
4
+ data.tar.gz: 54b77f3b1d6f1bada136c8e13a5a8ca25734fcd5
5
5
  SHA512:
6
- metadata.gz: 6a6b0768c7adbba6c659a330d9a0fbc8851c4597187185d33854b9084b30cd4bc80828ebae58e21d3264ca9f6ecd25f9e6e7d6392f796b9043696e29efa84981
7
- data.tar.gz: a51b690e398f925fe7f6ab2bfbca9a96bcc7efbd1219fd37b558258fe96b923e2a951771e867304d2f691f2d0fa572582c878fb345e0f60968227009644ba1ce
6
+ metadata.gz: 0ca3633712228541a33e84f4d52554385b80add088dc88eaaa141af1323d3f56608d4adbd9b1921980e3fdb187dde3b0639448247c494a55b17ca56b3bc8c9e1
7
+ data.tar.gz: fc37e553b6ef0e995b59a32211cbe701eb483d2f56b9c36a7c02f867c919d8b12caa3ab4760f8be202776b302eb2430840ad10b6ad2b10da4b69c466256d80a3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -90,6 +90,9 @@
90
90
  }
91
91
  .info {
92
92
  display: inline-block;
93
+ &.new-section {
94
+ font-family: "Titillium Web Semi Bold";
95
+ }
93
96
  }
94
97
  }
95
98
  .non-available {
@@ -109,7 +112,7 @@
109
112
  }
110
113
 
111
114
  .field {
112
- margin-bottom: 10px;
115
+ margin-bottom: 20px;
113
116
  span.label {
114
117
  margin-right: 20px;
115
118
  width: 227px;
@@ -154,6 +157,13 @@
154
157
  margin-bottom: 20px;
155
158
  }
156
159
 
160
+ #notice {
161
+ color: green;
162
+ // background-color: rgba(255,255,255,0.5);
163
+ padding: 10px;
164
+ text-align: center;
165
+ }
166
+
157
167
  @font-face {
158
168
  font-family: "Titillium Web Regular";
159
169
  src: font-url("bjond-api/TitilliumWeb-Regular.eot");
@@ -5,27 +5,33 @@
5
5
 
6
6
 
7
7
  <div class="bjond-registration-list">
8
- <table class="bjond-table">
9
- <thead>
10
- <tr class="bjond-table-row">
11
- <th>Server</th>
12
- <th>Encrypted Encryption Key</th>
13
- <th colspan="3"></th>
14
- </tr>
15
- </thead>
16
-
17
- <tbody>
18
- <% @bjond_registrations.each do |bjond_registration| %>
8
+ <% if @bjond_registrations.count > 0 %>
9
+ <table class="bjond-table">
10
+ <thead>
19
11
  <tr class="bjond-table-row">
20
- <td><%= bjond_registration.server %></td>
21
- <td><%= bjond_registration.encrypted_encryption_key %></td>
22
- <td><%= link_to 'Show', bjond_registration %></td>
23
- <td><%= link_to 'Edit', edit_bjond_registration_path(bjond_registration) %></td>
24
- <td><%= link_to 'Destroy', bjond_registration, method: :delete, data: { confirm: 'Are you sure?' } %></td>
12
+ <th>Server</th>
13
+ <th>Encrypted Encryption Key</th>
14
+ <th colspan="3"></th>
25
15
  </tr>
26
- <% end %>
27
- </tbody>
28
- </table>
16
+ </thead>
17
+
18
+ <tbody>
19
+ <% @bjond_registrations.each do |bjond_registration| %>
20
+ <tr class="bjond-table-row">
21
+ <td><%= bjond_registration.server %></td>
22
+ <td><%= bjond_registration.encrypted_encryption_key %></td>
23
+ <td><%= link_to 'Show', bjond_registration %></td>
24
+ <td><%= link_to 'Edit', edit_bjond_registration_path(bjond_registration) %></td>
25
+ <td><%= link_to 'Destroy', bjond_registration, method: :delete, data: { confirm: 'Are you sure?' } %></td>
26
+ </tr>
27
+ <% end %>
28
+ </tbody>
29
+ </table>
30
+ <% else %>
31
+ <div class="non-available">
32
+ No registrations
33
+ </div>
34
+ <% end %>
29
35
 
30
36
  <div class="new-registration-link">
31
37
  <%= link_to 'New Bjond registration', new_bjond_registration_path %>
@@ -34,7 +34,7 @@
34
34
  </br>
35
35
 
36
36
  <% if @app_info.integrationEvent.count > 0 %>
37
- <h2> Events </h2>
37
+ <h2> Events (Conditions) </h2>
38
38
  <div class="events">
39
39
  <% @app_info.integrationEvent.each do |event| %>
40
40
  <div class="event">
@@ -56,7 +56,7 @@
56
56
  <div class="field">
57
57
  <div class="field-wrapper">
58
58
  <div class="app-label">Field Name:</div>
59
- <div class="info"><%= field.name %></div>
59
+ <div class="info new-section"><%= field.name %></div>
60
60
  </div>
61
61
  <div class="field-wrapper">
62
62
  <div class="app-label">ID:</div>
@@ -74,7 +74,9 @@
74
74
  </div>
75
75
 
76
76
  <% else %>
77
- No events are currently available for this app.
77
+ <div class="non-available">
78
+ No events are currently available for this app.
79
+ </div>
78
80
  <% end %>
79
81
 
80
82
  <% if @app_info.integrationConsequence.count > 0 %>
data/bjond-api.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: bjond-api 0.2.1 ruby lib
5
+ # stub: bjond-api 0.2.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "bjond-api"
9
- s.version = "0.2.1"
9
+ s.version = "0.2.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bjond-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Rego