zuora_connect_ui 0.1.0 → 0.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cbdac12e3385ab223a184c84a6b5f63f8acda5b
|
4
|
+
data.tar.gz: 82b60505afb4eb343f3287155515d9f2cfe72b1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed1ec0fc12c2b908f1055d1d0b0e39e8b57768d23e26d1c3c6323c0a3171d8baafeeca95cf931a5dbf0ec82d2cd7af69b058b03957e9207eefb9465abea5a3a4
|
7
|
+
data.tar.gz: 5436ef384942baa8ca6b13185bf8513f9a11cae8404016f280ea8ed5974154569aea4c1c8512eb39f3759265c281fc27a900205a083840bee8ebe861068321e0
|
@@ -3,7 +3,8 @@
|
|
3
3
|
<% index = defined?(index) ? index : nil %>
|
4
4
|
<% filter_count = defined?(filter_count) ? filter_count : nil %>
|
5
5
|
<% width = defined?(table_filter["width"]) ? table_filter["width"] : "100%" %>
|
6
|
-
<% allow_clear =
|
6
|
+
<% allow_clear = table_filter.key?("allow-clear") ? table_filter["allow-clear"] : true %>
|
7
|
+
<% searchable = table_filter.key?("searchable") && table_filter["searchable"] ? 0 : -1 %>
|
7
8
|
|
8
9
|
<% if table_filter["type"] == "checkbox" %>
|
9
10
|
<div class="btn-group">
|
@@ -25,7 +26,7 @@
|
|
25
26
|
<%= select_tag(table_filter["name"].parameterize('_'), options_for_select( table_filter["values"], table_filter["selection"]), options = { :class => 'form-control input-sm', :prompt => prompt, :data =>{:placeholder => placeholder, "allow-clear" => allow_clear }, :style =>''}) %>
|
26
27
|
</div>
|
27
28
|
<% content_for :scripts do %>
|
28
|
-
$('#<%= "#{table_name}_content" %>').find('select[name="<%= table_filter["name"].parameterize('_') %>"]').select2({theme: "bootstrap", minimumResultsForSearch:
|
29
|
+
$('#<%= "#{table_name}_content" %>').find('select[name="<%= table_filter["name"].parameterize('_') %>"]').select2({theme: "bootstrap", minimumResultsForSearch: <%= searchable %>, width: '<%= width %>', allowClear: <%= allow_clear %>})
|
29
30
|
<% end %>
|
30
31
|
<% elsif table_filter["type"] == "boolean" %>
|
31
32
|
<div class="btn-group" style="margin-left:10px">
|
data/lib/peek/views/connect.rb
CHANGED
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zuora_connect_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Connect Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: bootstrap-sass
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: jquery-ui-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -146,6 +146,7 @@ files:
|
|
146
146
|
- app/helpers/input_helper.rb
|
147
147
|
- app/views/partials/_admin_menu.html.erb
|
148
148
|
- app/views/partials/_filters.html.erb
|
149
|
+
- app/views/partials/_row_actions.html.erb
|
149
150
|
- app/views/partials/_table.html.erb
|
150
151
|
- app/views/peek/views/_connect.html.erb
|
151
152
|
- lib/peek/views/connect.rb
|