Skip to content
Snippets Groups Projects
Commit 8f5a65e9 authored by Lucas Eduardo Schoenfelder's avatar Lucas Eduardo Schoenfelder
Browse files

mectest

parent b0edbe05
No related branches found
No related tags found
3 merge requests!57Merge of develop into master,!56Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...,!24Tela recurso
<!-- 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 <!-- 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/>. --> <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8" /> <!-- google sign-in --> <meta name="google-signin-client_id" content="288460085642-k4veg4fo8kddvjer8b055n9da5qtgha7.apps.googleusercontent.com"> <script src="https://apis.google.com/js/platform.js" async defer></script> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Portal MEC</title> </head> <body > <noscript>You need to enable JavaScript to run this app.</noscript> <div id="root"/> </body> </html>
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/>. -->
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Portal MEC</title>
</head>
<body >
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"/>
</body>
</html>
...@@ -95,7 +95,7 @@ export default function LoginContainer (props) { ...@@ -95,7 +95,7 @@ export default function LoginContainer (props) {
} }
//arrumar isso //arrumar isso
const responseGoogle = (response) => { const = (response) => {
console.log(response); console.log(response);
} }
...@@ -112,16 +112,16 @@ export default function LoginContainer (props) { ...@@ -112,16 +112,16 @@ export default function LoginContainer (props) {
</DialogHeaderStyled> </DialogHeaderStyled>
<DialogContentDiv> <DialogContentDiv>
{/*<SocialConnectDiv> <SocialConnectDiv>
<StyledGoogleLoginButton <StyledGoogleLoginButton
clientId="658977310896-knrl3gka66fldh83dao2rhgbblmd4un9.apps.googleusercontent.com" clientId="288460085642-k4veg4fo8kddvjer8b055n9da5qtgha7.apps.googleusercontent.com"
onSuccess={responseGoogle} onSuccess={ }
onFailure={responseGoogle} onFailure={ }
cookiePolicy={'single_host_origin'} cookiePolicy={'single_host_origin'}
> >
<span style={{textTransform:"none", fontSize:"13px", color : "#666"}}>Usando o Google</span> <span style={{textTransform:"none", fontSize:"13px", color : "#666"}}>Usando o Google</span>
</StyledGoogleLoginButton> </StyledGoogleLoginButton>
</SocialConnectDiv>*/} </SocialConnectDiv>
<H3Div> <H3Div>
<H3Styled> <H3Styled>
......
...@@ -17,6 +17,11 @@ export default function FineUploaderDropzone (props) { ...@@ -17,6 +17,11 @@ export default function FineUploaderDropzone (props) {
deleteFile : { deleteFile : {
enabled : true, enabled : true,
endpoint: `${apiUrl}/learning_objects/` + props.draftID + '/chunk' endpoint: `${apiUrl}/learning_objects/` + props.draftID + '/chunk'
},
callbacks : {
onUploadChunk : function(id, name, chunkData) {
}
} }
} }
}) })
......
...@@ -17,7 +17,7 @@ You should have received a copy of the GNU Affero General Public License ...@@ -17,7 +17,7 @@ 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/>.*/ along with Plataforma Integrada MEC. If not, see <http://www.gnu.org/licenses/>.*/
var apiDomain = 'https://api.portalmec.c3sl.ufpr.br', var apiDomain = 'https://api.portalmectest.c3sl.ufpr.br',
apiVersion = 'v1', apiVersion = 'v1',
apiUrl = apiDomain + '/' + apiVersion; apiUrl = apiDomain + '/' + apiVersion;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment