mirror of
https://github.com/strapi/strapi.git
synced 2025-11-16 18:19:34 +00:00
Change paths in users-permissions
This commit is contained in:
parent
8907261260
commit
28bc9f23a8
@ -10,7 +10,7 @@ import { get, map, some } from 'lodash';
|
|||||||
import cn from 'classnames';
|
import cn from 'classnames';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from 'react-intl';
|
||||||
|
|
||||||
import InputCheckbox from 'components/InputCheckboxPlugin';
|
import InputCheckbox from '../InputCheckboxPlugin';
|
||||||
import styles from './styles.scss';
|
import styles from './styles.scss';
|
||||||
|
|
||||||
class Controller extends React.Component {
|
class Controller extends React.Component {
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import cn from 'classnames';
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
|
||||||
import Label from 'components/Label';
|
import Label from 'components/Label';
|
||||||
import InputSearchLi from 'components/InputSearchLi';
|
import InputSearchLi from '../InputSearchLi';
|
||||||
|
|
||||||
import styles from './styles.scss';
|
import styles from './styles.scss';
|
||||||
|
|
||||||
|
|||||||
@ -16,7 +16,7 @@ import LoadingIndicator from 'components/LoadingIndicator';
|
|||||||
|
|
||||||
// Design
|
// Design
|
||||||
import Button from 'components/Button';
|
import Button from 'components/Button';
|
||||||
import ListRow from 'components/ListRow';
|
import ListRow from '../ListRow';
|
||||||
|
|
||||||
import styles from './styles.scss';
|
import styles from './styles.scss';
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import { Collapse } from 'reactstrap';
|
|||||||
import { capitalize, get, isEmpty, map } from 'lodash';
|
import { capitalize, get, isEmpty, map } from 'lodash';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from 'react-intl';
|
||||||
|
|
||||||
import Controller from 'components/Controller';
|
import Controller from '../Controller';
|
||||||
|
|
||||||
import styles from './styles.scss';
|
import styles from './styles.scss';
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,8 @@ import { FormattedMessage } from 'react-intl';
|
|||||||
import { has, map } from 'lodash';
|
import { has, map } from 'lodash';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import cn from 'classnames';
|
import cn from 'classnames';
|
||||||
import Plugin from 'components/Plugin';
|
|
||||||
|
import Plugin from '../Plugin';
|
||||||
|
|
||||||
import styles from './styles.scss';
|
import styles from './styles.scss';
|
||||||
|
|
||||||
|
|||||||
@ -10,8 +10,8 @@ import PropTypes from 'prop-types';
|
|||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from 'react-intl';
|
||||||
import { get, isEmpty, map, takeRight, toLower, without } from 'lodash';
|
import { get, isEmpty, map, takeRight, toLower, without } from 'lodash';
|
||||||
|
|
||||||
import BoundRoute from 'components/BoundRoute';
|
|
||||||
import Input from 'components/InputsIndex';
|
import Input from 'components/InputsIndex';
|
||||||
|
import BoundRoute from '../BoundRoute';
|
||||||
|
|
||||||
import styles from './styles.scss';
|
import styles from './styles.scss';
|
||||||
|
|
||||||
|
|||||||
@ -8,13 +8,13 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Switch, Route } from 'react-router-dom';
|
import { Switch, Route } from 'react-router-dom';
|
||||||
import pluginId from 'pluginId';
|
import pluginId from '../../pluginId';
|
||||||
|
|
||||||
// Containers
|
// Containers
|
||||||
import AuthPage from 'containers/AuthPage';
|
import AuthPage from '../AuthPage';
|
||||||
import EditPage from 'containers/EditPage';
|
import EditPage from '../EditPage';
|
||||||
import HomePage from 'containers/HomePage';
|
import HomePage from '../HomePage';
|
||||||
import NotFoundPage from 'containers/NotFoundPage';
|
import NotFoundPage from '../NotFoundPage';
|
||||||
|
|
||||||
class App extends React.Component {
|
class App extends React.Component {
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
|
|||||||
@ -12,10 +12,6 @@ import { Link } from 'react-router-dom';
|
|||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from 'react-intl';
|
||||||
import { findIndex, get, isBoolean, isEmpty, map, replace } from 'lodash';
|
import { findIndex, get, isBoolean, isEmpty, map, replace } from 'lodash';
|
||||||
import cn from 'classnames';
|
import cn from 'classnames';
|
||||||
import pluginId from 'pluginId';
|
|
||||||
|
|
||||||
// Logo
|
|
||||||
import LogoStrapi from 'assets/images/logo_strapi.png';
|
|
||||||
|
|
||||||
// Design
|
// Design
|
||||||
import Button from 'components/Button';
|
import Button from 'components/Button';
|
||||||
@ -24,6 +20,11 @@ import Input from 'components/InputsIndex';
|
|||||||
// Utils
|
// Utils
|
||||||
import auth from 'utils/auth';
|
import auth from 'utils/auth';
|
||||||
|
|
||||||
|
import pluginId from '../../pluginId';
|
||||||
|
|
||||||
|
// Logo
|
||||||
|
import LogoStrapi from '../../assets/images/logo_strapi.png';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
hideLoginErrorsInput,
|
hideLoginErrorsInput,
|
||||||
onChangeInput,
|
onChangeInput,
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { createSelector } from 'reselect';
|
import { createSelector } from 'reselect';
|
||||||
import pluginId from 'pluginId';
|
import pluginId from '../../pluginId';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Direct selector to the authPage state domain
|
* Direct selector to the authPage state domain
|
||||||
|
|||||||
@ -12,17 +12,18 @@ import { bindActionCreators, compose } from 'redux';
|
|||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from 'react-intl';
|
||||||
import { findIndex, get, isEmpty, isEqual, size } from 'lodash';
|
import { findIndex, get, isEmpty, isEqual, size } from 'lodash';
|
||||||
import cn from 'classnames';
|
import cn from 'classnames';
|
||||||
import pluginId from 'pluginId';
|
|
||||||
|
|
||||||
// Design
|
// Design
|
||||||
import BackHeader from 'components/BackHeader';
|
import BackHeader from 'components/BackHeader';
|
||||||
import Input from 'components/InputsIndex';
|
import Input from 'components/InputsIndex';
|
||||||
import InputSearch from 'components/InputSearchContainer';
|
|
||||||
import LoadingIndicator from 'components/LoadingIndicator';
|
import LoadingIndicator from 'components/LoadingIndicator';
|
||||||
import LoadingIndicatorPage from 'components/LoadingIndicatorPage';
|
import LoadingIndicatorPage from 'components/LoadingIndicatorPage';
|
||||||
import PluginHeader from 'components/PluginHeader';
|
import PluginHeader from 'components/PluginHeader';
|
||||||
import Plugins from 'components/Plugins';
|
|
||||||
import Policies from 'components/Policies';
|
import InputSearch from '../../components/InputSearchContainer';
|
||||||
|
import Plugins from '../../components/Plugins';
|
||||||
|
import Policies from '../../components/Policies';
|
||||||
|
import pluginId from '../../pluginId';
|
||||||
|
|
||||||
// Actions
|
// Actions
|
||||||
import {
|
import {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { createSelector } from 'reselect';
|
import { createSelector } from 'reselect';
|
||||||
import pluginId from 'pluginId';
|
import pluginId from '../../pluginId';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Direct selector to the editPage state domain
|
* Direct selector to the editPage state domain
|
||||||
|
|||||||
@ -11,14 +11,16 @@ import { injectIntl } from 'react-intl';
|
|||||||
import { bindActionCreators, compose } from 'redux';
|
import { bindActionCreators, compose } from 'redux';
|
||||||
import cn from 'classnames';
|
import cn from 'classnames';
|
||||||
import { clone, get, includes, isEqual, isEmpty } from 'lodash';
|
import { clone, get, includes, isEqual, isEmpty } from 'lodash';
|
||||||
import pluginId from 'pluginId';
|
|
||||||
|
import HeaderNav from 'components/HeaderNav';
|
||||||
|
import PluginHeader from 'components/PluginHeader';
|
||||||
|
|
||||||
|
import pluginId from '../../pluginId';
|
||||||
|
|
||||||
// Design
|
// Design
|
||||||
import EditForm from 'components/EditForm';
|
import EditForm from '../../components/EditForm';
|
||||||
import HeaderNav from 'components/HeaderNav';
|
import List from '../../components/List';
|
||||||
import List from 'components/List';
|
import PopUpForm from '../../components/PopUpForm';
|
||||||
import PluginHeader from 'components/PluginHeader';
|
|
||||||
import PopUpForm from 'components/PopUpForm';
|
|
||||||
|
|
||||||
// Selectors
|
// Selectors
|
||||||
import selectHomePage from './selectors';
|
import selectHomePage from './selectors';
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { createSelector } from 'reselect';
|
import { createSelector } from 'reselect';
|
||||||
import pluginId from 'pluginId';
|
import pluginId from '../../pluginId';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Direct selector to the homePage state domain
|
* Direct selector to the homePage state domain
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user