bootstrap-cells 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +16 -0
- data/.gitlab-ci.yml +13 -0
- data/.rspec +2 -0
- data/.rubocop.yml +27 -0
- data/CHANGELOG +29 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +200 -0
- data/Rakefile +8 -0
- data/app/assets/javascripts/bootstrap-cells/add_many_event_listeners.js +11 -0
- data/app/assets/javascripts/bootstrap-cells/index.js +3 -0
- data/app/assets/stylesheets/_bootstrap-cells.scss +7 -0
- data/app/views/kaminari/bootstrap/_first_page.html.erb +15 -0
- data/app/views/kaminari/bootstrap/_gap.html.erb +12 -0
- data/app/views/kaminari/bootstrap/_last_page.html.erb +16 -0
- data/app/views/kaminari/bootstrap/_next_page.html.erb +16 -0
- data/app/views/kaminari/bootstrap/_page.html.erb +17 -0
- data/app/views/kaminari/bootstrap/_paginator.html.erb +32 -0
- data/app/views/kaminari/bootstrap/_prev_page.html.erb +16 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/bootstrap-cells.gemspec +36 -0
- data/lib/bootstrap-cells.rb +16 -0
- data/lib/bootstrap-cells/cells/alert/body.erb +7 -0
- data/lib/bootstrap-cells/cells/alert/show.erb +7 -0
- data/lib/bootstrap-cells/cells/alert/title.erb +9 -0
- data/lib/bootstrap-cells/cells/alert_cell.rb +39 -0
- data/lib/bootstrap-cells/cells/base_cell.rb +43 -0
- data/lib/bootstrap-cells/cells/button/show.erb +17 -0
- data/lib/bootstrap-cells/cells/button_cell.rb +41 -0
- data/lib/bootstrap-cells/cells/card/block.erb +14 -0
- data/lib/bootstrap-cells/cells/card/block_body.erb +5 -0
- data/lib/bootstrap-cells/cells/card/block_subtitle.erb +5 -0
- data/lib/bootstrap-cells/cells/card/block_text.erb +5 -0
- data/lib/bootstrap-cells/cells/card/block_title.erb +5 -0
- data/lib/bootstrap-cells/cells/card/footer.erb +9 -0
- data/lib/bootstrap-cells/cells/card/header.erb +9 -0
- data/lib/bootstrap-cells/cells/card/img_bottom.erb +9 -0
- data/lib/bootstrap-cells/cells/card/img_top.erb +9 -0
- data/lib/bootstrap-cells/cells/card/list_group.erb +9 -0
- data/lib/bootstrap-cells/cells/card/show.erb +9 -0
- data/lib/bootstrap-cells/cells/card/table.erb +9 -0
- data/lib/bootstrap-cells/cells/card_cell.rb +152 -0
- data/lib/bootstrap-cells/cells/column/td.erb +1 -0
- data/lib/bootstrap-cells/cells/column/th.erb +9 -0
- data/lib/bootstrap-cells/cells/column_cell.rb +49 -0
- data/lib/bootstrap-cells/cells/field/required_field.scss +5 -0
- data/lib/bootstrap-cells/cells/field/show.erb +15 -0
- data/lib/bootstrap-cells/cells/field_cell.rb +96 -0
- data/lib/bootstrap-cells/cells/fields_for/form.scss +12 -0
- data/lib/bootstrap-cells/cells/fields_for/form_horizontal.scss +33 -0
- data/lib/bootstrap-cells/cells/fields_for/show.erb +3 -0
- data/lib/bootstrap-cells/cells/fields_for_cell.rb +15 -0
- data/lib/bootstrap-cells/cells/kv_horizontal/show.erb +17 -0
- data/lib/bootstrap-cells/cells/kv_horizontal_cell.rb +34 -0
- data/lib/bootstrap-cells/cells/kv_vertical/show.erb +17 -0
- data/lib/bootstrap-cells/cells/kv_vertical_cell.rb +32 -0
- data/lib/bootstrap-cells/cells/modal/body.erb +9 -0
- data/lib/bootstrap-cells/cells/modal/button.erb +9 -0
- data/lib/bootstrap-cells/cells/modal/content.erb +12 -0
- data/lib/bootstrap-cells/cells/modal/footer.erb +10 -0
- data/lib/bootstrap-cells/cells/modal/header.erb +12 -0
- data/lib/bootstrap-cells/cells/modal/modal.js +15 -0
- data/lib/bootstrap-cells/cells/modal/show.erb +9 -0
- data/lib/bootstrap-cells/cells/modal_cell.rb +64 -0
- data/lib/bootstrap-cells/cells/pages/pages.scss +4 -0
- data/lib/bootstrap-cells/cells/pages/show.erb +3 -0
- data/lib/bootstrap-cells/cells/pages_cell.rb +16 -0
- data/lib/bootstrap-cells/cells/table/nubbin.scss +40 -0
- data/lib/bootstrap-cells/cells/table/show.erb +7 -0
- data/lib/bootstrap-cells/cells/table/table_sort.scss +17 -0
- data/lib/bootstrap-cells/cells/table/table_striped_nested.scss +8 -0
- data/lib/bootstrap-cells/cells/table/tbody.erb +3 -0
- data/lib/bootstrap-cells/cells/table/tbody_button_for_nested_row.erb +9 -0
- data/lib/bootstrap-cells/cells/table/tbody_final_row.erb +9 -0
- data/lib/bootstrap-cells/cells/table/tbody_first_row.erb +9 -0
- data/lib/bootstrap-cells/cells/table/tbody_nested_row.erb +6 -0
- data/lib/bootstrap-cells/cells/table/tbody_rows.erb +35 -0
- data/lib/bootstrap-cells/cells/table/thead.erb +11 -0
- data/lib/bootstrap-cells/cells/table_cell.rb +68 -0
- data/lib/bootstrap-cells/cells/tabs/show.erb +19 -0
- data/lib/bootstrap-cells/cells/tabs_cell.rb +40 -0
- data/lib/bootstrap-cells/engine.rb +9 -0
- metadata +307 -0
@@ -0,0 +1,64 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
class ModalCell < BaseCell
|
4
|
+
private
|
5
|
+
|
6
|
+
def wrapper_props
|
7
|
+
defaults = {
|
8
|
+
class: 'bootstrap-modal',
|
9
|
+
}
|
10
|
+
merge_props(from: defaults, to: options.dig(:props, :wrapper))
|
11
|
+
end
|
12
|
+
|
13
|
+
def content_props
|
14
|
+
defaults = {}
|
15
|
+
merge_props(from: defaults, to: options.dig(:props, :content))
|
16
|
+
end
|
17
|
+
|
18
|
+
def button_text
|
19
|
+
options[:button]
|
20
|
+
end
|
21
|
+
|
22
|
+
def button_props
|
23
|
+
defaults = {
|
24
|
+
type: 'button',
|
25
|
+
class: 'btn btn-default',
|
26
|
+
}
|
27
|
+
merge_props(from: defaults, to: options.dig(:props, :button))
|
28
|
+
end
|
29
|
+
|
30
|
+
def header_text
|
31
|
+
options[:header]
|
32
|
+
end
|
33
|
+
|
34
|
+
def header_props
|
35
|
+
defaults = {
|
36
|
+
tag: :h4,
|
37
|
+
class: c(options.dig(:props, :header, :class),
|
38
|
+
'modal-title'),
|
39
|
+
}
|
40
|
+
merge_props(from: defaults, to: options.dig(:props, :header))
|
41
|
+
end
|
42
|
+
|
43
|
+
def body_text
|
44
|
+
options[:body]
|
45
|
+
end
|
46
|
+
|
47
|
+
def body_props
|
48
|
+
defaults = {
|
49
|
+
class: c(options.dig(:props, :body, :class)),
|
50
|
+
}
|
51
|
+
merge_props(from: defaults, to: options.dig(:props, :body))
|
52
|
+
end
|
53
|
+
|
54
|
+
def footer_text
|
55
|
+
options[:footer]
|
56
|
+
end
|
57
|
+
|
58
|
+
def footer_props
|
59
|
+
defaults = {
|
60
|
+
class: c(options.dig(:props, :footer, :class)),
|
61
|
+
}
|
62
|
+
merge_props(from: defaults, to: options.dig(:props, :footer))
|
63
|
+
end
|
64
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'kaminari/helpers/helper_methods'
|
4
|
+
require 'cell/partial'
|
5
|
+
|
6
|
+
class PagesCell < BaseCell
|
7
|
+
include Kaminari::Helpers::HelperMethods
|
8
|
+
include ActionView::Helpers::OutputSafetyHelper
|
9
|
+
include ActionView::Helpers::TranslationHelper
|
10
|
+
include Cell::ViewModel::Partial
|
11
|
+
|
12
|
+
def paginate(scope, options = {}, &block)
|
13
|
+
options = options.reverse_merge(views_prefix: '../../../app/views')
|
14
|
+
super(scope, options, &block)
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
$nubbin-width: 16;
|
2
|
+
$nubbin-parent-padding: 8;
|
3
|
+
|
4
|
+
.nubbin {
|
5
|
+
/* http://jhaurawachsman.com/2013/css-triangles-border-stroke */
|
6
|
+
position: relative;
|
7
|
+
margin-bottom: 2rem;
|
8
|
+
|
9
|
+
&::before,
|
10
|
+
&::after {
|
11
|
+
// to center
|
12
|
+
position: absolute;
|
13
|
+
right: 0;
|
14
|
+
left: 0;
|
15
|
+
margin: 0 auto;
|
16
|
+
|
17
|
+
width: 0;
|
18
|
+
height: 0;
|
19
|
+
|
20
|
+
content: '';
|
21
|
+
border: 0 solid transparent;
|
22
|
+
border-bottom: 0;
|
23
|
+
}
|
24
|
+
|
25
|
+
// the outer border triangle
|
26
|
+
&::before {
|
27
|
+
top: px(($nubbin-parent-padding + 1) * -1);
|
28
|
+
|
29
|
+
border-width: px($nubbin-width);
|
30
|
+
border-top-color: #ddd;
|
31
|
+
}
|
32
|
+
|
33
|
+
// the inner triangle
|
34
|
+
&::after {
|
35
|
+
top: px(($nubbin-parent-padding + 2) * -1);
|
36
|
+
|
37
|
+
border-width: px($nubbin-width - 1);
|
38
|
+
border-top-color: white;
|
39
|
+
}
|
40
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
.sort {
|
2
|
+
cursor: pointer;
|
3
|
+
|
4
|
+
div::after {
|
5
|
+
display:inline-block;
|
6
|
+
width: 0;
|
7
|
+
font: normal normal normal 14px/1 FontAwesome;
|
8
|
+
content: "\f0dc";
|
9
|
+
margin-right: 1rem;
|
10
|
+
}
|
11
|
+
&.asc div::after {
|
12
|
+
content: "\f0de";
|
13
|
+
}
|
14
|
+
&.desc div::after {
|
15
|
+
content: "\f0dd";
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<% if collection.any? %>
|
2
|
+
<% if options.dig(:rows, :nested) %>
|
3
|
+
<% collection.each_with_index do |item, index| %>
|
4
|
+
<%= content_tag(:tbody, **tbody_props) do %>
|
5
|
+
<%= content_tag(:tr, **tr_props) do %>
|
6
|
+
<%= render view: :tbody_button_for_nested_row, locals: { item: item } %>
|
7
|
+
|
8
|
+
<% columns.each do |column| %>
|
9
|
+
<%= cell(:column, item, options_for_column(column, index)).(:td) %>
|
10
|
+
<% end %>
|
11
|
+
<% end %>
|
12
|
+
|
13
|
+
<%= render view: :tbody_nested_row, locals: { item: item } %>
|
14
|
+
<% end %>
|
15
|
+
<% end %>
|
16
|
+
<% else %>
|
17
|
+
<%= content_tag(:tbody, **tbody_props) do %>
|
18
|
+
<% collection.each_with_index do |item, index| %>
|
19
|
+
<%= content_tag(:tr, **tr_props) do %>
|
20
|
+
<% columns.each do |column| %>
|
21
|
+
<%= cell(:column, item, options_for_column(column, index)).(:td) %>
|
22
|
+
<% end %>
|
23
|
+
<% end %>
|
24
|
+
<% end %>
|
25
|
+
<% end %>
|
26
|
+
<% end %>
|
27
|
+
<% else %>
|
28
|
+
<%= content_tag(:tbody, **tbody_props) do %>
|
29
|
+
<%= content_tag(:tr, **tr_props) do %>
|
30
|
+
<td colspan=<%= number_of_columns %> class="text-center">
|
31
|
+
<strong>None</strong>
|
32
|
+
</td>
|
33
|
+
<% end %>
|
34
|
+
<% end %>
|
35
|
+
<% end %>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<%= content_tag(:thead, **thead_props) do %>
|
2
|
+
<tr>
|
3
|
+
<% if @options.dig(:rows, :nested) %>
|
4
|
+
<%= content_tag(:th, nil, class: 'col-1-25') %>
|
5
|
+
<% end %>
|
6
|
+
|
7
|
+
<% columns.each_with_index do |column, index| %>
|
8
|
+
<%= cell(:column, nil, options_for_column(column, index)).(:th) %>
|
9
|
+
<% end %>
|
10
|
+
</tr>
|
11
|
+
<% end %>
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'bootstrap-cells/cells/column_cell'
|
4
|
+
|
5
|
+
class TableCell < BaseCell
|
6
|
+
private
|
7
|
+
|
8
|
+
def collection
|
9
|
+
Array.wrap(model)
|
10
|
+
end
|
11
|
+
|
12
|
+
def columns
|
13
|
+
@options[:columns]&.compact || []
|
14
|
+
end
|
15
|
+
|
16
|
+
def table_props
|
17
|
+
defaults = {
|
18
|
+
class: c('table',
|
19
|
+
('table-fixed' unless options[:fixed] == false),
|
20
|
+
(options.dig(:rows, :nested) ? 'table-striped-nested' : 'table-striped'),
|
21
|
+
table_uuid),
|
22
|
+
}
|
23
|
+
merge_props(from: defaults, to: options.dig(:props, :table))
|
24
|
+
end
|
25
|
+
|
26
|
+
def thead_props
|
27
|
+
merge_props(from: {}, to: options.dig(:props, :thead))
|
28
|
+
end
|
29
|
+
|
30
|
+
def tbody_props
|
31
|
+
merge_props(from: {}, to: options.dig(:props, :tbody))
|
32
|
+
end
|
33
|
+
|
34
|
+
def tr_props
|
35
|
+
merge_props(from: {}, to: options.dig(:props, :tr))
|
36
|
+
end
|
37
|
+
|
38
|
+
def caption_props
|
39
|
+
defaults = {
|
40
|
+
class: 'text-center bold underline'
|
41
|
+
}
|
42
|
+
merge_props(from: defaults, to: options.dig(:props, :caption))
|
43
|
+
end
|
44
|
+
|
45
|
+
def tbody_row(row)
|
46
|
+
content_tag(:tr, **tr_props) do
|
47
|
+
content_tag(:td, colspan: number_of_columns) do
|
48
|
+
options.dig(:rows, row).call(collection)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
def options_for_column(column, index)
|
54
|
+
options.slice(:sort, :truncate, :center)
|
55
|
+
.merge(column)
|
56
|
+
.merge(index: index)
|
57
|
+
.merge(model: model.try(:model))
|
58
|
+
end
|
59
|
+
|
60
|
+
def number_of_columns
|
61
|
+
return columns.count + 1 if options.dig(:rows, :nested)
|
62
|
+
columns.count
|
63
|
+
end
|
64
|
+
|
65
|
+
def table_uuid
|
66
|
+
@uuid ||= rand(10_000)
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<div>
|
2
|
+
<ul class="nav nav-tabs nav-justified" role="tablist">
|
3
|
+
<% @model.each_with_index do |tab, i| %>
|
4
|
+
<%= content_tag(:li, **nav_item_props(i)) do %>
|
5
|
+
<%= content_tag(:a, **nav_tab_props(i)) do %>
|
6
|
+
<%= tab[:label] %>
|
7
|
+
<% end %>
|
8
|
+
<% end %>
|
9
|
+
<% end %>
|
10
|
+
</ul>
|
11
|
+
|
12
|
+
<div class="tab-content">
|
13
|
+
<% @model.each_with_index do |tab, i| %>
|
14
|
+
<%= content_tag(:div, **tab_panel_props(i)) do %>
|
15
|
+
<%= tab[:panel] %>
|
16
|
+
<% end %>
|
17
|
+
<% end %>
|
18
|
+
</div>
|
19
|
+
</div>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
class TabsCell < BaseCell
|
4
|
+
private
|
5
|
+
|
6
|
+
def nav_item_props(index)
|
7
|
+
defaults = {
|
8
|
+
role: 'presentation',
|
9
|
+
class: c('nav-item',
|
10
|
+
index.zero? ? 'active' : nil),
|
11
|
+
}
|
12
|
+
merge_props(from: defaults, to: options.dig(:props, :nav_item))
|
13
|
+
end
|
14
|
+
|
15
|
+
def nav_tab_props(index)
|
16
|
+
defaults = {
|
17
|
+
role: 'tab',
|
18
|
+
'data-toggle': 'tab',
|
19
|
+
'aria-controls': tab_identifier(index),
|
20
|
+
href: "##{tab_identifier(index)}",
|
21
|
+
class: 'nav-tab',
|
22
|
+
}
|
23
|
+
merge_props(from: defaults, to: options.dig(:props, :nav_tab))
|
24
|
+
end
|
25
|
+
|
26
|
+
def tab_panel_props(index)
|
27
|
+
defaults = {
|
28
|
+
role: 'tabpanel',
|
29
|
+
id: tab_identifier(index),
|
30
|
+
class: c('tab-pane',
|
31
|
+
'p-3',
|
32
|
+
index.zero? ? 'active' : nil),
|
33
|
+
}
|
34
|
+
merge_props(from: defaults, to: options.dig(:props, :tab_panel))
|
35
|
+
end
|
36
|
+
|
37
|
+
def tab_identifier(index)
|
38
|
+
[model[index][:label].to_s.parameterize, index].join('-')
|
39
|
+
end
|
40
|
+
end
|
metadata
ADDED
@@ -0,0 +1,307 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bootstrap-cells
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.5
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Stephen Margheim
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-01-31 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: cells
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: cells-rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.0.8
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.0.8
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: cells-erb
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.1.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.1.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: kaminari
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rails
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '4.2'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '4.2'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: bundler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec-rails
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: sqlite3
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: simplecov
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: simplecov-console
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rspec-cells
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: capybara
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
description:
|
196
|
+
email:
|
197
|
+
- margheim@mail.med.upenn.edu
|
198
|
+
executables: []
|
199
|
+
extensions: []
|
200
|
+
extra_rdoc_files: []
|
201
|
+
files:
|
202
|
+
- ".gitignore"
|
203
|
+
- ".gitlab-ci.yml"
|
204
|
+
- ".rspec"
|
205
|
+
- ".rubocop.yml"
|
206
|
+
- CHANGELOG
|
207
|
+
- Gemfile
|
208
|
+
- Gemfile.lock
|
209
|
+
- Rakefile
|
210
|
+
- app/assets/javascripts/bootstrap-cells/add_many_event_listeners.js
|
211
|
+
- app/assets/javascripts/bootstrap-cells/index.js
|
212
|
+
- app/assets/stylesheets/_bootstrap-cells.scss
|
213
|
+
- app/views/kaminari/bootstrap/_first_page.html.erb
|
214
|
+
- app/views/kaminari/bootstrap/_gap.html.erb
|
215
|
+
- app/views/kaminari/bootstrap/_last_page.html.erb
|
216
|
+
- app/views/kaminari/bootstrap/_next_page.html.erb
|
217
|
+
- app/views/kaminari/bootstrap/_page.html.erb
|
218
|
+
- app/views/kaminari/bootstrap/_paginator.html.erb
|
219
|
+
- app/views/kaminari/bootstrap/_prev_page.html.erb
|
220
|
+
- bin/console
|
221
|
+
- bin/setup
|
222
|
+
- bootstrap-cells.gemspec
|
223
|
+
- lib/bootstrap-cells.rb
|
224
|
+
- lib/bootstrap-cells/cells/alert/body.erb
|
225
|
+
- lib/bootstrap-cells/cells/alert/show.erb
|
226
|
+
- lib/bootstrap-cells/cells/alert/title.erb
|
227
|
+
- lib/bootstrap-cells/cells/alert_cell.rb
|
228
|
+
- lib/bootstrap-cells/cells/base_cell.rb
|
229
|
+
- lib/bootstrap-cells/cells/button/show.erb
|
230
|
+
- lib/bootstrap-cells/cells/button_cell.rb
|
231
|
+
- lib/bootstrap-cells/cells/card/block.erb
|
232
|
+
- lib/bootstrap-cells/cells/card/block_body.erb
|
233
|
+
- lib/bootstrap-cells/cells/card/block_subtitle.erb
|
234
|
+
- lib/bootstrap-cells/cells/card/block_text.erb
|
235
|
+
- lib/bootstrap-cells/cells/card/block_title.erb
|
236
|
+
- lib/bootstrap-cells/cells/card/footer.erb
|
237
|
+
- lib/bootstrap-cells/cells/card/header.erb
|
238
|
+
- lib/bootstrap-cells/cells/card/img_bottom.erb
|
239
|
+
- lib/bootstrap-cells/cells/card/img_top.erb
|
240
|
+
- lib/bootstrap-cells/cells/card/list_group.erb
|
241
|
+
- lib/bootstrap-cells/cells/card/show.erb
|
242
|
+
- lib/bootstrap-cells/cells/card/table.erb
|
243
|
+
- lib/bootstrap-cells/cells/card_cell.rb
|
244
|
+
- lib/bootstrap-cells/cells/column/td.erb
|
245
|
+
- lib/bootstrap-cells/cells/column/th.erb
|
246
|
+
- lib/bootstrap-cells/cells/column_cell.rb
|
247
|
+
- lib/bootstrap-cells/cells/field/required_field.scss
|
248
|
+
- lib/bootstrap-cells/cells/field/show.erb
|
249
|
+
- lib/bootstrap-cells/cells/field_cell.rb
|
250
|
+
- lib/bootstrap-cells/cells/fields_for/form.scss
|
251
|
+
- lib/bootstrap-cells/cells/fields_for/form_horizontal.scss
|
252
|
+
- lib/bootstrap-cells/cells/fields_for/show.erb
|
253
|
+
- lib/bootstrap-cells/cells/fields_for_cell.rb
|
254
|
+
- lib/bootstrap-cells/cells/kv_horizontal/show.erb
|
255
|
+
- lib/bootstrap-cells/cells/kv_horizontal_cell.rb
|
256
|
+
- lib/bootstrap-cells/cells/kv_vertical/show.erb
|
257
|
+
- lib/bootstrap-cells/cells/kv_vertical_cell.rb
|
258
|
+
- lib/bootstrap-cells/cells/modal/body.erb
|
259
|
+
- lib/bootstrap-cells/cells/modal/button.erb
|
260
|
+
- lib/bootstrap-cells/cells/modal/content.erb
|
261
|
+
- lib/bootstrap-cells/cells/modal/footer.erb
|
262
|
+
- lib/bootstrap-cells/cells/modal/header.erb
|
263
|
+
- lib/bootstrap-cells/cells/modal/modal.js
|
264
|
+
- lib/bootstrap-cells/cells/modal/show.erb
|
265
|
+
- lib/bootstrap-cells/cells/modal_cell.rb
|
266
|
+
- lib/bootstrap-cells/cells/pages/pages.scss
|
267
|
+
- lib/bootstrap-cells/cells/pages/show.erb
|
268
|
+
- lib/bootstrap-cells/cells/pages_cell.rb
|
269
|
+
- lib/bootstrap-cells/cells/table/nubbin.scss
|
270
|
+
- lib/bootstrap-cells/cells/table/show.erb
|
271
|
+
- lib/bootstrap-cells/cells/table/table_sort.scss
|
272
|
+
- lib/bootstrap-cells/cells/table/table_striped_nested.scss
|
273
|
+
- lib/bootstrap-cells/cells/table/tbody.erb
|
274
|
+
- lib/bootstrap-cells/cells/table/tbody_button_for_nested_row.erb
|
275
|
+
- lib/bootstrap-cells/cells/table/tbody_final_row.erb
|
276
|
+
- lib/bootstrap-cells/cells/table/tbody_first_row.erb
|
277
|
+
- lib/bootstrap-cells/cells/table/tbody_nested_row.erb
|
278
|
+
- lib/bootstrap-cells/cells/table/tbody_rows.erb
|
279
|
+
- lib/bootstrap-cells/cells/table/thead.erb
|
280
|
+
- lib/bootstrap-cells/cells/table_cell.rb
|
281
|
+
- lib/bootstrap-cells/cells/tabs/show.erb
|
282
|
+
- lib/bootstrap-cells/cells/tabs_cell.rb
|
283
|
+
- lib/bootstrap-cells/engine.rb
|
284
|
+
homepage:
|
285
|
+
licenses: []
|
286
|
+
metadata: {}
|
287
|
+
post_install_message:
|
288
|
+
rdoc_options: []
|
289
|
+
require_paths:
|
290
|
+
- lib
|
291
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
292
|
+
requirements:
|
293
|
+
- - ">="
|
294
|
+
- !ruby/object:Gem::Version
|
295
|
+
version: '0'
|
296
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
297
|
+
requirements:
|
298
|
+
- - ">="
|
299
|
+
- !ruby/object:Gem::Version
|
300
|
+
version: '0'
|
301
|
+
requirements: []
|
302
|
+
rubyforge_project:
|
303
|
+
rubygems_version: 2.5.1
|
304
|
+
signing_key:
|
305
|
+
specification_version: 4
|
306
|
+
summary: Cells for common Bootstrap components.
|
307
|
+
test_files: []
|