diff --git a/package-lock.json b/package-lock.json index 8bb17a0..6d26647 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4554,6 +4554,11 @@ "integrity": "sha1-P7rwIL/XlIhAcuomsel5HUWmKfA=", "dev": true }, + "dropzone": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/dropzone/-/dropzone-5.9.3.tgz", + "integrity": "sha512-Azk8kD/2/nJIuVPK+zQ9sjKMRIpRvNyqn9XwbBHNq+iNuSccbJS6hwm1Woy0pMST0erSo0u4j+KJaodndDk4vA==" + }, "duplexer": { "version": "0.1.2", "resolved": "https://registry.npm.taobao.org/duplexer/download/duplexer-0.1.2.tgz?cache=0&sync_timestamp=1597221020457&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fduplexer%2Fdownload%2Fduplexer-0.1.2.tgz", @@ -11548,6 +11553,14 @@ "integrity": "sha1-HuO8mhbsv1EYvjNLsV+cRvgvWCU=", "dev": true }, + "vue2-dropzone": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/vue2-dropzone/-/vue2-dropzone-3.6.0.tgz", + "integrity": "sha512-YXC1nCWIZvfa98e/i6h+EshZCkFSxFEh0Sxr9ODfThAPPDVhAzLLlz/4XIx0NGO1QeSy6htwSstte47R7vVhLQ==", + "requires": { + "dropzone": "^5.5.1" + } + }, "vuetify": { "version": "2.5.8", "resolved": "https://registry.nlark.com/vuetify/download/vuetify-2.5.8.tgz?cache=0&sync_timestamp=1630370704981&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fvuetify%2Fdownload%2Fvuetify-2.5.8.tgz", @@ -12294,6 +12307,11 @@ "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", "dev": true }, + "willatoast": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/willatoast/-/willatoast-1.1.1.tgz", + "integrity": "sha512-tf37LFQSErMh2+apOlQZAdan00MaqKeDAE2SEmglHzU+dQi3ykNy1VXSuDYmE3BQ3PSLKVwzBB9tItCC2+FXew==" + }, "word-wrap": { "version": "1.2.3", "resolved": "https://registry.npm.taobao.org/word-wrap/download/word-wrap-1.2.3.tgz", diff --git a/package.json b/package.json index 9b0d094..5cfa427 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,10 @@ "vue-advanced-cropper": "^1.8.2", "vue-meta": "^2.4.0", "vue-router": "^3.5.2", + "vue2-dropzone": "^3.6.0", "vuetify": "^2.4.0", - "vuex": "^3.6.2" + "vuex": "^3.6.2", + "willatoast": "^1.1.1" }, "devDependencies": { "@vue/cli-plugin-babel": "~4.5.0", diff --git a/src/abstraction/repository/programSerieWorkoutsRepository.js b/src/abstraction/repository/programSerieWorkoutsRepository.js deleted file mode 100644 index 7da629c..0000000 --- a/src/abstraction/repository/programSerieWorkoutsRepository.js +++ /dev/null @@ -1,5 +0,0 @@ -import { getArray } from '../resources/programSerieWorkoutsResource'; - -export default class ProgramSerieWorkoutsRepository { - -} \ No newline at end of file diff --git a/src/abstraction/repository/usersRepository.js b/src/abstraction/repository/usersRepository.js index 416b15e..f3509d4 100644 --- a/src/abstraction/repository/usersRepository.js +++ b/src/abstraction/repository/usersRepository.js @@ -3,13 +3,20 @@ import url from "@/router/url"; import { getArray, setQuery } from "../resources/usersResource"; export default class UsersRepository { - async index(data) { + async indexUsers(data) { let params = setQuery(data) let response = await axios.get(url('indexUsers'), { params }) if (response.status === 200) { return getArray(response.data) } } + async loadTrainerTrainee(data) { + let params = setQuery(data) + let response = await axios.get(url('indexTrainerTrainee'), { params }) + if (response.status === 200) { + return getArray(response.data) + } + } async delete(userId) { await axios.delete(url("destroyUser", { user: userId })); } diff --git a/src/abstraction/repository/workoutToSerieRepository.js b/src/abstraction/repository/workoutToSerieRepository.js index 0cf2623..f74f236 100644 --- a/src/abstraction/repository/workoutToSerieRepository.js +++ b/src/abstraction/repository/workoutToSerieRepository.js @@ -3,7 +3,6 @@ import url from "@/router/url"; import { getJson, getArray, setQuery, setData } from "../resources/workoutResource.js"; export default class WorkoutToSerieRepository { async index(data) { - console.log(data); let response = await axios.get(url("indexSerieWorkouts", { serie: data.serieId, course: data.courseId })); if (response.status === 200) { return getArray(response.data); diff --git a/src/components/AddProduct/Main.vue b/src/components/AddProduct/Main.vue index 1d5c35f..cf0d615 100644 --- a/src/components/AddProduct/Main.vue +++ b/src/components/AddProduct/Main.vue @@ -184,13 +184,7 @@
-
- -
- please upload or drag & Drop
- product images here -
-
+
@@ -226,15 +220,20 @@ import { mapActions, mapGetters } from "vuex"; import SectionTitle from "../Global/Section/SectionTitle.vue"; import FileRepository from "../../abstraction/repository/FileRepository"; import ImageCropper from "../Global/Input/ImageCropper.vue"; +import Dropzone from "../Global/Input/Dropzone.vue"; +import toast from "@/utils/toast"; import { makeid } from "@/utils/math"; const RANDOM_TOKEN = makeid(50); + // export default { components: { SectionTitle, ImageCropper, + Dropzone, }, data: () => ({ + random_token: RANDOM_TOKEN, form: { batch_id: RANDOM_TOKEN, }, @@ -276,9 +275,8 @@ export default { async submit() { try { let valid = this.$refs.form.validate(); - console.log(valid); if (valid) { - if (this.fileForm.media !== this.fileForm.media) { + if (this.fileForm.media) { let repository = new FileRepository(); await repository.store(this.fileForm); } @@ -287,6 +285,8 @@ export default { } else { this.addProduct(this.form); } + } else { + toast.error("The information entered is incorrect", "Error"); } } catch (e) { return e; @@ -320,53 +320,4 @@ export default { padding-right: 100px !important; padding-left: 100px !important; } -.add__workout__picture { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); -} -.add__workout__picture--text { - width: max-content; - line-height: 18px; - text-transform: uppercase; -} -.add__workout__picture--icon { - font-size: 40px; - margin-right: 20px; -} -.upload { - height: 148px; -} - \ No newline at end of file diff --git a/src/components/AddProduct/Sections.vue b/src/components/AddProduct/Sections.vue deleted file mode 100644 index ff9b373..0000000 --- a/src/components/AddProduct/Sections.vue +++ /dev/null @@ -1,27 +0,0 @@ - - diff --git a/src/components/AddProgram/Sections.vue b/src/components/AddProgram/Sections.vue deleted file mode 100644 index 0807536..0000000 --- a/src/components/AddProgram/Sections.vue +++ /dev/null @@ -1,27 +0,0 @@ - - diff --git a/src/components/AddWorkout/Sections.vue b/src/components/AddWorkout/Sections.vue deleted file mode 100644 index b814f1e..0000000 --- a/src/components/AddWorkout/Sections.vue +++ /dev/null @@ -1,27 +0,0 @@ - - diff --git a/src/components/Bookmarks/Main.vue b/src/components/Bookmarks/Main.vue index 680ce45..454761f 100644 --- a/src/components/Bookmarks/Main.vue +++ b/src/components/Bookmarks/Main.vue @@ -6,7 +6,7 @@
-
- -
-
    - - - - - - - - - -
