bullet_train-themes-light 1.0.13 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 273572abc86b3d5dfbdd46e9971d01bb5058b092dea03fede0c3439b09735760
|
4
|
+
data.tar.gz: a61a73b5cbca952422c243a8719927dda45efd7ca13c49b1478594010c735734
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2884d258a59ffade5e60e111308690b5fb822aa3e92867a9c6ee4029dc719e9dd0a40aecd01b4006b47a04741a824411e46f715458e200327f2b6f8f94aa6e9a
|
7
|
+
data.tar.gz: 21abb80f0952ace87932441be16db25443cbc63f7b7278faf14a53b485af89fc4aa1b700f68b0ea0d6b5f1e4b866a3359998856d79f8a1003c3b6ba13723acfc
|
@@ -133,4 +133,19 @@
|
|
133
133
|
}
|
134
134
|
}
|
135
135
|
}
|
136
|
+
|
137
|
+
.pagy-nav .page a,
|
138
|
+
.pagy-nav .page.active {
|
139
|
+
@apply button-alternative;
|
140
|
+
}
|
141
|
+
|
142
|
+
.pagy-nav .page.prev.disabled,
|
143
|
+
.pagy-nav .page.next.disabled {
|
144
|
+
@apply hidden;
|
145
|
+
}
|
146
|
+
|
147
|
+
.pagy-nav .page.active,
|
148
|
+
.pagy-nav-js .page.active {
|
149
|
+
@apply button;
|
150
|
+
}
|
136
151
|
}
|
@@ -4,6 +4,7 @@
|
|
4
4
|
<% no_background ||= false %>
|
5
5
|
<% title_size ||= "text-xl" %>
|
6
6
|
<% body = p.content_for(:body) || p.content_for(:raw_body) %>
|
7
|
+
<% pagy ||= nil %>
|
7
8
|
|
8
9
|
<div class="<%= "bg-white rounded-md shadow dark:bg-sealBlue-400" unless no_background %> overflow-hidden">
|
9
10
|
<div class="py-6 px-8 space-y-2 <%= 'border-b shadow-sm dark:border-sealBlue-500' if divider %>">
|
@@ -35,10 +36,17 @@
|
|
35
36
|
</div>
|
36
37
|
<% end %>
|
37
38
|
|
38
|
-
<% if p.content_for? :actions %>
|
39
|
+
<% if p.content_for? :actions || pagy %>
|
39
40
|
<div class="pb-7 px-8 space-y-7">
|
40
|
-
<div class="
|
41
|
-
|
41
|
+
<div class="flex">
|
42
|
+
<div class="flex-1 space-x">
|
43
|
+
<%= p.content_for :actions %>
|
44
|
+
</div>
|
45
|
+
<% if pagy && pagy.pages > 1 %>
|
46
|
+
<div class="flex-0">
|
47
|
+
<%== pagy_nav(pagy) %>
|
48
|
+
</div>
|
49
|
+
<% end %>
|
42
50
|
</div>
|
43
51
|
</div>
|
44
52
|
<% end %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-themes-light
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.14
|
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-05-
|
11
|
+
date: 2022-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|