tybo 0.3.3 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/bo/templates/index.html.erb +9 -9
- data/lib/tybo/version.rb +1 -1
- metadata +4 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ce933e9c12666d9a41a6ce852b44bd00e6d85da879cd4cc726470cbdadcb574
|
4
|
+
data.tar.gz: f953f447677b353bb44ff5936fd0c7a5b2ff8c95cb6a8676db9e1bd24e725965
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d91e5af863b3e2b8c2c9cabe47c39a500d8573732f9fa77e630a78a73b8e5973693ff9debf77639239aa029da59755b795e7007a1f968244f93984ed06b68741
|
7
|
+
data.tar.gz: 4aec757423dc661e48558f035991536ac1499b11ef0b6d00d7ae856b09010edc1910e7de030f5a5652af81ffaa2180ac123d54591db739d9cc2894208e076b38
|
@@ -1,17 +1,17 @@
|
|
1
1
|
<%%= render(IndexComponent.new) do |index| %>
|
2
2
|
<!-- Header -->
|
3
|
-
<%%=
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
3
|
+
<%%= turbo_frame_tag "<%= class_name.underscore.pluralize %>", target: '_top' do %>
|
4
|
+
<%%= index.with_header(
|
5
|
+
title: I18n.t('bo.<%= class_name.underscore %>.others').capitalize,
|
6
|
+
subtitle: I18n.t('bo.<%= class_name.underscore %>.subtitle').capitalize,
|
7
|
+
) do |header| %>
|
8
|
+
<%%= header.with_add_button(path: <%="new_#{options[:namespace]}_#{class_name.underscore}_path" %>) %>
|
9
|
+
<%%= header.with_export_button(path: <%= "export_csv_#{options[:namespace]}_#{class_name.pluralize.underscore}_path(format: :csv, params: {q: params.permit!['q']})"%>)%>
|
10
|
+
<%% end %>
|
10
11
|
|
11
12
|
<!-- Search Bar -->
|
12
|
-
|
13
|
+
<%%= render('search_bar') %>
|
13
14
|
<!-- Table -->
|
14
|
-
<%%= turbo_frame_tag "<%= class_name.underscore.pluralize %>", target: '_top', class: "shadow overflow-hidden rounded border-b border-gray-200" do %>
|
15
15
|
<%%= render('table') %>
|
16
16
|
<div class="py-2">
|
17
17
|
<%%== render partial: 'shared/pagination', locals: { pagy: @pagy } %>
|
data/lib/tybo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tybo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michel Delpierre
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-11-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '7
|
20
|
+
version: '7'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '7
|
27
|
+
version: '7'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: puma
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,9 +58,6 @@ dependencies:
|
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '3.2'
|
63
|
-
- - ">="
|
64
61
|
- !ruby/object:Gem::Version
|
65
62
|
version: 3.2.1
|
66
63
|
type: :runtime
|
@@ -68,9 +65,6 @@ dependencies:
|
|
68
65
|
version_requirements: !ruby/object:Gem::Requirement
|
69
66
|
requirements:
|
70
67
|
- - "~>"
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: '3.2'
|
73
|
-
- - ">="
|
74
68
|
- !ruby/object:Gem::Version
|
75
69
|
version: 3.2.1
|
76
70
|
- !ruby/object:Gem::Dependency
|