From 0a8f7ba3b4a3cdaf5f6d8eef1605e98239d3fd70 Mon Sep 17 00:00:00 2001 From: Luis Felipe Risch <lfr20@inf.ufpr.br> Date: Wed, 30 Sep 2020 12:24:58 -0300 Subject: [PATCH] Display the charts from metabase --- src/Admin/Components/Components/Inframe.js | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/Admin/Components/Components/Inframe.js diff --git a/src/Admin/Components/Components/Inframe.js b/src/Admin/Components/Components/Inframe.js new file mode 100644 index 00000000..00e9f229 --- /dev/null +++ b/src/Admin/Components/Components/Inframe.js @@ -0,0 +1,40 @@ +/*Copyright (C) 2019 Centro de Computacao Cientifica e Software Livre +Departamento de Informatica - Universidade Federal do Parana + +This file is part of Plataforma Integrada MEC. + +Plataforma Integrada MEC is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +Plataforma Integrada MEC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with Plataforma Integrada MEC. If not, see <http://www.gnu.org/licenses/>.*/ + +import React from 'react'; +import Welcome from './Welcome'; + +//This file show the charts + +export default class IframeComponent extends React.Component { + render() { + return ( + <div> + <Welcome/> + <div style={{height : '1em'}}></div> + <iframe + src='https://metabase.c3sl.ufpr.br/public/dashboard/8ada315d-b8df-4b18-b7fb-d06b0ac64623' + height='800px' + width='100%' + // allowTransparency={true} + frameBorder={0} + /> + </div> + ) + } +} -- GitLab