mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
parent
34ff40ef21
commit
55f3b4d0ee
@ -21,14 +21,14 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<meta name="theme-color" content="#000000">
|
<meta name="theme-color" content="#000000">
|
||||||
<link rel="stylesheet" type="text/css" href="/publisher/css/font-wso2.css">
|
<link rel="stylesheet" type="text/css" href="/css/font-wso2.css">
|
||||||
<link rel="stylesheet" type="text/css" href="/publisher/themes/default/default-theme.css">
|
<link rel="stylesheet" type="text/css" href="/themes/default/default-theme.css">
|
||||||
<!--
|
<!--
|
||||||
manifest.json provides metadata used when your web app is added to the
|
manifest.json provides metadata used when your web app is added to the
|
||||||
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
|
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
|
||||||
-->
|
-->
|
||||||
<link rel="manifest" href="/publisher/manifest.json">
|
<link rel="manifest" href="/manifest.json">
|
||||||
<link rel="shortcut icon" href="/publisher/images/favicon.png">
|
<link rel="shortcut icon" href="/images/favicon.png">
|
||||||
<!--
|
<!--
|
||||||
Notice the use of %PUBLIC_URL% in the tags above.
|
Notice the use of %PUBLIC_URL% in the tags above.
|
||||||
It will be replaced with the URL of the `public` folder during the build.
|
It will be replaced with the URL of the `public` folder during the build.
|
||||||
@ -45,7 +45,7 @@
|
|||||||
You need to enable JavaScript to run this app.
|
You need to enable JavaScript to run this app.
|
||||||
</noscript>
|
</noscript>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
<script src='/publisher/dist/index.js'></script>
|
<script src='/dist/index.js'></script>
|
||||||
<!--
|
<!--
|
||||||
This HTML file is a template.
|
This HTML file is a template.
|
||||||
If you open it directly in the browser, you will see an empty page.
|
If you open it directly in the browser, you will see an empty page.
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import React, {Component} from 'react';
|
import React, {Component} from 'react';
|
||||||
import Theme from '../../../theme';
|
import './appImage.css';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component for holding uploaded image.
|
* Component for holding uploaded image.
|
||||||
@ -29,18 +29,6 @@ class AppImage extends Component {
|
|||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
this.removeImage = this.removeImage.bind(this);
|
this.removeImage = this.removeImage.bind(this);
|
||||||
this.scriptId = "appImage";
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillMount() {
|
|
||||||
/**
|
|
||||||
*Loading the theme files based on the the user-preference.
|
|
||||||
*/
|
|
||||||
Theme.insertThemingScripts(this.scriptId);
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillUnmount() {
|
|
||||||
Theme.removeThemingScripts(this.scriptId);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -56,7 +44,7 @@ class AppImage extends Component {
|
|||||||
const {image, imageId} = this.props;
|
const {image, imageId} = this.props;
|
||||||
return (
|
return (
|
||||||
<div className="image-container" style={this.props.imageStyles}>
|
<div className="image-container" style={this.props.imageStyles}>
|
||||||
<img src={image} className="image" id={imageId}/>
|
<img src={image} style={{width: '100%'}} className="image" id={imageId}/>
|
||||||
<div className="btn-content">
|
<div className="btn-content">
|
||||||
<i className="close-btn" id={imageId} onClick={this.removeImage}>X</i>
|
<i className="close-btn" id={imageId} onClick={this.removeImage}>X</i>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -17,24 +17,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import React, {Component} from 'react';
|
import React, {Component} from 'react';
|
||||||
import Theme from '../../../theme';
|
import './chip.css';
|
||||||
|
|
||||||
class Chip extends Component {
|
class Chip extends Component {
|
||||||
constructor() {
|
|
||||||
super();
|
|
||||||
this.scriptId = "chip";
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillMount() {
|
|
||||||
/**
|
|
||||||
*Loading the theme files based on the the user-preference.
|
|
||||||
*/
|
|
||||||
Theme.insertThemingScripts(this.scriptId);
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillUnmount() {
|
|
||||||
Theme.removeThemingScripts(this.scriptId);
|
|
||||||
}
|
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@ -18,7 +18,8 @@
|
|||||||
|
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import React, {Component} from 'react';
|
import React, {Component} from 'react';
|
||||||
import Theme from '../../../theme'
|
import './drawer.css';
|
||||||
|
import {Row} from "reactstrap";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom React component for Application View.
|
* Custom React component for Application View.
|
||||||
@ -28,18 +29,6 @@ class Drawer extends Component {
|
|||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
this.closeDrawer = this.closeDrawer.bind(this);
|
this.closeDrawer = this.closeDrawer.bind(this);
|
||||||
this.scriptId = "drawer";
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillMount() {
|
|
||||||
/**
|
|
||||||
*Loading the theme files based on the the user-preference.
|
|
||||||
*/
|
|
||||||
Theme.insertThemingScripts(this.scriptId);
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillUnmount() {
|
|
||||||
Theme.removeThemingScripts(this.scriptId);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -18,29 +18,13 @@
|
|||||||
|
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import React, {Component} from 'react';
|
import React, {Component} from 'react';
|
||||||
import Theme from '../../../theme';
|
import './floatingButton.css';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Floating Action button.
|
* Floating Action button.
|
||||||
* */
|
* */
|
||||||
class FloatingButton extends Component {
|
class FloatingButton extends Component {
|
||||||
|
|
||||||
constructor() {
|
|
||||||
super();
|
|
||||||
this.scriptId = "floatingButton";
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillMount() {
|
|
||||||
/**
|
|
||||||
*Loading the theme files based on the the user-preference.
|
|
||||||
*/
|
|
||||||
Theme.insertThemingScripts(this.scriptId);
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillUnmount() {
|
|
||||||
Theme.removeThemingScripts(this.scriptId);
|
|
||||||
}
|
|
||||||
|
|
||||||
handleClick(event) {
|
handleClick(event) {
|
||||||
this.props.onClick(event);
|
this.props.onClick(event);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -18,9 +18,9 @@
|
|||||||
|
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import React, {Component} from 'react';
|
import React, {Component} from 'react';
|
||||||
|
import './imageUploader.css';
|
||||||
import Dropzone from "react-dropzone";
|
import Dropzone from "react-dropzone";
|
||||||
import {Row} from "reactstrap";
|
import {Row} from "reactstrap";
|
||||||
import Theme from '../../../theme';
|
|
||||||
|
|
||||||
|
|
||||||
class ImageUploader extends Component {
|
class ImageUploader extends Component {
|
||||||
@ -29,19 +29,7 @@ class ImageUploader extends Component {
|
|||||||
this.setImages = this.setImages.bind(this);
|
this.setImages = this.setImages.bind(this);
|
||||||
this.state = {
|
this.state = {
|
||||||
images: []
|
images: []
|
||||||
};
|
}
|
||||||
this.scriptId = "imageUploader";
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillMount() {
|
|
||||||
/**
|
|
||||||
*Loading the theme files based on the the user-preference.
|
|
||||||
*/
|
|
||||||
Theme.insertThemingScripts(this.scriptId);
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillUnmount() {
|
|
||||||
Theme.removeThemingScripts(this.scriptId);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setImages(images) {
|
setImages(images) {
|
||||||
|
|||||||
@ -18,23 +18,11 @@
|
|||||||
|
|
||||||
import React, {Component} from 'react';
|
import React, {Component} from 'react';
|
||||||
import {Col, Row} from "reactstrap";
|
import {Col, Row} from "reactstrap";
|
||||||
import Theme from '../../../theme'
|
import './notification.css';
|
||||||
|
|
||||||
class NotificationItem extends Component {
|
class NotificationItem extends Component {
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
this.scriptId = "notification";
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillMount() {
|
|
||||||
/**
|
|
||||||
*Loading the theme files based on the the user-preference.
|
|
||||||
*/
|
|
||||||
Theme.insertThemingScripts(this.scriptId);
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillUnmount() {
|
|
||||||
Theme.removeThemingScripts(this.scriptId);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
|||||||
@ -19,23 +19,10 @@
|
|||||||
import React, {Component} from 'react';
|
import React, {Component} from 'react';
|
||||||
import {Col, Row} from "reactstrap";
|
import {Col, Row} from "reactstrap";
|
||||||
import './notification.css';
|
import './notification.css';
|
||||||
import Theme from '../../../theme'
|
|
||||||
|
|
||||||
class NotificationView extends Component {
|
class NotificationView extends Component {
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
this.scriptId = "notification";
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillMount() {
|
|
||||||
/**
|
|
||||||
*Loading the theme files based on the the user-preference.
|
|
||||||
*/
|
|
||||||
Theme.insertThemingScripts(this.scriptId);
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillUnmount() {
|
|
||||||
Theme.removeThemingScripts(this.scriptId);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
|||||||
@ -17,26 +17,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import React, {Component} from 'react';
|
import React, {Component} from 'react';
|
||||||
import Theme from '../../../theme';
|
import './switch.css';
|
||||||
|
|
||||||
class Switch extends Component {
|
class Switch extends Component {
|
||||||
|
|
||||||
constructor() {
|
|
||||||
super();
|
|
||||||
this.scriptId = "switch";
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillMount() {
|
|
||||||
/**
|
|
||||||
*Loading the theme files based on the the user-preference.
|
|
||||||
*/
|
|
||||||
Theme.insertThemingScripts(this.scriptId);
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillUnmount() {
|
|
||||||
Theme.removeThemingScripts(this.scriptId);
|
|
||||||
}
|
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const {height, width} = this.props;
|
const {height, width} = this.props;
|
||||||
return (
|
return (
|
||||||
|
|||||||
@ -16,6 +16,7 @@
|
|||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
|
import '!!style-loader!css-loader!src/css/font-wso2.css';
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
entry: {
|
entry: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user