-
-
-
- - diff --git a/src/components/Global/Input/Dropzone.vue b/src/components/Global/Input/Dropzone.vue new file mode 100644 index 0000000..7d533ce --- /dev/null +++ b/src/components/Global/Input/Dropzone.vue @@ -0,0 +1,126 @@ + + + + diff --git a/src/components/Global/Modal/BasicModal.vue b/src/components/Global/Modal/BasicModal.vue index 9bee153..df2e4f1 100644 --- a/src/components/Global/Modal/BasicModal.vue +++ b/src/components/Global/Modal/BasicModal.vue @@ -5,22 +5,25 @@ :width="width" :transition="transition" dark + :tag="tag" > - + + + @@ -28,7 +31,6 @@ diff --git a/src/components/Profile/Main.vue b/src/components/Profile/Main.vue index 5c4758e..7bfe346 100644 --- a/src/components/Profile/Main.vue +++ b/src/components/Profile/Main.vue @@ -5,7 +5,7 @@
-
- -
-
    - - - - - - - - - -
-
-
-
- - diff --git a/src/components/ProgramSeries/Item.vue b/src/components/ProgramSeries/Item.vue index 4180f17..61bcc61 100644 --- a/src/components/ProgramSeries/Item.vue +++ b/src/components/ProgramSeries/Item.vue @@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
@@ -110,5 +110,9 @@ export default { text-transform: uppercase; letter-spacing: 5px; margin-top: 8px; + white-space: nowrap; + text-overflow: ellipsis; + word-wrap: break-word; + overflow: hidden; } \ No newline at end of file diff --git a/src/components/ProgramSeries/Sections.vue b/src/components/ProgramSeries/Sections.vue deleted file mode 100644 index 0807536..0000000 --- a/src/components/ProgramSeries/Sections.vue +++ /dev/null @@ -1,27 +0,0 @@ - - diff --git a/src/components/Programs/Main.vue b/src/components/Programs/Main.vue index 48f014a..0af13a2 100644 --- a/src/components/Programs/Main.vue +++ b/src/components/Programs/Main.vue @@ -55,7 +55,7 @@
- +
@@ -82,9 +82,12 @@ export default { this.loadPrograms(); } }, + async load() { + await this.loadPrograms(); + }, }, created() { - this.loadPrograms(); + this.load(); }, }; \ No newline at end of file diff --git a/src/components/Programs/Modals/FiltersModal.vue b/src/components/Programs/Modals/FiltersModal.vue index f3e65ee..dda4b93 100644 --- a/src/components/Programs/Modals/FiltersModal.vue +++ b/src/components/Programs/Modals/FiltersModal.vue @@ -14,43 +14,59 @@ />
-
-
- + +
+
+ +
-
-
-
- +
+
+ +
-
-
-
- +
+
+ +
-
-
-
- +
+
+ +
-
-
-
- +
+
+ +
-
+
@@ -78,8 +96,59 @@ \ No newline at end of file diff --git a/src/components/Programs/Sections.vue b/src/components/Programs/Sections.vue deleted file mode 100644 index 0807536..0000000 --- a/src/components/Programs/Sections.vue +++ /dev/null @@ -1,27 +0,0 @@ - - diff --git a/src/components/TrainPrograms/Main.vue b/src/components/TrainPrograms/Main.vue index 8efa842..3501a43 100644 --- a/src/components/TrainPrograms/Main.vue +++ b/src/components/TrainPrograms/Main.vue @@ -6,7 +6,7 @@
-
- -
-
    - - - - -
