ucpengine 0.0.7 → 0.0.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e80372e147506899f07433ae9ad5ec08ccdfbb0
4
- data.tar.gz: bf42b5bca40a8cea7390cba9aac03fe9a1e59c54
3
+ metadata.gz: 80ee1db0015d44a250cb8a0771ea0e75051c3491
4
+ data.tar.gz: 69fd1e8a49425ef1e9a85504fb5e4dd454934095
5
5
  SHA512:
6
- metadata.gz: 8eb6c96c555132761a7e007e7d0e32f3b680ebd0940b8f9340bd5cdf3fc887ff427d55262ac451be7dfe4f111258d636043f7c0af0787abdd32a4dc34e78156d
7
- data.tar.gz: 73f5e64026809668d8be75424484f45339966ce35f9a0809ee235e4d1ff53e03da1a9b92e2d46bab3f652c3c493c2da6397185e5cc8cf300db86c2ef8d103eea
6
+ metadata.gz: 18cfb97846e94b6b8206b7590cc8d1c9b45da960d6b03c2a68dfea23de3a7de54a0713cda66ce9d84c13a51e9c7ddbbd83892a73bfd3a5973080d7569b1df222
7
+ data.tar.gz: 32c7d2d924cf0ffb7ea83900b9f01849aeb1207bb04c616714b395c897ab20a24eb043f4a1d3dbf73863ac86a7885f970bd07379791c506d39d226a3f2630127
@@ -35,7 +35,7 @@ nav {
35
35
  .ucp-inner-content-header{
36
36
  border-bottom: 1px solid rgba(128, 128, 128, 0.15);
37
37
  //height:40px;
38
- padding:15px !important;
38
+ padding:19px !important;
39
39
  background:#FAFAFA;
40
40
  .btn {
41
41
  font-size:0.8em;
@@ -61,9 +61,21 @@ nav {
61
61
  bottom:4px;
62
62
  background-color:rgba(32, 44, 49, 0.57) !important;
63
63
  }
64
- .badge{
65
- background-color:#81a6a6 !important;
64
+ .ucp-tabs{
65
+ background:#ececec;
66
66
  }
67
+ .tabs{
68
+ background-color: transparent !important;
69
+ }
70
+ th{
71
+ font-weight:300;
72
+ }
73
+ .badge-green {background-color: rgba(0, 181, 0,1) !important;}
74
+ .badge-blue {background-color: #1395a6 !important;}
75
+ .badge-purple {background-color: #657eb5 !important; }
76
+ .badge-light {background-color: #5bae76 !important;}
77
+
78
+
67
79
  .ucp-sidenav{
68
80
  padding:0 !important;
69
81
  height:100%;
@@ -8,7 +8,8 @@ module Ucpengine
8
8
  @entries = Entry.where(type: content_class)
9
9
  @terms_of_use = Entry.where(service_type: 'Terms of Use')
10
10
  @third_party_terms_of_use = Entry.where(service_type: 'Third Party Terms of Use')
11
- @privacy_policy = Entry.where(service_type: 'Privacy_policy')
11
+ @privacy_policy = Entry.where(service_type: 'Privacy Policy')
12
+ @glba_privacy_policy = Entry.where(service_type: 'GLBA Privacy Policy')
12
13
  end
13
14
 
14
15
  def show
@@ -2,13 +2,13 @@
2
2
  <div class="col s12 ucp-inner-content-header">
3
3
  <%= link_to "New Service Post", new_content_entry_path, class: 'btn' %>
4
4
  </div>
5
- <div class="col s12">
5
+ <div class="col s12 ucp-tabs">
6
6
 
7
7
  <ul class="tabs">
8
- <li class="tab col s3"><a href="#terms_of_use">Terms of Use <span class="new badge"><%= @terms_of_use.count %></span></a></li>
9
- <li class="tab col s3"><a href="#third_party_terms_of_use">Third Party Terms of Use <span class="new badge"><%= @terms_of_use.count %></a></li>
10
- <li class="tab col s3"><a href="#privacy_policy">Privacy Policy <span class="new badge"><%= @terms_of_use.count %></a></li>
11
- <li class="tab col s3"><a href="#glba_privacy_policy">GLBA Privacy Policy <span class="new badge"><%= @terms_of_use.count %></a></li>
8
+ <li class="tab col s3"><a href="#terms_of_use">Terms of Use <span class="new badge badge-blue"><%= @terms_of_use.count %></span></a></li>
9
+ <li class="tab col s3"><a href="#third_party_terms_of_use">Third Party Terms of Use <span class="new badge badge-green"><%= @third_party_terms_of_use.count %></span></a></li>
10
+ <li class="tab col s3"><a href="#privacy_policy">Privacy Policy <span class="new badge badge-purple"><%= @privacy_policy.count %></a></li>
11
+ <li class="tab col s3"><a href="#glba_privacy_policy">GLBA Privacy Policy <span class="new badge badge-light"><%= @glba_privacy_policy.count %></a></li>
12
12
  </ul>
13
13
  </div>
14
14
  <div id="terms_of_use" class="col s12 inner-content-table">
@@ -41,7 +41,6 @@
41
41
  </tr>
42
42
  </thead>
43
43
  <tbody>
44
- <%= @third_party_terms_of_use.count %>
45
44
  <% @third_party_terms_of_use.each do |entry| %>
46
45
  <tr>
47
46
  <td><%= link_to entry.version, content_entry_path(entry) %></td>
@@ -62,7 +61,6 @@
62
61
  </tr>
63
62
  </thead>
64
63
  <tbody>
65
- <%= @privacy_policy.count %>
66
64
  <% @privacy_policy.each do |entry| %>
67
65
  <tr>
68
66
  <td><%= link_to entry.version, content_entry_path(entry) %></td>
@@ -83,8 +81,7 @@
83
81
  </tr>
84
82
  </thead>
85
83
  <tbody>
86
- <%= @privacy_policy.count %>
87
- <% @privacy_policy.each do |entry| %>
84
+ <% @glba_privacy_policy.each do |entry| %>
88
85
  <tr>
89
86
  <td><%= link_to entry.version, content_entry_path(entry) %></td>
90
87
  <td><%= time_ago_in_words entry.created_at %> ago</td>
@@ -1,3 +1,3 @@
1
1
  module Ucpengine
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ucpengine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-25 00:00:00.000000000 Z
11
+ date: 2016-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails