lesli_admin 0.5.0 → 0.6.1
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/javascripts/lesli_admin/application.js +1 -3863
- data/app/assets/stylesheets/lesli_admin/application.css +1 -0
- data/{lib/vue/apps/dashboards/show.vue → app/controllers/lesli_admin/abouts_controller.rb} +16 -12
- data/app/controllers/lesli_admin/accounts_controller.rb +49 -46
- data/app/controllers/lesli_admin/dashboard/components_controller.rb +1 -1
- data/app/models/lesli_admin/dashboard/component.rb +3 -4
- data/app/services/lesli_admin/account_service.rb +17 -1
- data/app/views/lesli_admin/abouts/show.html.erb +1 -0
- data/app/views/lesli_admin/partials/_engine-navigation.html.erb +2 -1
- data/config/locales/translations.en.yml +6 -3
- data/config/locales/translations.es.yml +6 -3
- data/config/locales/translations.fr.yml +41 -0
- data/config/locales/translations.it.yml +41 -0
- data/config/locales/translations.pt.yml +41 -0
- data/config/routes.rb +5 -16
- data/db/seed/development.rb +0 -0
- data/db/seed/production.rb +0 -0
- data/{app/assets/stylesheets/lesli_admin/application.scss → db/seeds.rb} +16 -5
- data/lib/lesli_admin/version.rb +2 -2
- data/lib/scss/application.scss +0 -0
- data/lib/vue/application.js +19 -14
- data/lib/vue/apps/about/show.vue +74 -0
- data/lib/vue/apps/account/components/form-address.vue +1 -1
- data/lib/vue/apps/account/components/form-contact.vue +1 -1
- data/lib/vue/apps/account/components/form-information.vue +4 -4
- data/lib/vue/apps/account/show.vue +8 -11
- data/lib/vue/apps/profile/show.vue +129 -0
- data/lib/vue/stores/account.js +111 -0
- data/lib/vue/stores/translations.json +174 -0
- data/license +674 -0
- data/readme.md +14 -6
- metadata +16 -4
data/readme.md
CHANGED
@@ -11,20 +11,28 @@
|
|
11
11
|
</p>
|
12
12
|
<hr/>
|
13
13
|
|
14
|
+
<br />
|
15
|
+
|
16
|
+
<div align="center">
|
17
|
+
<img
|
18
|
+
style="width:100%;max-width:800px;border-radius:6px;"
|
19
|
+
alt="Lesli screenshot" src="./docs/images/screenshot.png" />
|
20
|
+
</div>
|
21
|
+
|
14
22
|
### Quick start
|
15
23
|
|
16
24
|
```shell
|
17
|
-
# Add LesliAdmin engine
|
25
|
+
# Add LesliAdmin engine gem
|
18
26
|
bundle add lesli_admin
|
19
27
|
```
|
20
28
|
|
21
29
|
```shell
|
22
|
-
# Setup database
|
30
|
+
# Setup & initialize the database
|
23
31
|
rake lesli:db:setup
|
24
32
|
```
|
25
33
|
|
26
34
|
```ruby
|
27
|
-
# Load LesliAdmin
|
35
|
+
# Load LesliAdmin engine
|
28
36
|
Rails.application.routes.draw do
|
29
37
|
mount LesliAdmin::Engine => "/admin"
|
30
38
|
end
|
@@ -32,15 +40,15 @@ end
|
|
32
40
|
|
33
41
|
|
34
42
|
### Documentation
|
35
|
-
* [website](https://www.lesli.dev/
|
43
|
+
* [website](https://www.lesli.dev/)
|
36
44
|
* [database](./docs/database.md)
|
37
|
-
* [documentation](https://www.lesli.dev/
|
45
|
+
* [documentation](https://www.lesli.dev/engines/admin/)
|
38
46
|
|
39
47
|
|
40
48
|
### Get in touch with Lesli
|
41
49
|
|
42
|
-
* [Website: https://www.lesli.tech](https://www.lesli.tech)
|
43
50
|
* [Email: hello@lesli.tech](hello@lesli.tech)
|
51
|
+
* [Website: https://www.lesli.tech](https://www.lesli.tech)
|
44
52
|
* [Twitter: @LesliTech](https://twitter.com/LesliTech)
|
45
53
|
|
46
54
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lesli_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Lesli Development Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -49,7 +49,8 @@ files:
|
|
49
49
|
- app/assets/config/lesli_admin_manifest.js
|
50
50
|
- app/assets/images/lesli_admin/admin-logo.svg
|
51
51
|
- app/assets/javascripts/lesli_admin/application.js
|
52
|
-
- app/assets/stylesheets/lesli_admin/application.
|
52
|
+
- app/assets/stylesheets/lesli_admin/application.css
|
53
|
+
- app/controllers/lesli_admin/abouts_controller.rb
|
53
54
|
- app/controllers/lesli_admin/accounts_controller.rb
|
54
55
|
- app/controllers/lesli_admin/application_controller.rb
|
55
56
|
- app/controllers/lesli_admin/dashboard/components_controller.rb
|
@@ -66,6 +67,7 @@ files:
|
|
66
67
|
- app/models/lesli_admin/dashboard/component.rb
|
67
68
|
- app/services/lesli_admin/account_service.rb
|
68
69
|
- app/views/layouts/lesli_admin/application.html.erb
|
70
|
+
- app/views/lesli_admin/abouts/show.html.erb
|
69
71
|
- app/views/lesli_admin/accounts/_account.html.erb
|
70
72
|
- app/views/lesli_admin/accounts/_form.html.erb
|
71
73
|
- app/views/lesli_admin/accounts/edit.html.erb
|
@@ -84,24 +86,34 @@ files:
|
|
84
86
|
- app/views/lesli_admin/users/show.html.erb
|
85
87
|
- config/locales/translations.en.yml
|
86
88
|
- config/locales/translations.es.yml
|
89
|
+
- config/locales/translations.fr.yml
|
90
|
+
- config/locales/translations.it.yml
|
91
|
+
- config/locales/translations.pt.yml
|
87
92
|
- config/routes.rb
|
88
93
|
- db/migrate/0101000110_create_lesli_admin_accounts.rb
|
89
94
|
- db/migrate/0101050110_create_lesli_admin_dashboards.rb
|
90
95
|
- db/migrate/0101050210_create_lesli_admin_dashboard_components.rb
|
96
|
+
- db/seed/development.rb
|
97
|
+
- db/seed/production.rb
|
98
|
+
- db/seeds.rb
|
91
99
|
- lib/lesli_admin.rb
|
92
100
|
- lib/lesli_admin/engine.rb
|
93
101
|
- lib/lesli_admin/version.rb
|
102
|
+
- lib/scss/application.scss
|
94
103
|
- lib/tasks/lesli_admin_tasks.rake
|
95
104
|
- lib/vue/application.js
|
105
|
+
- lib/vue/apps/about/show.vue
|
96
106
|
- lib/vue/apps/account/components/form-address.vue
|
97
107
|
- lib/vue/apps/account/components/form-contact.vue
|
98
108
|
- lib/vue/apps/account/components/form-information.vue
|
99
109
|
- lib/vue/apps/account/show.vue
|
100
110
|
- lib/vue/apps/dashboards/components/lesli-version.vue
|
101
|
-
- lib/vue/apps/
|
111
|
+
- lib/vue/apps/profile/show.vue
|
112
|
+
- lib/vue/stores/account.js
|
102
113
|
- lib/vue/stores/account_settings.js
|
103
114
|
- lib/vue/stores/roles.js
|
104
115
|
- lib/vue/stores/translations.json
|
116
|
+
- license
|
105
117
|
- readme.md
|
106
118
|
homepage: https://www.lesli.dev/
|
107
119
|
licenses:
|