From b6c8a347cdf19fbda5e5e8d3a17474ecc44331f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mois=C3=A9s=20de=20Jes=C3=BAs=20Cort=C3=A9s=20Castellanos?= <96152034+notsoweb@users.noreply.github.com> Date: Fri, 13 Dec 2024 16:15:01 -0600 Subject: [PATCH] ADD: Plantilla Holos (#1) --- .env.example | 11 +- .gitignore | 2 + auth.html | 14 ++ colors.json.example | 34 +++ index.html | 4 +- package-lock.json | 69 +++++- package.json | 10 +- public/images/.gitignore | 2 + src/App.vue | 12 - src/{main.js => auth.js} | 11 +- src/components/HelloWorld.vue | 43 ---- src/components/Holos/AuthenticationCard.vue | 11 - .../Holos/AuthenticationCardLogo.vue | 17 -- src/components/Holos/Button/Icon.vue | 4 +- src/components/Holos/Card/Indicator.vue | 14 +- src/components/Holos/ConfirmsPassword.vue | 50 ++-- src/components/Holos/DropdownLink.vue | 10 +- src/components/Holos/Form/Elements/Error.vue | 4 +- src/components/Holos/Form/Elements/Label.vue | 2 +- src/components/Holos/Form/Image.vue | 16 +- src/components/Holos/Form/Input.vue | 20 +- src/components/Holos/Form/InputWithIcon.vue | 9 +- src/components/Holos/Form/Selectable.vue | 20 +- src/components/Holos/Form/SingleFile.vue | 12 +- src/components/Holos/Form/Switch.vue | 29 ++- src/components/Holos/Form/Textarea.vue | 12 +- .../Holos/Form/Todo/ItemWithForm.vue | 20 +- src/components/Holos/Inbox.vue | 12 +- src/components/Holos/Inbox/Item.vue | 9 +- src/components/Holos/Inbox/Menu/Item.vue | 15 +- src/components/Holos/Inbox/Menu/Static.vue | 12 +- .../Holos/Layout/{AppLayout.vue => App.vue} | 16 +- .../Holos/Layout/{AuthLayout.vue => Auth.vue} | 31 ++- src/components/Holos/Layout/TermsLayout.vue | 21 +- src/components/Holos/Logo.vue | 15 +- src/components/Holos/Modal/Destroy.vue | 6 +- src/components/Holos/Modal/Edit.vue | 6 +- src/components/Holos/Modal/Show.vue | 9 +- .../Holos/Modal/Template/Destroy.vue | 17 +- src/components/Holos/Notification/Info.vue | 74 ------ src/components/Holos/PageHeader.vue | 21 +- src/components/Holos/Searcher.vue | 23 +- src/components/Holos/Skeleton/Header.vue | 68 ++--- .../Skeleton/Header/NotificationLink.vue | 67 ----- .../Holos/Skeleton/Sidebar/Left.vue | 13 +- .../Holos/Skeleton/Sidebar/Link.vue | 23 +- .../Holos/Skeleton/Sidebar/Notification.vue | 10 +- .../Skeleton/Sidebar/Notification/Item.vue | 46 ++-- .../Holos/Skeleton/Sidebar/Right.vue | 6 +- .../Holos/Skeleton/Sidebar/Section.vue | 7 +- src/components/Holos/Table.vue | 2 +- src/components/Shared/GoogleIcon.vue | 14 +- src/config.js | 11 + src/controllers/DateController.js | 12 +- src/controllers/PrintController.js | 1 - src/controllers/SearcherController.js | 67 +++-- src/css/app.css | 94 +++++++ src/css/base.css | 8 +- src/css/icons.css | 92 +++++++ ...0TV6x4yFH8F-H5OdzEL3sVTgJtfbYxOLojCL.woff2 | Bin 0 -> 285492 bytes ...0TV6x4yFH8F-H5OdzEL3sVTgJtfbYxOLojCL.woff2 | Bin 0 -> 232212 bytes ...22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2 | Bin 0 -> 245764 bytes ...22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2 | Bin 0 -> 300776 bytes ...Zs-QtQth3-jOcbTCVpeRL2w5rwZu2rIelXxc.woff2 | Bin 0 -> 282660 bytes ...Zs-QtQth3-jOcbTCVpeRL2w5rwZu2rIelXxc.woff2 | Bin 0 -> 349968 bytes src/css/multiselect.css | 57 +++++ src/css/notifications.css | 234 ++++++++++++++++++ src/index.js | 52 ++++ src/lang/es.js | 4 + src/lang/i18n.js | 9 +- src/layouts/AppLayout.vue | 33 +-- src/pages/Admin/Users/Create.vue | 42 ++-- src/pages/Admin/Users/Edit.vue | 46 ++-- src/pages/Admin/Users/Form.vue | 4 +- src/pages/Admin/Users/Index.vue | 66 +++-- src/pages/Admin/Users/Module.js | 14 +- src/pages/Admin/Users/Roles.vue | 37 ++- src/pages/Admin/Users/Settings.vue | 43 ++-- src/pages/Admin/Users/UpdatePassword.vue | 21 +- src/pages/Auth/ForgotPassword.vue | 74 +++--- src/pages/Auth/Login.vue | 89 ++++--- src/pages/Auth/Register.vue | 8 +- src/pages/Auth/ResetPassword.vue | 72 +++--- src/pages/Auth/VerifyEmail.vue | 6 +- src/pages/Dashboard/Index.vue | 13 +- src/pages/Notifications/Index.vue | 4 +- src/pages/Notifications/Module.js | 4 +- src/pages/Profile/Partials/DeleteUserForm.vue | 10 +- .../LogoutOtherBrowserSessionsForm.vue | 9 +- .../Partials/TwoFactorAuthenticationForm.vue | 29 ++- .../Profile/Partials/UpdatePasswordForm.vue | 11 +- .../Partials/UpdateProfileInformationForm.vue | 82 +++--- src/pages/Profile/Show.vue | 61 ++--- src/plugins/Notify.js | 2 +- src/plugins/RolePermission.js | 12 +- src/router/Auth.js | 24 ++ src/router/Index.js | 45 ++++ src/services/Api.js | 106 ++++---- src/services/Broadcast.js | 40 +++ src/services/Page.js | 116 +++++++++ src/stores/Notifier.js | 39 +-- tailwind.config.js | 17 +- vite.config.js | 3 + 103 files changed, 1792 insertions(+), 1036 deletions(-) create mode 100644 auth.html create mode 100644 colors.json.example create mode 100644 public/images/.gitignore delete mode 100644 src/App.vue rename src/{main.js => auth.js} (76%) delete mode 100644 src/components/HelloWorld.vue delete mode 100644 src/components/Holos/AuthenticationCard.vue delete mode 100644 src/components/Holos/AuthenticationCardLogo.vue rename src/components/Holos/Layout/{AppLayout.vue => App.vue} (79%) rename src/components/Holos/Layout/{AuthLayout.vue => Auth.vue} (74%) delete mode 100644 src/components/Holos/Notification/Info.vue delete mode 100644 src/components/Holos/Skeleton/Header/NotificationLink.vue create mode 100644 src/config.js create mode 100644 src/css/app.css create mode 100644 src/css/icons.css create mode 100644 src/css/icons/google/gNNBW2J8Roq16WD5tFNRaeLQk6-SHQ_R00k4c2_whPnoY9ruReYU3rHmz74m0ZkGH-VBYe1x0TV6x4yFH8F-H5OdzEL3sVTgJtfbYxOLojCL.woff2 create mode 100644 src/css/icons/google/gNNBW2J8Roq16WD5tFNRaeLQk6-SHQ_R00k4c2_whPnoY9ruReaU4bHmz74m0ZkGH-VBYe1x0TV6x4yFH8F-H5OdzEL3sVTgJtfbYxOLojCL.woff2 create mode 100644 src/css/icons/google/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2 create mode 100644 src/css/icons/google/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzazHD_dY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2 create mode 100644 src/css/icons/google/syl0-zNym6YjUruM-QrEh7-nyTnjDwKNJ_190FjpZIvDmUSVOK7BDB_Qb9vUSzq3wzLK-P0J-V_Zs-QtQth3-jOcbTCVpeRL2w5rwZu2rIelXxc.woff2 create mode 100644 src/css/icons/google/syl0-zNym6YjUruM-QrEh7-nyTnjDwKNJ_190FjpZIvDmUSVOK7BDJ_vb9vUSzq3wzLK-P0J-V_Zs-QtQth3-jOcbTCVpeRL2w5rwZu2rIelXxc.woff2 create mode 100644 src/css/multiselect.css create mode 100644 src/css/notifications.css create mode 100644 src/index.js create mode 100644 src/router/Auth.js create mode 100644 src/router/Index.js create mode 100644 src/services/Broadcast.js create mode 100644 src/services/Page.js diff --git a/.env.example b/.env.example index 8d944c6..7420603 100644 --- a/.env.example +++ b/.env.example @@ -1 +1,10 @@ -VITE_API_URL=http://backend.holos.test \ No newline at end of file +VITE_API_URL=http://backend.holos.test +VITE_BASE_URL=http://frontend.holos.test + +VITE_REVERB_APP_ID= +VITE_REVERB_APP_KEY= +VITE_REVERB_APP_SECRET= +VITE_REVERB_HOST="backend.holos.test" +VITE_REVERB_PORT=8080 +VITE_REVERB_SCHEME=http +VITE_REVERB_ACTIVE=false diff --git a/.gitignore b/.gitignore index 438657a..ec96507 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,8 @@ dist dist-ssr *.local .env +colors.json +notes.md # Editor directories and files .vscode/* diff --git a/auth.html b/auth.html new file mode 100644 index 0000000..ce94140 --- /dev/null +++ b/auth.html @@ -0,0 +1,14 @@ + + +
+ + + +