Renames 'admin' folder to 'front'
This commit is contained in:
parent
1fcbe4d71b
commit
a550fce992
|
@ -16,7 +16,7 @@ last-js-build.md5
|
|||
last-sass-build.md5
|
||||
last-composer-build.md5
|
||||
last-package-build.md5
|
||||
src/admin/scss/.sass-cache
|
||||
src/front/scss/.sass-cache
|
||||
src/assets/css/tainacan-admin.css
|
||||
src/assets/css/tainacan-admin.css.map
|
||||
src/assets/report.html
|
||||
|
|
4
build.sh
4
build.sh
|
@ -13,12 +13,12 @@ current_OS=`uname`
|
|||
# For macOS (Darwin)
|
||||
if [ $current_OS == "Darwin" ]; then
|
||||
find src ./webpack.config.js -type f \( -name "*.js" -or -name "*.vue" -or -name "webpack.config.js" \) -exec md5 {} \; | sort -k 2 | md5 > last-js-build.md5
|
||||
find ./src/scss/ ./src/admin/scss/ ./src/gutenberg-blocks/ ./src/gutenberg-blocks/tainacan-collections/collections-list ./src/gutenberg-blocks/tainacan-facets/facets-list ./src/gutenberg-blocks/tainacan-items/dynamic-items-list ./src/gutenberg-blocks/tainacan-items/items-list ./src/gutenberg-blocks/tainacan-terms/terms-list -type f \( -name "*.scss" \) -exec md5 {} \; | sort -k 2 | md5 > last-sass-build.md5
|
||||
find ./src/scss/ ./src/front/scss/ ./src/gutenberg-blocks/ ./src/gutenberg-blocks/tainacan-collections/collections-list ./src/gutenberg-blocks/tainacan-facets/facets-list ./src/gutenberg-blocks/tainacan-items/dynamic-items-list ./src/gutenberg-blocks/tainacan-items/items-list ./src/gutenberg-blocks/tainacan-terms/terms-list -type f \( -name "*.scss" \) -exec md5 {} \; | sort -k 2 | md5 > last-sass-build.md5
|
||||
find ./composer.json -type f \( -name "composer.json" \) -exec md5 {} \; | sort -k 2 | md5 > last-composer-build.md5
|
||||
find ./package.json -type f \( -name "package.json" -or -name "package-lock.json" \) -exec md5 {} \; | sort -k 2 | md5 > last-package-build.md5
|
||||
else
|
||||
find src ./webpack.config.js -type f \( -name "*.js" -or -name "*.vue" -or -name "webpack.config.js" \) -exec md5sum {} \; | sort -k 2 | md5sum > last-js-build.md5
|
||||
find ./src/scss/ ./src/admin/scss/ ./src/gutenberg-blocks ./src/gutenberg-blocks/tainacan-collections/collections-list ./src/gutenberg-blocks/tainacan-facets/facets-list ./src/gutenberg-blocks/tainacan-items/dynamic-items-list ./src/gutenberg-blocks/tainacan-items/items-list ./src/gutenberg-blocks/tainacan-terms/terms-list -type f \( -name "*.scss" \) -exec md5sum {} \; | sort -k 2 | md5sum > last-sass-build.md5
|
||||
find ./src/scss/ ./src/front/scss/ ./src/gutenberg-blocks ./src/gutenberg-blocks/tainacan-collections/collections-list ./src/gutenberg-blocks/tainacan-facets/facets-list ./src/gutenberg-blocks/tainacan-items/dynamic-items-list ./src/gutenberg-blocks/tainacan-items/items-list ./src/gutenberg-blocks/tainacan-terms/terms-list -type f \( -name "*.scss" \) -exec md5sum {} \; | sort -k 2 | md5sum > last-sass-build.md5
|
||||
find ./composer.json -type f \( -name "composer.json" \) -exec md5sum {} \; | sort -k 2 | md5sum > last-composer-build.md5
|
||||
find ./package.json -type f \( -name "package.json" -or -name "package-lock.json" \) -exec md5sum {} \; | sort -k 2 | md5sum > last-package-build.md5
|
||||
fi
|
||||
|
|
|
@ -11,9 +11,9 @@ echo "Compilando Sass..."
|
|||
|
||||
sass -E 'UTF-8' --cache-location .tmp/sass-cache-1 src/scss/tainacan-embeds.scss:src/assets/css/tainacan-embeds.css
|
||||
|
||||
sass -E 'UTF-8' --cache-location .tmp/sass-cache-2 src/admin/scss/tainacan-admin.scss:src/assets/css/tainacan-admin.css
|
||||
sass -E 'UTF-8' --cache-location .tmp/sass-cache-2 src/front/scss/tainacan-admin.scss:src/assets/css/tainacan-admin.css
|
||||
|
||||
sass -E 'UTF-8' --cache-location .tmp/sass-cache-3 src/admin/scss/tainacan-roles.scss:src/assets/css/tainacan-roles.css
|
||||
sass -E 'UTF-8' --cache-location .tmp/sass-cache-3 src/front/scss/tainacan-roles.scss:src/assets/css/tainacan-roles.css
|
||||
|
||||
sass -E 'UTF-8' --cache-location .tmp/sass-cache-4 src/gutenberg-blocks/tainacan-collections/collections-list/collections-list.scss:src/assets/css/tainacan-gutenberg-block-collections-list.css
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
<script>
|
||||
import { isCancel } from '../../../js/axios/axios';
|
||||
import { filterTypeMixin, dynamicFilterTypeMixin } from '../filter-types-mixin';
|
||||
import CheckboxRadioModal from '../../../admin/components/other/checkbox-radio-modal.vue';
|
||||
import CheckboxRadioModal from '../../../front/components/other/checkbox-radio-modal.vue';
|
||||
|
||||
export default {
|
||||
mixins: [filterTypeMixin, dynamicFilterTypeMixin],
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { wpAjax, dateInter } from "../../../admin/js/mixins";
|
||||
import { wpAjax, dateInter } from "../../../front/js/mixins";
|
||||
import { filterTypeMixin } from '../filter-types-mixin';
|
||||
import moment from 'moment';
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { wpAjax, dateInter } from "../../../admin/js/mixins";
|
||||
import { wpAjax, dateInter } from "../../../front/js/mixins";
|
||||
import { filterTypeMixin } from '../filter-types-mixin';
|
||||
import moment from 'moment';
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { wpAjax } from '../../../admin/js/mixins';
|
||||
import { wpAjax } from '../../../front/js/mixins';
|
||||
import { filterTypeMixin } from '../filter-types-mixin';
|
||||
|
||||
export default {
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@import "../../../src/admin/scss/_variables.scss";
|
||||
@import "../../../src/front/scss/_variables.scss";
|
||||
|
||||
.filter-item-forms {
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
import qs from 'qs';
|
||||
import { tainacan as axios, CancelToken, isCancel } from '../../../js/axios/axios';
|
||||
import { mapGetters } from 'vuex';
|
||||
import CheckboxRadioModal from '../../../admin/components/other/checkbox-radio-modal.vue';
|
||||
import CheckboxRadioModal from '../../../front/components/other/checkbox-radio-modal.vue';
|
||||
import { filterTypeMixin, dynamicFilterTypeMixin } from '../filter-types-mixin';
|
||||
|
||||
export default {
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { dateInter } from "../../../admin/js/mixins";
|
||||
import { dateInter } from "../../../front/js/mixins";
|
||||
import moment from 'moment';
|
||||
|
||||
export default {
|
||||
|
|
|
@ -209,7 +209,7 @@
|
|||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
@import '../../admin/scss/_variables.scss';
|
||||
@import '../../front/scss/_variables.scss';
|
||||
|
||||
.multiple-inputs {
|
||||
display: flex;
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
<script>
|
||||
import { tainacan as axios } from '../../../js/axios/axios';
|
||||
import qs from 'qs';
|
||||
import CheckboxRadioModal from '../../../admin/components/other/checkbox-radio-modal.vue'
|
||||
import CheckboxRadioModal from '../../../front/components/other/checkbox-radio-modal.vue'
|
||||
|
||||
export default {
|
||||
created() {
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
<script>
|
||||
import { tainacan as axios } from '../../../js/axios/axios';
|
||||
import qs from 'qs';
|
||||
import CheckboxRadioModal from '../../../admin/components/other/checkbox-radio-modal.vue'
|
||||
import CheckboxRadioModal from '../../../front/components/other/checkbox-radio-modal.vue'
|
||||
|
||||
export default {
|
||||
created() {
|
||||
|
|
|
@ -166,11 +166,11 @@ $Tainacan_Mappers = \Tainacan\Mappers_Handler::get_instance();
|
|||
|
||||
$Tainacan_Embed = \Tainacan\Embed::get_instance();
|
||||
|
||||
require_once(__DIR__ . '/../admin/class-tainacan-admin.php');
|
||||
require_once(__DIR__ . '/../front/class-tainacan-admin.php');
|
||||
$Tainacan_Admin = \Tainacan\Admin::get_instance();
|
||||
|
||||
require_once(__DIR__ . '/../admin/class-tainacan-admin-hooks.php');
|
||||
require_once(__DIR__ . '/../admin/admin-hooks-functions.php');
|
||||
require_once(__DIR__ . '/../front/class-tainacan-admin-hooks.php');
|
||||
require_once(__DIR__ . '/../front/admin-hooks-functions.php');
|
||||
$Tainacan_Admin_Hooks = \Tainacan\Admin_Hooks::get_instance();
|
||||
|
||||
require_once(__DIR__ . '/../theme-helper/class-tainacan-theme-helper.php');
|
||||
|
|
|
@ -919,7 +919,7 @@ import { mapActions, mapGetters } from 'vuex';
|
|||
import CustomDialog from '../other/custom-dialog.vue';
|
||||
import ItemCopyDialog from '../other/item-copy-dialog.vue';
|
||||
import BulkEditionModal from '../bulk-edition/bulk-edition-modal.vue';
|
||||
import { dateInter } from "../../../admin/js/mixins";
|
||||
import { dateInter } from "../../../front/js/mixins";
|
||||
|
||||
export default {
|
||||
name: 'ItemsList',
|
|
@ -264,7 +264,7 @@
|
|||
<script>
|
||||
import ActivitiesList from "../../components/lists/activities-list.vue";
|
||||
import ProcessesList from "../../components/lists/processes-list.vue";
|
||||
import { dateInter } from "../../../admin/js/mixins";
|
||||
import { dateInter } from "../../../front/js/mixins";
|
||||
import { mapActions, mapGetters } from 'vuex';
|
||||
import moment from 'moment'
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue