From e13e630cd6e4fc0b1ff92098a28a770794c7bb9a Mon Sep 17 00:00:00 2001
From: gabrhr <73925454+gabrhr@users.noreply.github.com>
Date: Wed, 20 Apr 2022 10:19:29 -0500
Subject: =?UTF-8?q?A=C3=B1adir=20plantilla?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Base para front
---
.../app/containers/Dashboard/Dashboard.js | 99 ++++++++++++++++++++++
.../app/containers/Dashboard/DashboardV2.js | 79 +++++++++++++++++
.../app/containers/Dashboard/dashboard-jss.js | 30 +++++++
3 files changed, 208 insertions(+)
create mode 100644 front/odiparpack/app/containers/Dashboard/Dashboard.js
create mode 100644 front/odiparpack/app/containers/Dashboard/DashboardV2.js
create mode 100644 front/odiparpack/app/containers/Dashboard/dashboard-jss.js
(limited to 'front/odiparpack/app/containers/Dashboard')
diff --git a/front/odiparpack/app/containers/Dashboard/Dashboard.js b/front/odiparpack/app/containers/Dashboard/Dashboard.js
new file mode 100644
index 0000000..94d3eb4
--- /dev/null
+++ b/front/odiparpack/app/containers/Dashboard/Dashboard.js
@@ -0,0 +1,99 @@
+import React, { PureComponent } from 'react';
+import PropTypes from 'prop-types';
+import brand from 'ba-api/brand';
+import { Helmet } from 'react-helmet';
+import { withStyles } from '@material-ui/core/styles';
+import imgApi from 'ba-api/images';
+import avatarApi from 'ba-api/avatars';
+import {
+ SliderWidget,
+ CounterGroupWidget,
+ BigChartWidget,
+ TableWidget,
+ TaskWidget,
+ ProfileCard,
+ ProfileWidget,
+ ProgressWidget,
+ GeneralCard,
+ Quote,
+ PlayerCard
+} from 'ba-components';
+import { Grid, Divider } from '@material-ui/core';
+import styles from './dashboard-jss';
+
+
+class Dashboard extends PureComponent {
+ render() {
+ const title = brand.name + ' - Dashboard';
+ const description = brand.desc;
+ const { classes } = this.props;
+ return (
+
+
+ {title}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ );
+ }
+}
+
+Dashboard.propTypes = {
+ classes: PropTypes.object.isRequired,
+};
+
+export default withStyles(styles)(Dashboard);
diff --git a/front/odiparpack/app/containers/Dashboard/DashboardV2.js b/front/odiparpack/app/containers/Dashboard/DashboardV2.js
new file mode 100644
index 0000000..027dad8
--- /dev/null
+++ b/front/odiparpack/app/containers/Dashboard/DashboardV2.js
@@ -0,0 +1,79 @@
+import React, { PureComponent } from 'react';
+import PropTypes from 'prop-types';
+import brand from 'ba-api/brand';
+import { Helmet } from 'react-helmet';
+import { withStyles } from '@material-ui/core/styles';
+import imgApi from 'ba-api/images';
+import avatarApi from 'ba-api/avatars';
+import {
+ CounterIconsWidget,
+ AreaChartWidget,
+ CarouselWidget,
+ PostCard,
+ AlbumWidget,
+ MapWidget
+} from 'ba-components';
+import { Grid, Divider } from '@material-ui/core';
+import styles from './dashboard-jss';
+
+
+class DashboardV2 extends PureComponent {
+ render() {
+ const title = brand.name + ' - Dashboard Version 2';
+ const description = brand.desc;
+ const { classes } = this.props;
+ return (
+
+
+ {title}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ );
+ }
+}
+
+DashboardV2.propTypes = {
+ classes: PropTypes.object.isRequired,
+};
+
+export default withStyles(styles)(DashboardV2);
diff --git a/front/odiparpack/app/containers/Dashboard/dashboard-jss.js b/front/odiparpack/app/containers/Dashboard/dashboard-jss.js
new file mode 100644
index 0000000..adb9bc0
--- /dev/null
+++ b/front/odiparpack/app/containers/Dashboard/dashboard-jss.js
@@ -0,0 +1,30 @@
+const styles = theme => ({
+ root: {
+ flexGrow: 1,
+ },
+ divider: {
+ display: 'block',
+ margin: `${theme.spacing(2)}px 0`,
+ background: 'none'
+ },
+ sliderWrap: {
+ position: 'relative',
+ display: 'block',
+ boxShadow: theme.shadows[1],
+ width: '100%',
+ borderRadius: 4
+ },
+ dividerMini: {
+ margin: `${theme.spacing(1.5)}px 0`,
+ background: 'none'
+ },
+ noPadding: {
+ paddingTop: '0 !important',
+ paddingBottom: '0 !important',
+ [theme.breakpoints.up('sm')]: {
+ padding: '0 !important'
+ }
+ }
+});
+
+export default styles;
--
cgit v1.2.3