inline_forms 1.6.47 → 1.6.48

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZmRmZTFiODhjZTIwYjIzZjc1Yzk3MGVhZTdiMWU3OWQ2MWYxMjJiZg==
4
+ MzhhMmUwZGU1YjA0ZDAxYTgyNzRhY2MyZjA1MzE3ZmY2NGQ0NmQzMQ==
5
5
  data.tar.gz: !binary |-
6
- NTFjOWNkYTQxOGFlMmU1OGIyNGQ2MTA2MzJhM2JlMDdjZDA3NTUzMQ==
6
+ ZTUyYTcwZjM1OTNiNmVlNTU3NDg4Y2MzYzkxZTQwMTI3YTk2NmUyYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YmRmODFhN2UxZmMzODhjNDVlNmUyMjEyMjA4MjY2NDQ5MDk4NTk0NjEwYWY1
10
- OWYyNzgxZmY0MTkyNmI5N2IyYThiNDk0ZDYwN2Q2ZjZmYzQzODE0ZjFmM2Zk
11
- NTdmNWU5ZmI1NWVkYTNjNjE5ZWNkNDdkOGUxZThlMjllMTUzNDE=
9
+ MGY0ODM3ZWFjMTFhODQ3NTZmYWM1YjZiMzg1N2FmYzBiZTM5ZDU5NGQyM2Ji
10
+ OGU2MGI4ZWUxZDA1Y2U5OGJiODhmZDE0ZmEzNDY0YzU4ZjMwZTVlNTI4NmE5
11
+ ODE1YTQ4MDk3NzAwOWRjNDBlZGIzYzcwYjZiMTdiMjdjNGZlZWY=
12
12
  data.tar.gz: !binary |-
13
- NTM2ZGZhM2M0NTM2ZWMzNDVkNjM3MjhiMTQxNzExMzQ1Njg2NTQwMmJhNjc1
14
- NGI5NWExYjUxMDliZTQ5YTRlOGFiODg4NWU3ZTYxNTQ0NzAwNTUwZTE2MTQ3
15
- YmY4MTU3NzMzZmY0M2QzZTQ3ZmQ2NWI4NjkxOWQ3NmE0ZjZhMjE=
13
+ M2UyOTc0ODQ2ZmU3ZTI3MzQ1OTYxOGUxMjJjNjRhMGMxNDgwMzFhMzE2ZDU4
14
+ NmMxNmM2NTFhMzI3Nzk3MTMxY2ZkYjI0NGQ5MTk3YzQxODY5M2U4NzFmM2Qx
15
+ NmRmMGQzNjhhMDIzNTJiYjczNTVhYWJjYTUwZjI2OWE2YTE3NTQ=
@@ -7,59 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- .pagination {
11
- padding: 0;
12
- margin: 0;
13
- margin-bottom: 5px;
14
- }
15
-
16
- .pagination a, .pagination span, .pagination em {
17
- font-size: 70%;
18
- padding-left:8px;
19
- padding-right:8px;
20
- padding-top:5px;
21
- padding-bottom: 5px;
22
- border: solid #999999 1px;
23
- text-decoration: none;
24
- color:black;
25
- background-color: #EBEAE9;
26
- background-image: -moz-linear-gradient(100% 100% 90deg, #cccccc,#EBEAE9);
27
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cccccc), to(#EBEAE9));
28
- -moz-border-radius: 5px;
29
- -webkit-border-radius: 5px;
30
- -webkit-box-shadow: 0 2px 3px rgba(0,0,0, .4);
31
- -moz-box-shadow: 0 2px 3px rgba(0,0,0, .4);
32
- }
33
-
34
- .pagination a:hover {
35
- color:white;
36
- background-color: #EFCA4B;
37
- background-image: -moz-linear-gradient(100% 100% 90deg, #F9EBAE,#EFCA4B);
38
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EFCA4B), to(#F9EBAE));
39
- }
40
-
41
- .pagination em {
42
- background-color: #eeeeee;
43
- color: black;
44
- background-image: -moz-linear-gradient(100% 100% 90deg, #eeeeee, #ffffff);
45
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#eeeeee));
46
- }
47
10
 
48
- .pagination span.disabled {
49
- color: #AAA; }
50
-
51
- #paginate_info {
52
- color: #ffffff;
53
- font-weight: bold;
54
- -moz-border-radius: 5px;
55
- -webkit-border-radius: 5px;
56
- -webkit-box-shadow: 0 1px 1px rgba(0,0,0, .1);
57
- -moz-box-shadow: 0 1px 1px rgba(0,0,0, .1);
58
- background-color: #EFCA4B;
59
- padding: 0.7em;
60
- margin: 0 1em 0.4em 1em;
61
-
62
- }
63
11
  .error {
64
12
  color: #ffffff;
65
13
  font-weight: bold;
@@ -62,5 +62,11 @@
62
62
  <% else %>
63
63
  <% pagination = will_paginate objects, :remote => true, :params => {:controller => attribute, :action => :index, :id => nil, :parent_class => parent_class, :parent_id => parent_id, :update => "#{parent_class.to_s.underscore}_#{parent_id}_#{attribute}", :ul_needed => true } -%>
64
64
  <% end %>
65
- <%= raw "<div class=\"row\"><div class=\"large-12 column #{cycle('odd', 'even')}\">" + pagination + "</div></div>" if pagination -%>
65
+ <% if pagination %>
66
+ <div class="row <%= cycle('odd', 'even') %>">
67
+ <div class='small-11 small-centered column'>
68
+ <%= raw pagination %>
69
+ </div>
70
+ </div>
71
+ <% end %>
66
72
  <%= raw "</div>" if ul_needed -%>
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "1.6.47"
3
+ VERSION = "1.6.48"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.47
4
+ version: 1.6.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Suares