ucpengine 0.0.4 → 0.0.5

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: 71c424c416250e3ba2b87b135344b4329be73c65
4
- data.tar.gz: 3c2222fdfde42fe5f5117d2fd4e9fedef398d919
3
+ metadata.gz: 4778aa05c0514d717b6edc7e943cd81ec72400b9
4
+ data.tar.gz: c099dfeb99ca95fd6d641ba8b8bb3b14bcb2957e
5
5
  SHA512:
6
- metadata.gz: e6204e66fce204f611a91db937bdabed1a38071d8a60512c9f903fd3227e3a0066728d2fe8cd28979e1b8414f4080b9da4f01ea30b31e05edeb44a99f6c915bb
7
- data.tar.gz: c0dfb16dd6564fd2bef1107d6a91c6d446697bb013f9bf7eab81470eca160b7dc04b0e32d45af39a4ee687bc3a7f60770083cf30a2bdadf529291aa0645785f7
6
+ metadata.gz: 49ced58159f0f9a33a02bcf7b9ee4856f641109e03d49d9be1a9ed719945157951b1da445b550f072d3addbce6d4586469b2e8fbd65b3ec7d76de7f350322e15
7
+ data.tar.gz: a1141828b58d448006fc237e408fed14a8194e0dc17d6cd6f25454d3e918266f3a143a56b8ca041de24b25d4627cff8f26a105ac5d6e9f9246d9751e3dca2791
@@ -20,12 +20,12 @@
20
20
 
21
21
  <div class="col s3 ucp-sidenav">
22
22
 
23
- <p class="ucp-title">UCP cms Dashboard</p>
23
+ <p class="ucp-title">UCP cms</p>
24
24
 
25
25
  <ul class="collection">
26
26
  <% Ucpengine.configuration.content_classes.each do |class_name| %>
27
27
  <li class="collection-item sidenav-item">
28
- <%= link_to 'Terms of Service', entries_path(content_class: class_name.tableize) %>
28
+ <%= link_to 'Terms of Service Dashboard', entries_path(content_class: class_name.tableize) %>
29
29
  </li>
30
30
  <% end %>
31
31
  </ul>
@@ -10,12 +10,9 @@
10
10
  <%= f.label :published_at %>
11
11
  <%= f.text_field :published_at %>
12
12
  -->
13
-
14
- <p>Terms of Service</p>
15
-
16
13
  <div class="input-field col s12">
17
14
  <% @entry.class.content_attributes.each do |attr_name, attr_type| %>
18
- <%= f.text_area attr_name, as: attr_type, class: 'materialize-textarea' %>
15
+ <%= f.text_area attr_name, as: attr_type, class: 'materialize-textarea', placeholder: 'Terms of Service' %>
19
16
  <% end %>
20
17
  </div>
21
18
 
@@ -1,12 +1,18 @@
1
- <ul class="collection with-header">
2
- <li class="collection-header"><h4>Recent Terms of Service</h4> <br><%= link_to "New #{content_class.titleize}", new_content_entry_path %></li>
1
+ <table class="highlight">
2
+ <thead>
3
+ <tr>
4
+ <th>Version</th>
5
+ <th>Created</td>
6
+ <th>Options</th>
7
+ </tr>
8
+ </thead>
9
+ <tbody>
3
10
  <% @entries.each do |entry| %>
4
- <li class="collection-item">
5
- Version: <%= link_to entry.version, content_entry_path(entry) %>
6
- Created <%= time_ago_in_words entry.created_at %> ago
7
-
8
- <%= link_to 'Edit', edit_content_entry_path(entry) %>
9
- <%= link_to 'Destroy', content_entry_path(entry), method: :delete, data: { confirm: 'Are you sure?' } %>
10
- </li>
11
+ <tr>
12
+ <td><%= link_to entry.version, content_entry_path(entry) %></td>
13
+ <td><%= time_ago_in_words entry.created_at %> ago</td>
14
+ <td><%= link_to 'Edit', edit_content_entry_path(entry) %>
15
+ <%= link_to 'Destroy', content_entry_path(entry), method: :delete, data: { confirm: 'Are you sure?' } %></td>
16
+ </tr>
11
17
  <% end %>
12
- </ul>
18
+ </table>
@@ -1,3 +1,3 @@
1
1
  module Ucpengine
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
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.4
4
+ version: 0.0.5
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-04 00:00:00.000000000 Z
11
+ date: 2016-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails