This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { PureComponent } from 'react' | |
import { connect } from 'react-redux' | |
import _ from 'lodash' | |
import { Trans } from 'react-i18next' | |
import config from 'config' | |
import { | |
ProductGrid, QuickView, FilterDropdown, Pagination, LeftColumn, Spinner, | |
} from 'components' | |
import { withRouter } from 'react-router-dom' | |
import { user_role, component_price } from '../../../domain/configHandler/ssoUrls' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const addFormData = (name,email,password,confirm ) => { | |
return new Promise(async (resolve, rejects) => { | |
let data = { | |
name:name, | |
email:email, | |
password:password, | |
confirm:confirm | |
}; | |
const responce = await fetch(serverUrl + "/tool/form/add/data", { | |
method: "post", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react'; | |
import { | |
Form, Input, Tooltip, Icon, Cascader, Select, Row, Col, Checkbox, Button, AutoComplete, | |
} from 'antd'; | |
import 'antd/dist/antd.css'; | |
import { Card } from 'antd'; | |
import * as actions from '../actions' | |
const { Option } = Select; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import './login.css' | |
import * as actions from './actions'; | |
import { Form, Icon, Input, Button, Layout } from 'antd'; | |
const { Header } = Layout; | |
class NormalLoginForm extends React.Component { | |
componentDidMount() { | |
if (localStorage.getItem("status") === 'true') { | |
this.props.history.push('./navbar') |