tybo 0.3.4 → 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 +10 -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,15 +1,15 @@
|
|
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
|
8
8
|
- Julien Camblan
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-11-
|
12
|
+
date: 2023-11-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -57,16 +57,16 @@ dependencies:
|
|
57
57
|
name: ransack
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - "
|
60
|
+
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
62
|
+
version: 3.2.1
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - "
|
67
|
+
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
69
|
+
version: 3.2.1
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: pagy
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -275,7 +275,7 @@ licenses:
|
|
275
275
|
- MIT
|
276
276
|
metadata:
|
277
277
|
homepage_uri: https://rubygems.org/gems/tybo
|
278
|
-
post_install_message:
|
278
|
+
post_install_message:
|
279
279
|
rdoc_options: []
|
280
280
|
require_paths:
|
281
281
|
- lib
|
@@ -290,8 +290,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
290
290
|
- !ruby/object:Gem::Version
|
291
291
|
version: '0'
|
292
292
|
requirements: []
|
293
|
-
rubygems_version: 3.3.
|
294
|
-
signing_key:
|
293
|
+
rubygems_version: 3.0.3.1
|
294
|
+
signing_key:
|
295
295
|
specification_version: 4
|
296
296
|
summary: A tailwind custom admin engine for Ruby on Rails
|
297
297
|
test_files: []
|