-
-
-
- - diff --git a/src/components/Trainee/Main.vue b/src/components/Trainee/Main.vue deleted file mode 100644 index 14a0d33..0000000 --- a/src/components/Trainee/Main.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/Trainee/Sections.vue b/src/components/Trainee/Sections.vue deleted file mode 100644 index 40f7145..0000000 --- a/src/components/Trainee/Sections.vue +++ /dev/null @@ -1,22 +0,0 @@ - - diff --git a/src/components/Trainer/Main.vue b/src/components/Trainer/Main.vue deleted file mode 100644 index c233a63..0000000 --- a/src/components/Trainer/Main.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/Trainer/Sections.vue b/src/components/Trainer/Sections.vue deleted file mode 100644 index bc0a0c0..0000000 --- a/src/components/Trainer/Sections.vue +++ /dev/null @@ -1,23 +0,0 @@ - - diff --git a/src/components/Users/Item.vue b/src/components/Users/Item.vue index 38a837b..91729df 100644 --- a/src/components/Users/Item.vue +++ b/src/components/Users/Item.vue @@ -12,7 +12,7 @@
-
+
Role: -
+
-
+
+ +
\ No newline at end of file diff --git a/src/components/Users/Modals/FiltersModal.vue b/src/components/Users/Modals/FiltersModal.vue index f0311ab..a9d39d2 100644 --- a/src/components/Users/Modals/FiltersModal.vue +++ b/src/components/Users/Modals/FiltersModal.vue @@ -20,6 +20,7 @@ class="no-error-msg" placeholder="user name" label="user name" + v-model="filter.first_name.val" >
@@ -34,12 +35,20 @@
- +
- +
@@ -55,13 +64,14 @@ size="large" :is-modal="true" height="29" - @click.native="$_closeModal()" + @click.native="clearFilter" />
@@ -69,8 +79,38 @@ \ No newline at end of file diff --git a/src/components/Users/Sections.vue b/src/components/Users/Sections.vue deleted file mode 100644 index e339cc6..0000000 --- a/src/components/Users/Sections.vue +++ /dev/null @@ -1,27 +0,0 @@ - - diff --git a/src/components/Workouts/Main.vue b/src/components/Workouts/Main.vue index c830602..f7ad6e0 100644 --- a/src/components/Workouts/Main.vue +++ b/src/components/Workouts/Main.vue @@ -50,7 +50,7 @@ />
-
+
\ No newline at end of file diff --git a/src/components/Workouts/Modals/FiltersModal.vue b/src/components/Workouts/Modals/FiltersModal.vue index 1608548..5f12f09 100644 --- a/src/components/Workouts/Modals/FiltersModal.vue +++ b/src/components/Workouts/Modals/FiltersModal.vue @@ -20,6 +20,7 @@ class="no-error-msg" placeholder="workout name" label="workout name" + v-model="filter.name.val" >
@@ -29,26 +30,26 @@ class="no-error-msg pt-0" placeholder="mentor name" label="mentor name" + v-model="filter.first_name.val" >
- -
-
-
-
- +
- +
@@ -64,13 +65,14 @@ size="large" :is-modal="true" height="29" - @click.native="$_closeModal()" + @click.native="clearFilter" /> @@ -78,8 +80,44 @@ \ No newline at end of file diff --git a/src/components/Workouts/Sections.vue b/src/components/Workouts/Sections.vue deleted file mode 100644 index b814f1e..0000000 --- a/src/components/Workouts/Sections.vue +++ /dev/null @@ -1,27 +0,0 @@ - - diff --git a/src/components/WorkoutsSeries/Sections.vue b/src/components/WorkoutsSeries/Sections.vue deleted file mode 100644 index 3163381..0000000 --- a/src/components/WorkoutsSeries/Sections.vue +++ /dev/null @@ -1,27 +0,0 @@ - - diff --git a/src/router/path.js b/src/router/path.js index d3b4186..c1c8aec 100644 --- a/src/router/path.js +++ b/src/router/path.js @@ -16,7 +16,7 @@ export default [ }, { path: '/', - view: 'AdminHome', + view: 'Dashboard', name: 'dashboard' }, { diff --git a/src/router/url.js b/src/router/url.js index 8eef36a..b314628 100644 --- a/src/router/url.js +++ b/src/router/url.js @@ -47,6 +47,7 @@ const urls = { // users indexUsers: "admin/users", destroyUser: "admin/users/:user", + indexTrainerTrainee: 'trainer/trainees', // countries indexCountries: "countries", // profile @@ -62,7 +63,8 @@ const urls = { indexStatisticTrainer: "trainer-dashboard-statistic", indexStatisticTrainee: "trainee-dashboard-statistic", // file - storeFile: 'media' + storeFile: 'media', + destroyFile: 'media/:media' }; export default urlGenerator(urls); diff --git a/src/store/modules/programs/actions.js b/src/store/modules/programs/actions.js index 330343a..dbec909 100644 --- a/src/store/modules/programs/actions.js +++ b/src/store/modules/programs/actions.js @@ -2,7 +2,7 @@ import ProgramRepository from "@/abstraction/repository/programRepository"; export default { async loadPrograms({ state, commit }) { try { - let data = { pagination: state.pagination }; + let data = { pagination: state.pagination, filters: state.filters }; let repository = new ProgramRepository(); const resource = await repository.index(data); commit("SET_PROGRAMS", resource.data); diff --git a/src/store/modules/programs/mutations.js b/src/store/modules/programs/mutations.js index a8d1534..757f8c7 100644 --- a/src/store/modules/programs/mutations.js +++ b/src/store/modules/programs/mutations.js @@ -10,6 +10,10 @@ export default { pagination = { ...state.pagination, ...pagination }; Vue.set(state, "pagination", pagination); }, + SET_FILTER_PROGRAMS(state, payload) { + Vue.set(state, "filters", payload); + state.pagination.page = 1 + }, ADD_PROGRAM(state, payload) { state.programs.push(payload); }, diff --git a/src/store/modules/programs/state.js b/src/store/modules/programs/state.js index c005fb6..83fa995 100644 --- a/src/store/modules/programs/state.js +++ b/src/store/modules/programs/state.js @@ -4,4 +4,5 @@ export default { pagination: { itemsPerPage: 12 }, + filters: {} }; diff --git a/src/store/modules/users/actions.js b/src/store/modules/users/actions.js index 305a84b..3fa78e5 100644 --- a/src/store/modules/users/actions.js +++ b/src/store/modules/users/actions.js @@ -1,9 +1,16 @@ import UsersRepository from "@/abstraction/repository/usersRepository"; export default { async loadUsers({ state, commit }) { + let data = { pagination: state.pagination, filters: state.filters } + let repository = new UsersRepository(); + const resource = await repository.indexUsers(data); + commit("SET_USERS", resource.data); + commit("SET_PAGINATION", resource.pagination); + }, + async loadTrainerTrainee({ state, commit }) { let data = { pagination: state.pagination } let repository = new UsersRepository(); - const resource = await repository.index(data); + const resource = await repository.loadTrainerTrainee(data); commit("SET_USERS", resource.data); commit("SET_PAGINATION", resource.pagination); }, diff --git a/src/store/modules/users/mutations.js b/src/store/modules/users/mutations.js index 7a4c818..e439837 100644 --- a/src/store/modules/users/mutations.js +++ b/src/store/modules/users/mutations.js @@ -7,6 +7,10 @@ export default { pagination = { ...state.pagination, ...pagination }; Vue.set(state, "pagination", pagination); }, + SET_FILTER_USER(state, payload) { + Vue.set(state, "filters", payload); + state.pagination.page = 1 + }, DELETE_USER(state, userId) { const index = state.users.findIndex((x) => x.id === userId); // state.users.splice(index, 1); diff --git a/src/store/modules/users/state.js b/src/store/modules/users/state.js index 40ab3ec..60ddc36 100644 --- a/src/store/modules/users/state.js +++ b/src/store/modules/users/state.js @@ -2,5 +2,6 @@ export default { users: [], pagination: { itemsPerPage: 12 - } + }, + filters: {} }; diff --git a/src/store/modules/workoutToSerie/mutations.js b/src/store/modules/workoutToSerie/mutations.js index 41d47dc..13c56ff 100644 --- a/src/store/modules/workoutToSerie/mutations.js +++ b/src/store/modules/workoutToSerie/mutations.js @@ -11,6 +11,7 @@ export default { }, SET_FILTER_WORKOUTS_TO_SERIE(state, payload) { Vue.set(state, "filters", payload); + state.pagination.page = 1 }, ADD_WORKOUT_TO_SERIE(state, payload) { state.workouts.push(payload); diff --git a/src/store/modules/workouts/actions.js b/src/store/modules/workouts/actions.js index 6a7db02..1a708bf 100644 --- a/src/store/modules/workouts/actions.js +++ b/src/store/modules/workouts/actions.js @@ -2,7 +2,7 @@ import WorkoutRepository from "@/abstraction/repository/workoutRepository"; export default { async loadWorkouts({ state, commit }) { try { - let data = { pagination: state.pagination }; + let data = { pagination: state.pagination, filters: state.filters }; let repository = new WorkoutRepository(); const resource = await repository.index(data); commit("SET_WORKOUTS", resource.data); diff --git a/src/store/modules/workouts/mutations.js b/src/store/modules/workouts/mutations.js index dd1808f..cb283b7 100644 --- a/src/store/modules/workouts/mutations.js +++ b/src/store/modules/workouts/mutations.js @@ -10,6 +10,10 @@ export default { pagination = { ...state.pagination, ...pagination }; Vue.set(state, "pagination", pagination); }, + SET_FILTER_WORKOUTS(state, payload) { + Vue.set(state, "filters", payload); + state.pagination.page = 1 + }, ADD_WORKOUT(state, payload) { state.workouts.push(payload); }, diff --git a/src/store/modules/workouts/state.js b/src/store/modules/workouts/state.js index 33d53bc..009fd6e 100644 --- a/src/store/modules/workouts/state.js +++ b/src/store/modules/workouts/state.js @@ -4,4 +4,5 @@ export default { pagination: { itemsPerPage: 12 }, + filters: {} }; diff --git a/src/styles/vuetify/_modify.scss b/src/styles/vuetify/_modify.scss index daa71c4..4f62cfa 100644 --- a/src/styles/vuetify/_modify.scss +++ b/src/styles/vuetify/_modify.scss @@ -247,8 +247,6 @@ textarea { input::placeholder { text-transform: uppercase; } -/* -------------------- button on modal ------------------------------*/ - /* -------------------- button on modal ------------------------------*/ .close__modal { position: absolute; @@ -268,3 +266,11 @@ input::placeholder { padding: 0 45px !important; font-size: 14px !important; } +/* -------------------- toast ------------------------------*/ +.willaToast-message { + font-family: "Montserrat-regular" !important; +} +.willaToast.willaToast-color-black > .willaToast-body .willaToast-title { + font-family: "cizel" !important; + color: var(--color-social-yellow) !important; +} diff --git a/src/utils/toast.js b/src/utils/toast.js index b2861aa..ab6f041 100644 --- a/src/utils/toast.js +++ b/src/utils/toast.js @@ -1,22 +1,42 @@ -import "izitoast/dist/css/iziToast.min.css"; -import iZtoast from "izitoast"; +import "willatoast/dist/main.css"; +import willaToast from "willatoast"; const toast = { error: (message, title = "Error") => { - return iZtoast.error({ + return willaToast.normal({ title: title, + titleColor: "#ffd600", message: message, - rtl: true, position: "bottomCenter" }); }, success: (message, title = "Success") => { - return iZtoast.success({ + return willaToast.normal({ title: title, message: message, - rtl: true, position: "bottomCenter" }); + }, + question: (message, title = "Success", callback) => { + return willaToast.normal({ + title: title, + message: message, + position: "center", + timeout: false, + theme: 'dark', + buttons: [ + ['', function (instance, toast) { + callback(); + instance.hide({ transitionOut: 'fadeOut' }, toast, 'button'); + + }, true], + ['', function (instance, toast) { + + instance.hide({ transitionOut: 'fadeOut' }, toast, 'button'); + + }] + ], + }); } }; diff --git a/src/views/AddProduct.vue b/src/views/AddProduct.vue index 2e9d4f5..4e90a92 100644 --- a/src/views/AddProduct.vue +++ b/src/views/AddProduct.vue @@ -11,7 +11,7 @@
- + @@ -23,11 +23,9 @@ \ No newline at end of file diff --git a/src/views/AddProgram.vue b/src/views/AddProgram.vue index 5af07d1..f19edbc 100644 --- a/src/views/AddProgram.vue +++ b/src/views/AddProgram.vue @@ -11,7 +11,7 @@
- + @@ -23,11 +23,9 @@ \ No newline at end of file diff --git a/src/views/AddWorkout.vue b/src/views/AddWorkout.vue index 3f73277..ad1449e 100644 --- a/src/views/AddWorkout.vue +++ b/src/views/AddWorkout.vue @@ -11,7 +11,7 @@
- + @@ -23,11 +23,9 @@ \ No newline at end of file diff --git a/src/views/AdminTrainee.vue b/src/views/AdminTrainee.vue deleted file mode 100644 index 8696bd7..0000000 --- a/src/views/AdminTrainee.vue +++ /dev/null @@ -1,33 +0,0 @@ - - \ No newline at end of file diff --git a/src/views/AdminTrainer.vue b/src/views/AdminTrainer.vue deleted file mode 100644 index 9f5e323..0000000 --- a/src/views/AdminTrainer.vue +++ /dev/null @@ -1,33 +0,0 @@ - - \ No newline at end of file diff --git a/src/views/Bookmarks.vue b/src/views/Bookmarks.vue index 0b5d94f..368c89b 100644 --- a/src/views/Bookmarks.vue +++ b/src/views/Bookmarks.vue @@ -11,7 +11,7 @@
- + @@ -23,11 +23,9 @@ \ No newline at end of file diff --git a/src/views/AdminHome.vue b/src/views/Dashboard.vue similarity index 86% rename from src/views/AdminHome.vue rename to src/views/Dashboard.vue index 0c41b18..65491f1 100644 --- a/src/views/AdminHome.vue +++ b/src/views/Dashboard.vue @@ -23,11 +23,9 @@ \ No newline at end of file diff --git a/src/views/Products.vue b/src/views/Products.vue index 57f8e4a..31ced31 100644 --- a/src/views/Products.vue +++ b/src/views/Products.vue @@ -11,7 +11,7 @@
- + @@ -23,11 +23,9 @@ \ No newline at end of file diff --git a/src/views/Profile.vue b/src/views/Profile.vue index 20cc380..2502e92 100644 --- a/src/views/Profile.vue +++ b/src/views/Profile.vue @@ -11,7 +11,7 @@
- + @@ -23,11 +23,9 @@ \ No newline at end of file diff --git a/src/views/ProgramSeries.vue b/src/views/ProgramSeries.vue index 41af1a6..19f0cd1 100644 --- a/src/views/ProgramSeries.vue +++ b/src/views/ProgramSeries.vue @@ -11,7 +11,7 @@
- + @@ -23,11 +23,9 @@ \ No newline at end of file diff --git a/src/views/Programs.vue b/src/views/Programs.vue index d96094d..7d60e93 100644 --- a/src/views/Programs.vue +++ b/src/views/Programs.vue @@ -11,7 +11,7 @@
- + @@ -23,11 +23,9 @@ \ No newline at end of file diff --git a/src/views/TrainsPrograms.vue b/src/views/TrainsPrograms.vue index 4da0f7a..ad7bb04 100644 --- a/src/views/TrainsPrograms.vue +++ b/src/views/TrainsPrograms.vue @@ -11,7 +11,7 @@
- + @@ -23,11 +23,9 @@ \ No newline at end of file diff --git a/src/views/Users.vue b/src/views/Users.vue index 3d43bf8..a11e42e 100644 --- a/src/views/Users.vue +++ b/src/views/Users.vue @@ -11,7 +11,7 @@
- + @@ -23,11 +23,9 @@ \ No newline at end of file diff --git a/src/views/Workouts.vue b/src/views/Workouts.vue index 75d6807..d298c94 100644 --- a/src/views/Workouts.vue +++ b/src/views/Workouts.vue @@ -11,7 +11,7 @@
- + @@ -23,11 +23,9 @@ \ No newline at end of file diff --git a/src/views/WorkoutsSeries.vue b/src/views/WorkoutsSeries.vue index aa8292c..8c7aeaa 100644 --- a/src/views/WorkoutsSeries.vue +++ b/src/views/WorkoutsSeries.vue @@ -11,7 +11,7 @@
- + @@ -23,11 +23,9 @@ \ No newline at end of file