plutonium 0.19.10 → 0.19.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 +4 -4
- data/app/assets/plutonium.css +1 -1
- data/app/assets/plutonium.js +15 -8
- data/app/assets/plutonium.js.map +2 -2
- data/app/assets/plutonium.min.js +1 -1
- data/app/assets/plutonium.min.js.map +2 -2
- data/lib/generators/pu/gem/dotenv/dotenv_generator.rb +2 -2
- data/lib/generators/pu/gem/dotenv/templates/.env.local +1 -1
- data/lib/generators/pu/gem/dotenv/templates/.env.local.template +1 -1
- data/lib/generators/pu/gem/dotenv/templates/.env.test.local +5 -0
- data/lib/plutonium/ui/layout/rodauth_layout.rb +12 -4
- data/lib/plutonium/version.rb +1 -1
- data/package.json +1 -1
- data/src/js/controllers/easymde_controller.js +4 -2
- data/src/js/controllers/flatpickr_controller.js +4 -2
- data/src/js/controllers/intl_tel_input_controller.js +4 -2
- data/src/js/controllers/slim_select_controller.js +4 -2
- metadata +3 -2
@@ -13,13 +13,13 @@ module Pu
|
|
13
13
|
|
14
14
|
def start
|
15
15
|
in_root do
|
16
|
-
[".env", ".env.local", ".env.template", ".env.local.template"].each do |file|
|
16
|
+
[".env", ".env.local", ".env.template", ".env.local.template", ".env.test.local"].each do |file|
|
17
17
|
copy_file file
|
18
18
|
end
|
19
19
|
|
20
20
|
copy_file "config/initializers/001_ensure_required_env.rb"
|
21
21
|
|
22
|
-
gitignore "!/.env.template", "!/.env.local.template", "!/.env"
|
22
|
+
gitignore "!/.env", "!/.env.template", "!/.env.local.template", "!/.env.test.local"
|
23
23
|
|
24
24
|
insert_into_file "Gemfile", "\ngem \"dotenv\", groups: %i[development test]\n", after: /^gem ["']rails["'].*\n/
|
25
25
|
bundle!
|
@@ -11,18 +11,26 @@ module Plutonium
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def main_attributes = mix(super, {
|
14
|
-
class: "flex flex-col items-center justify-center px-6 py-8 mx-auto
|
14
|
+
class: "flex flex-col items-center justify-center px-6 py-8 mx-auto lg:py-0"
|
15
15
|
})
|
16
16
|
|
17
17
|
def render_content(&)
|
18
|
-
|
19
|
-
helpers.resource_logo_tag classname: "w-24 h-24 mr-2"
|
20
|
-
end
|
18
|
+
render_logo
|
21
19
|
|
22
20
|
div(class: "w-full bg-white rounded-lg shadow dark:border md:mt-0 sm:max-w-md xl:p-0 dark:bg-gray-800 dark:border-gray-700") {
|
23
21
|
div(class: "p-6 space-y-4 md:space-y-6 sm:p-8", &)
|
24
22
|
}
|
25
23
|
|
24
|
+
render_links
|
25
|
+
end
|
26
|
+
|
27
|
+
def render_logo
|
28
|
+
link_to root_path, class: "flex items-center text-2xl font-semibold text-gray-900 dark:text-white" do
|
29
|
+
helpers.resource_logo_tag classname: "w-24 h-24 mr-2"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def render_links
|
26
34
|
div(class: "mt-4 flex items-center font-medium text-secondary-600 dark:text-secondary-400 hover:underline") {
|
27
35
|
render Phlex::TablerIcons::Home2.new
|
28
36
|
link_to "Home", root_path, class: "font-medium text-secondary-600 dark:text-secondary-400"
|
data/lib/plutonium/version.rb
CHANGED
data/package.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plutonium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Froelich
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: zeitwerk
|
@@ -584,6 +584,7 @@ files:
|
|
584
584
|
- lib/generators/pu/gem/dotenv/templates/.env.local
|
585
585
|
- lib/generators/pu/gem/dotenv/templates/.env.local.template
|
586
586
|
- lib/generators/pu/gem/dotenv/templates/.env.template
|
587
|
+
- lib/generators/pu/gem/dotenv/templates/.env.test.local
|
587
588
|
- lib/generators/pu/gem/dotenv/templates/.keep
|
588
589
|
- lib/generators/pu/gem/dotenv/templates/config/initializers/001_ensure_required_env.rb
|
589
590
|
- lib/generators/pu/gem/letter_opener/letter_opener_generator.rb
|