bullet_train-themes-tailwind_css 1.0.10 → 1.0.11
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c7303e92428b04ed12211d3707d3ca80ab6462f4f58f8de26bb9e7d8c5171f6
|
|
4
|
+
data.tar.gz: ca9101d5217e280a80f43f257556110c3f6c19901731374b46171bba6de00fba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 367af6b907a592e7afd3ef70472330eb64b731de4ab378fe7839c2e5b1f0d4c444822fe9f6cf0bb4eb2aef704c3abe72124eb8ee13fb1f770572d2ad81b6b8c1
|
|
7
|
+
data.tar.gz: 03a983fbd37c9f28cecb94f2aee2e7eae05ff7bbb6d86ade2c4027273b3007c78f80287306e1bacee7d200000d4e76e33c0005039f705702766d93827fc4c82f
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<%= render 'shared/attributes/attribute', attribute: attribute, strategy: strategy, url: url do %>
|
|
6
6
|
<span class="inline-block">
|
|
7
7
|
<% if object.send(success_method) %>
|
|
8
|
-
<i class="fal fa-check ti ti-check text-green"></i>
|
|
8
|
+
<i class="fal fa-check ti ti-check text-green-500"></i>
|
|
9
9
|
<% elsif object.send(attempting_method) %>
|
|
10
10
|
<style>
|
|
11
11
|
<% if font_awesome? %>
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<i class="fal fa-sync ti ti-reload"></i>
|
|
19
19
|
</span>
|
|
20
20
|
<% elsif object.send(failure_method) %>
|
|
21
|
-
<i class="fal fa-close ti ti-close text-red"></i>
|
|
21
|
+
<i class="fal fa-close ti ti-close text-red-500"></i>
|
|
22
22
|
<% end %>
|
|
23
23
|
</span>
|
|
24
24
|
<% end %>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<% object ||= current_attributes_object %>
|
|
2
|
+
<% strategy ||= current_attributes_strategy || :none %>
|
|
3
|
+
<% url ||= nil %>
|
|
4
|
+
|
|
5
|
+
<% if object.send(attribute).attached? %>
|
|
6
|
+
<%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy, url: url do %>
|
|
7
|
+
<%= link_to url_for(object.send(attribute)), class: 'button download-file' do %>
|
|
8
|
+
<i class="leading-none mr-2 text-base ti ti-download"></i>
|
|
9
|
+
<span>Download File</span>
|
|
10
|
+
<% end %>
|
|
11
|
+
<% end %>
|
|
12
|
+
<% end %>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bullet_train-themes-tailwind_css
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Culver
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-07-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: standard
|
|
@@ -79,6 +79,7 @@ files:
|
|
|
79
79
|
- Rakefile
|
|
80
80
|
- app/assets/config/bullet_train_themes_tailwind_css_manifest.js
|
|
81
81
|
- app/views/themes/tailwind_css/attributes/_attempt.html.erb
|
|
82
|
+
- app/views/themes/tailwind_css/attributes/_file.erb
|
|
82
83
|
- app/views/themes/tailwind_css/fields/_buttons.html.erb
|
|
83
84
|
- app/views/themes/tailwind_css/fields/_cloudinary_image.html.erb
|
|
84
85
|
- app/views/themes/tailwind_css/fields/_color_picker.html.erb
|
|
@@ -113,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
113
114
|
- !ruby/object:Gem::Version
|
|
114
115
|
version: '0'
|
|
115
116
|
requirements: []
|
|
116
|
-
rubygems_version: 3.
|
|
117
|
+
rubygems_version: 3.2.22
|
|
117
118
|
signing_key:
|
|
118
119
|
specification_version: 4
|
|
119
120
|
summary: Bullet Train Themes Tailwind CSS Base
|