lesli_admin 0.1.0 → 0.2.0
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/config/lesli_admin_manifest.js +1 -0
- data/app/assets/images/lesli_admin/admin-logo.svg +1 -0
- data/app/assets/javascripts/lesli_admin/application.js +2635 -244
- data/app/assets/javascripts/lesli_admin/translations.js +2291 -0
- data/app/assets/stylesheets/lesli_admin/application.scss +32 -0
- data/app/assets/stylesheets/lesli_admin/users.scss +67 -0
- data/app/controllers/lesli_admin/profiles_controller.rb +56 -0
- data/app/controllers/lesli_admin/users_controller.rb +5 -196
- data/app/helpers/lesli_admin/profiles_helper.rb +4 -0
- data/app/views/lesli_admin/profiles/edit.html.erb +10 -0
- data/app/views/lesli_admin/profiles/index.html.erb +14 -0
- data/app/views/lesli_admin/profiles/new.html.erb +9 -0
- data/app/views/lesli_admin/profiles/show.html.erb +1 -0
- data/app/views/lesli_admin/users/show.html.erb +1 -10
- data/config/locales/translations.en.yml +6 -0
- data/config/locales/translations.es.yml +6 -0
- data/config/routes.rb +4 -7
- data/lib/lesli_admin/engine.rb +31 -0
- data/lib/lesli_admin/version.rb +2 -1
- data/lib/vue/application.js +15 -98
- data/lib/vue/apps/account/show.vue +2 -2
- data/lib/vue/apps/dashboard/show.vue +6 -8
- data/lib/vue/apps/profile/show.vue +22 -15
- data/lib/vue/apps/users/components/information-card.vue +4 -7
- data/lib/vue/apps/users/components/information-form.vue +4 -7
- data/lib/vue/apps/users/index.vue +10 -4
- data/lib/vue/apps/users/show.vue +25 -10
- data/lib/vue/stores/translations.json +20 -0
- data/lib/vue/stores/users.js +1 -1
- data/readme.md +61 -18
- metadata +16 -14
- data/app/assets/stylesheets/lesli_admin/application.css +0 -15
- data/app/models/lesli_admin/dashboard.rb +0 -4
- data/app/models/lesli_admin/user.rb +0 -4
- data/app/services/lesli_admin/user_service.rb +0 -300
- data/lib/vue/stores/account.js +0 -113
- data/lib/vue/stores/descriptor.js +0 -116
- data/lib/vue/stores/descriptors.js +0 -167
- data/lib/vue/stores/integration.js +0 -103
- data/lib/vue/stores/role.js +0 -243
- data/lib/vue/stores/systemController.js +0 -67
- data/lib/vue/stores/user.js +0 -319
- /data/lib/vue/stores/{accountSettings.js → account_settings.js} +0 -0
@@ -1,33 +1,31 @@
|
|
1
1
|
<script setup>
|
2
2
|
|
3
|
-
|
4
|
-
import dashboardComponent from "Lesli/layouts/dashboard-component.vue"
|
5
3
|
import { lesliChartLine } from "lesli-vue/components"
|
6
4
|
|
7
5
|
</script>
|
8
6
|
<template>
|
9
|
-
<lesli-application>
|
7
|
+
<lesli-application-container>
|
10
8
|
<lesli-header title="Dashboard"></lesli-header>
|
11
9
|
|
12
10
|
<div class="columns">
|
13
11
|
<div class="column">
|
14
|
-
<lesli-
|
12
|
+
<lesli-application-component>
|
15
13
|
<lesli-chart-line
|
16
14
|
title="My daily activity graph"
|
17
15
|
:series="[{ data:[4, 1, 4, 2, 5] }]"
|
18
16
|
:labels="['Monday','Tuesday','Wednesday', 'Thursday', 'Friday']">
|
19
17
|
</lesli-chart-line>
|
20
|
-
</lesli-
|
18
|
+
</lesli-application-component>
|
21
19
|
</div>
|
22
20
|
<div class="column">
|
23
|
-
<lesli-
|
21
|
+
<lesli-application-component>
|
24
22
|
<lesli-chart-line
|
25
23
|
title="My daily activity graph"
|
26
24
|
:series="[{ name: 'Last week', data:[4, 1, 4, 2, 5] }, { name: 'Current week', data:[3, 2, 5, 4, 2] }]"
|
27
25
|
:labels="['Monday','Tuesday','Wednesday', 'Thursday', 'Friday']">
|
28
26
|
</lesli-chart-line>
|
29
|
-
</lesli-
|
27
|
+
</lesli-application-component>
|
30
28
|
</div>
|
31
29
|
</div>
|
32
|
-
</lesli-application>
|
30
|
+
</lesli-application-container>
|
33
31
|
</template>
|
@@ -40,12 +40,18 @@ import { useRouter, useRoute } from 'vue-router'
|
|
40
40
|
|
41
41
|
|
42
42
|
// · import lesli stores
|
43
|
-
import { useUser } from "
|
44
|
-
import { useProfile } from "Lesli/shared/stores/profile"
|
43
|
+
import { useUser } from "Lesli/stores/user"
|
45
44
|
|
46
45
|
|
46
|
+
// · implement stores
|
47
|
+
const storeUser = useUser()
|
48
|
+
const router = useRouter()
|
49
|
+
const route = useRoute()
|
50
|
+
|
47
51
|
// · import profile components
|
48
|
-
|
52
|
+
|
53
|
+
import informationCard from "LesliAdmin/apps/users/components/information-card.vue"
|
54
|
+
/*
|
49
55
|
import informationForm from "CloudAdmin/apps/users/components/information-form.vue"
|
50
56
|
|
51
57
|
import managementSession from "CloudAdmin/apps/users/components/management-sessions.vue"
|
@@ -53,6 +59,8 @@ import managementSecurity from "CloudAdmin/apps/users/components/management-secu
|
|
53
59
|
|
54
60
|
import integrationsInformation from "CloudAdmin/apps/users/components/integrations-information.vue"
|
55
61
|
import settings from "CloudAdmin/apps/users/components/management-settings.vue"
|
62
|
+
*/
|
63
|
+
|
56
64
|
/*
|
57
65
|
import cardInformation from "../users/components/information-card.vue"
|
58
66
|
import formInformation from "../users/components/information-form.vue"
|
@@ -64,12 +72,6 @@ import changeEmail from "./components/change-email.vue"
|
|
64
72
|
*/
|
65
73
|
|
66
74
|
|
67
|
-
// · implement stores
|
68
|
-
const storeUser = useUser()
|
69
|
-
const router = useRouter()
|
70
|
-
const route = useRoute()
|
71
|
-
|
72
|
-
|
73
75
|
// · translations
|
74
76
|
const translations = {
|
75
77
|
core: {
|
@@ -86,20 +88,25 @@ const tab = ref(0)
|
|
86
88
|
|
87
89
|
// ·
|
88
90
|
onMounted(() => {
|
89
|
-
storeUser.getUser()
|
90
|
-
storeUser.getOptions()
|
91
|
+
//storeUser.getUser()
|
92
|
+
//storeUser.getOptions()
|
91
93
|
})
|
92
94
|
|
93
95
|
</script>
|
94
96
|
<template>
|
95
|
-
<application-
|
97
|
+
<lesli-application-container>
|
98
|
+
{{ storeProfile.profile }}
|
96
99
|
<information-card></information-card>
|
100
|
+
</lesli-application-container>
|
101
|
+
<!--
|
102
|
+
<application-component>
|
103
|
+
|
97
104
|
<lesli-tabs v-model="tab" v-if="storeUser.user.id">
|
98
105
|
<lesli-tab-item icon="info_outline" :title="translations.core.users.view_tab_title_information">
|
99
106
|
<information-form></information-form>
|
100
107
|
</lesli-tab-item>
|
101
108
|
<lesli-tab-item icon="security" :title="translations.core.users.view_tab_title_roles_and_privileges">
|
102
|
-
|
109
|
+
< ! - -form-roles></form-roles - - >
|
103
110
|
</lesli-tab-item>
|
104
111
|
<lesli-tab-item icon="lock_outline" :title="translations.core.users.view_tab_title_security || 'Security'">
|
105
112
|
<management-security></management-security>
|
@@ -108,11 +115,11 @@ onMounted(() => {
|
|
108
115
|
<management-session></management-session>
|
109
116
|
</lesli-tab-item>
|
110
117
|
<lesli-tab-item icon="settings" :title="translations.core.users.view_tab_title_settings">
|
111
|
-
|
118
|
+
< ! - - settings></settings - - >
|
112
119
|
</lesli-tab-item>
|
113
120
|
</lesli-tabs>
|
114
121
|
</application-component>
|
115
|
-
|
122
|
+
|
116
123
|
<section class="application-component">
|
117
124
|
<information-card></information-card>
|
118
125
|
<lesli-tabs v-if="storeUser.user.id">
|
@@ -17,7 +17,7 @@ GNU General Public License for more details.
|
|
17
17
|
You should have received a copy of the GNU General Public License
|
18
18
|
along with this program. If not, see http://www.gnu.org/licenses/.
|
19
19
|
|
20
|
-
Lesli · Ruby on Rails Development
|
20
|
+
Lesli · Ruby on Rails SaaS Development Framework.
|
21
21
|
|
22
22
|
Made with ♥ by https://www.lesli.tech
|
23
23
|
Building a better future, one line of code at a time.
|
@@ -26,16 +26,13 @@ Building a better future, one line of code at a time.
|
|
26
26
|
@website https://www.lesli.tech
|
27
27
|
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
|
28
28
|
|
29
|
-
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
29
|
+
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
30
30
|
// ·
|
31
31
|
*/
|
32
32
|
|
33
33
|
|
34
|
-
// · import vue tools
|
35
|
-
|
36
|
-
|
37
34
|
// · import lesli stores
|
38
|
-
import { useUser } from "
|
35
|
+
import { useUser } from "Lesli/stores/user"
|
39
36
|
|
40
37
|
|
41
38
|
// · implement stores
|
@@ -52,7 +49,7 @@ const translations = {
|
|
52
49
|
|
53
50
|
</script>
|
54
51
|
<template>
|
55
|
-
<div class="information-card mb-5">
|
52
|
+
<div class="user-information-card mb-5">
|
56
53
|
<div class="media is-align-items-center">
|
57
54
|
<div class="media-left">
|
58
55
|
<figure class="image is-128x128">
|
@@ -1,6 +1,5 @@
|
|
1
1
|
<script setup>
|
2
2
|
/*
|
3
|
-
|
4
3
|
Lesli
|
5
4
|
|
6
5
|
Copyright (c) 2023, Lesli Technologies, S. A.
|
@@ -18,28 +17,26 @@ GNU General Public License for more details.
|
|
18
17
|
You should have received a copy of the GNU General Public License
|
19
18
|
along with this program. If not, see http://www.gnu.org/licenses/.
|
20
19
|
|
21
|
-
Lesli ·
|
20
|
+
Lesli · Ruby on Rails SaaS Development Framework.
|
22
21
|
|
23
22
|
Made with ♥ by https://www.lesli.tech
|
24
23
|
Building a better future, one line of code at a time.
|
25
24
|
|
26
25
|
@contact hello@lesli.tech
|
27
|
-
@website https://lesli.tech
|
26
|
+
@website https://www.lesli.tech
|
28
27
|
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
|
29
28
|
|
30
|
-
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
29
|
+
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
31
30
|
// ·
|
32
|
-
|
33
31
|
*/
|
34
32
|
|
35
33
|
|
36
|
-
|
37
34
|
// · import vue tools
|
38
35
|
import { onMounted, inject } from "vue"
|
39
36
|
|
40
37
|
|
41
38
|
// · import lesli stores
|
42
|
-
import { useUser } from "
|
39
|
+
import { useUser } from "Lesli/stores/user"
|
43
40
|
|
44
41
|
|
45
42
|
// · import vue router composable
|
@@ -54,7 +54,9 @@ const storeUsers = useUsers()
|
|
54
54
|
const translations = {
|
55
55
|
core: {
|
56
56
|
roles: I18n.t("core.roles"),
|
57
|
-
users:
|
57
|
+
users: {
|
58
|
+
view_text_title_users: i18n.t('lesli_admin.users.title_users')
|
59
|
+
},
|
58
60
|
shared: I18n.t("core.shared")
|
59
61
|
}
|
60
62
|
}
|
@@ -96,6 +98,7 @@ const columns = [{
|
|
96
98
|
// ·
|
97
99
|
const selection = ref()
|
98
100
|
|
101
|
+
|
99
102
|
// · defining props
|
100
103
|
const props = defineProps({
|
101
104
|
appMountPath: {
|
@@ -114,6 +117,7 @@ const props = defineProps({
|
|
114
117
|
// · initializing
|
115
118
|
onMounted(() => {
|
116
119
|
storeUsers.fetchUsers()
|
120
|
+
i18n.t("lesli_admin.users.title_users")
|
117
121
|
})
|
118
122
|
|
119
123
|
|
@@ -123,7 +127,7 @@ function showUser(user) {
|
|
123
127
|
}
|
124
128
|
</script>
|
125
129
|
<template>
|
126
|
-
<lesli-application>
|
130
|
+
<lesli-application-container>
|
127
131
|
<lesli-header :title="translations.core.users.view_text_title_users + ' (' +storeUsers.index.pagination.total+ ')' ">
|
128
132
|
<lesli-button icon="add" :to="url.root(props.appMountPath+`/new`)">
|
129
133
|
{{ translations.core.users.view_text_add_user }}
|
@@ -136,6 +140,8 @@ function showUser(user) {
|
|
136
140
|
</lesli-button>
|
137
141
|
</lesli-header>
|
138
142
|
|
143
|
+
<lesli-toolbar>
|
144
|
+
</lesli-toolbar>
|
139
145
|
<!--
|
140
146
|
<lesli-toolbar
|
141
147
|
@search="storeUsers.search"
|
@@ -165,7 +171,7 @@ function showUser(user) {
|
|
165
171
|
:columns="columns"
|
166
172
|
:records="storeUsers.index.records"
|
167
173
|
:pagination="storeUsers.index.pagination"
|
168
|
-
:link="(user) => url.
|
174
|
+
:link="(user) => url.admin('users/:id', user.id)"
|
169
175
|
@paginate="storeUsers.paginateIndex"
|
170
176
|
@sort="storeUsers.sortIndex">
|
171
177
|
|
@@ -197,5 +203,5 @@ function showUser(user) {
|
|
197
203
|
</a>
|
198
204
|
</template>
|
199
205
|
</lesli-table>
|
200
|
-
</lesli-application>
|
206
|
+
</lesli-application-container>
|
201
207
|
</template>
|
data/lib/vue/apps/users/show.vue
CHANGED
@@ -17,7 +17,7 @@ GNU General Public License for more details.
|
|
17
17
|
You should have received a copy of the GNU General Public License
|
18
18
|
along with this program. If not, see http://www.gnu.org/licenses/.
|
19
19
|
|
20
|
-
Lesli · Ruby on Rails Development
|
20
|
+
Lesli · Ruby on Rails SaaS Development Framework.
|
21
21
|
|
22
22
|
Made with ♥ by https://www.lesli.tech
|
23
23
|
Building a better future, one line of code at a time.
|
@@ -26,7 +26,7 @@ Building a better future, one line of code at a time.
|
|
26
26
|
@website https://www.lesli.tech
|
27
27
|
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
|
28
28
|
|
29
|
-
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
29
|
+
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
30
30
|
// ·
|
31
31
|
*/
|
32
32
|
|
@@ -37,23 +37,28 @@ import { useRouter, useRoute } from 'vue-router'
|
|
37
37
|
|
38
38
|
|
39
39
|
// · import lesli stores
|
40
|
-
import { useUser } from "
|
40
|
+
import { useUser } from "Lesli/stores/user"
|
41
|
+
|
42
|
+
|
43
|
+
// · implement stores
|
44
|
+
const storeUser = useUser()
|
45
|
+
const router = useRouter()
|
46
|
+
const route = useRoute()
|
41
47
|
|
42
48
|
|
43
49
|
// · import profile components
|
44
|
-
import informationCard from "
|
50
|
+
import informationCard from "LesliAdmin/apps/users/components/information-card.vue"
|
51
|
+
import informationForm from "LesliAdmin/apps/users/components/information-form.vue"
|
52
|
+
/*
|
45
53
|
import informationForm from "CloudAdmin/apps/users/components/information-form.vue"
|
46
54
|
|
47
55
|
import managementRoles from "CloudAdmin/apps/users/components/management-roles.vue"
|
48
56
|
import managementSession from "CloudAdmin/apps/users/components/management-sessions.vue"
|
49
57
|
import managementSecurity from "CloudAdmin/apps/users/components/management-security.vue"
|
50
58
|
import managementSettings from "CloudAdmin/apps/users/components/management-settings.vue"
|
59
|
+
*/
|
51
60
|
|
52
61
|
|
53
|
-
// · implement stores
|
54
|
-
const storeUser = useUser()
|
55
|
-
const router = useRouter()
|
56
|
-
const route = useRoute()
|
57
62
|
|
58
63
|
|
59
64
|
// · translations
|
@@ -72,12 +77,21 @@ const tab = ref(0)
|
|
72
77
|
|
73
78
|
// · initializing
|
74
79
|
onMounted(() => {
|
75
|
-
storeUser.$reset()
|
76
|
-
storeUser.getOptions()
|
80
|
+
// storeUser.$reset()
|
81
|
+
// storeUser.getOptions()
|
77
82
|
storeUser.getUser(route.params?.id)
|
78
83
|
})
|
79
84
|
</script>
|
80
85
|
<template>
|
86
|
+
<lesli-application-container>
|
87
|
+
<information-card></information-card>
|
88
|
+
<lesli-tabs v-model="tab">
|
89
|
+
<lesli-tab-item icon="info_outline" title="Information">
|
90
|
+
<information-form></information-form>
|
91
|
+
</lesli-tab-item>
|
92
|
+
</lesli-tabs>
|
93
|
+
</lesli-application-container>
|
94
|
+
<!--
|
81
95
|
<application-component>
|
82
96
|
<information-card></information-card>
|
83
97
|
<lesli-tabs v-model="tab" v-if="storeUser.user.id">
|
@@ -98,4 +112,5 @@ onMounted(() => {
|
|
98
112
|
</lesli-tab-item>
|
99
113
|
</lesli-tabs>
|
100
114
|
</application-component>
|
115
|
+
-->
|
101
116
|
</template>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"en": {
|
3
|
+
"dashboards": {
|
4
|
+
"button_my": "My button in my dashboard",
|
5
|
+
"column_prueba_de_calendario": "my calendar"
|
6
|
+
},
|
7
|
+
"users": {
|
8
|
+
"title_users": "Users"
|
9
|
+
}
|
10
|
+
},
|
11
|
+
"es": {
|
12
|
+
"dashboards": {
|
13
|
+
"button_my": "Mi boton en mi dashboard",
|
14
|
+
"column_prueba_de_calendario": ":lesli_driver.dashboards.column_prueba_de_calendario:"
|
15
|
+
},
|
16
|
+
"users": {
|
17
|
+
"title_users": "Usuarios"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
data/lib/vue/stores/users.js
CHANGED
@@ -113,7 +113,7 @@ export const useUsers = defineStore("administration.users", {
|
|
113
113
|
|
114
114
|
this.http.get(
|
115
115
|
this.url
|
116
|
-
.
|
116
|
+
.lesli("users")
|
117
117
|
.search(this.search_string)
|
118
118
|
.paginate(this.index.pagination.page, this.filters.per_page)
|
119
119
|
.filter(query_filters)
|
data/readme.md
CHANGED
@@ -1,28 +1,71 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
<p align="center">
|
2
|
+
<img width="90" alt="LesliCloud logo" src="./app/assets/images/lesli_admin/admin-logo.svg" />
|
3
|
+
<h3 align="center">Administration area for the Lesli Framework.</h3>
|
4
|
+
</p>
|
3
5
|
|
4
|
-
|
5
|
-
|
6
|
+
<hr/>
|
7
|
+
<p align="center">
|
8
|
+
<a target="blank" href="https://rubygems.org/gems/lesli_admin">
|
9
|
+
<img src="https://badge.fury.io/rb/lesli_admin.svg" alt="Gem Version" height="18">
|
10
|
+
</a>
|
11
|
+
</p>
|
12
|
+
<hr/>
|
6
13
|
|
7
|
-
|
8
|
-
Add this line to your application's Gemfile:
|
14
|
+
### Quick start
|
9
15
|
|
10
|
-
```
|
11
|
-
|
16
|
+
```shell
|
17
|
+
# Add LesliAdmin engine
|
18
|
+
bundle add lesli_admin
|
12
19
|
```
|
13
20
|
|
14
|
-
|
15
|
-
|
16
|
-
|
21
|
+
```shell
|
22
|
+
# Setup database
|
23
|
+
rake lesli:db:setup
|
17
24
|
```
|
18
25
|
|
19
|
-
|
20
|
-
|
21
|
-
|
26
|
+
```ruby
|
27
|
+
# Load LesliAdmin
|
28
|
+
Rails.application.routes.draw do
|
29
|
+
mount LesliAdmin::Engine => "/admin"
|
30
|
+
end
|
22
31
|
```
|
23
32
|
|
24
|
-
## Contributing
|
25
|
-
Contribution directions go here.
|
26
33
|
|
27
|
-
|
28
|
-
|
34
|
+
### Documentation
|
35
|
+
* [Roadmap](./docs/roadmap.md)
|
36
|
+
* [database](./docs/database.md)
|
37
|
+
* [documentation](https://www.lesli.dev/documentation/)
|
38
|
+
|
39
|
+
|
40
|
+
### Get in touch
|
41
|
+
|
42
|
+
* [Website: https://www.lesli.tech](https://www.lesli.tech)
|
43
|
+
* [Email: hello@lesli.tech](hello@lesli.tech)
|
44
|
+
* [Twitter: @LesliTech](https://twitter.com/LesliTech)
|
45
|
+
|
46
|
+
|
47
|
+
### License
|
48
|
+
-------
|
49
|
+
Copyright (c) 2023, Lesli Technologies, S. A.
|
50
|
+
|
51
|
+
This program is free software: you can redistribute it and/or modify
|
52
|
+
it under the terms of the GNU General Public License as published by
|
53
|
+
the Free Software Foundation, either version 3 of the License, or
|
54
|
+
(at your option) any later version.
|
55
|
+
|
56
|
+
This program is distributed in the hope that it will be useful,
|
57
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
58
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
59
|
+
GNU General Public License for more details.
|
60
|
+
|
61
|
+
You should have received a copy of the GNU General Public License
|
62
|
+
along with this program. If not, see http://www.gnu.org/licenses/.
|
63
|
+
|
64
|
+
<hr />
|
65
|
+
<br />
|
66
|
+
|
67
|
+
<p align="center">
|
68
|
+
<img width="200" alt="Lesli logo" src="https://cdn.lesli.tech/lesli/brand/app-logo.svg" />
|
69
|
+
<h4 align="center">Ruby on Rails SaaS Development Framework.</h4>
|
70
|
+
</p>
|
71
|
+
|
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.2.0
|
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: 2023-09
|
11
|
+
date: 2023-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -33,21 +33,23 @@ extra_rdoc_files: []
|
|
33
33
|
files:
|
34
34
|
- Rakefile
|
35
35
|
- app/assets/config/lesli_admin_manifest.js
|
36
|
+
- app/assets/images/lesli_admin/admin-logo.svg
|
36
37
|
- app/assets/javascripts/lesli_admin/application.js
|
37
|
-
- app/assets/
|
38
|
+
- app/assets/javascripts/lesli_admin/translations.js
|
39
|
+
- app/assets/stylesheets/lesli_admin/application.scss
|
40
|
+
- app/assets/stylesheets/lesli_admin/users.scss
|
38
41
|
- app/controllers/lesli_admin/accounts_controller.rb
|
39
42
|
- app/controllers/lesli_admin/application_controller.rb
|
40
43
|
- app/controllers/lesli_admin/dashboards_controller.rb
|
44
|
+
- app/controllers/lesli_admin/profiles_controller.rb
|
41
45
|
- app/controllers/lesli_admin/users_controller.rb
|
42
46
|
- app/helpers/lesli_admin/application_helper.rb
|
43
47
|
- app/helpers/lesli_admin/dashboards_helper.rb
|
48
|
+
- app/helpers/lesli_admin/profiles_helper.rb
|
44
49
|
- app/jobs/lesli_admin/application_job.rb
|
45
50
|
- app/mailers/lesli_admin/application_mailer.rb
|
46
51
|
- app/models/lesli_admin/account.rb
|
47
52
|
- app/models/lesli_admin/application_record.rb
|
48
|
-
- app/models/lesli_admin/dashboard.rb
|
49
|
-
- app/models/lesli_admin/user.rb
|
50
|
-
- app/services/lesli_admin/user_service.rb
|
51
53
|
- app/views/layouts/lesli_admin/application.html.erb
|
52
54
|
- app/views/lesli_admin/accounts/_account.html.erb
|
53
55
|
- app/views/lesli_admin/accounts/_form.html.erb
|
@@ -62,10 +64,16 @@ files:
|
|
62
64
|
- app/views/lesli_admin/dashboards/new.html.erb
|
63
65
|
- app/views/lesli_admin/dashboards/show.html.erb
|
64
66
|
- app/views/lesli_admin/partials/_engine-navigation.html.erb
|
67
|
+
- app/views/lesli_admin/profiles/edit.html.erb
|
68
|
+
- app/views/lesli_admin/profiles/index.html.erb
|
69
|
+
- app/views/lesli_admin/profiles/new.html.erb
|
70
|
+
- app/views/lesli_admin/profiles/show.html.erb
|
65
71
|
- app/views/lesli_admin/users/edit.html.erb
|
66
72
|
- app/views/lesli_admin/users/index.html.erb
|
67
73
|
- app/views/lesli_admin/users/new.html.erb
|
68
74
|
- app/views/lesli_admin/users/show.html.erb
|
75
|
+
- config/locales/translations.en.yml
|
76
|
+
- config/locales/translations.es.yml
|
69
77
|
- config/routes.rb
|
70
78
|
- lib/lesli_admin.rb
|
71
79
|
- lib/lesli_admin/engine.rb
|
@@ -90,15 +98,9 @@ files:
|
|
90
98
|
- lib/vue/apps/users/index.vue
|
91
99
|
- lib/vue/apps/users/new.vue
|
92
100
|
- lib/vue/apps/users/show.vue
|
93
|
-
- lib/vue/stores/
|
94
|
-
- lib/vue/stores/accountSettings.js
|
95
|
-
- lib/vue/stores/descriptor.js
|
96
|
-
- lib/vue/stores/descriptors.js
|
97
|
-
- lib/vue/stores/integration.js
|
98
|
-
- lib/vue/stores/role.js
|
101
|
+
- lib/vue/stores/account_settings.js
|
99
102
|
- lib/vue/stores/roles.js
|
100
|
-
- lib/vue/stores/
|
101
|
-
- lib/vue/stores/user.js
|
103
|
+
- lib/vue/stores/translations.json
|
102
104
|
- lib/vue/stores/users.js
|
103
105
|
- readme.md
|
104
106
|
homepage: https://www.lesli.dev/
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
10
|
-
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
-
* It is generally better to create a new file per style scope.
|
12
|
-
*
|
13
|
-
*= require_tree .
|
14
|
-
*= require_self
|
15
|
-
*/
|