Commit 26c5f600 authored by Alessadro's avatar Alessadro

Installate tutte le librerie Redux necessarie, aggiornate tutte le dipendenze all'ultima versione

parent 8000dfce
This diff is collapsed.
......@@ -298,3 +298,8 @@ body > div > div div > div.login-form { */
padding: 2px;
border-top: 0px;
}
/* Fix Dimmer Loader on semantic 0.82 */
.ui.dimmer>.content>* {
display: inline;
}
import React, { Component } from 'react'
import { Button, Header, Image, Modal, Segment, Icon, Accordion, Dropdown } from 'semantic-ui-react'
import { Button, Header, Image, Modal, Segment, Icon, Accordion, Dropdown, Loader, Dimmer } from 'semantic-ui-react'
import { translate, Trans } from 'react-i18next'
import { withApolloFetch } from './withApolloFetch'
import { withRouter } from 'react-router-dom'
import Dropzone from 'react-dropzone'
import Loader from 'halogen/MoonLoader'
class CustomImgsDnDUpload extends Component{
constructor() {
......@@ -100,9 +99,12 @@ class CustomImgsDnDUpload extends Component{
</Dropzone>
:
//sto caricando l'immagine
<div className="dropzone">
<Loader color="#26A65B" size="16px" margin="4px"/>
</div>
<Dimmer
active={this.state.loading}
page
>
<Loader active inline='centered' size='massive' />
</Dimmer>
let imgOld = this.state.filesOld
imgOld = imgOld.map((item, index) => {
......
......@@ -3,7 +3,7 @@ import { Segment, Button, Dropdown, Image, Message, Loader, Card, Dimmer, Menu }
import { Link } from 'react-router-dom'
import { translate, Trans } from 'react-i18next'
import { withRouter } from 'react-router-dom'
import Rnd from 'react-rnd'
import { Rnd } from 'react-rnd'
import html2canvas from 'html2canvas'
import jsPDF from 'jspdf'
......
import React, { Component } from 'react'
import { Segment, Loader } from 'semantic-ui-react'
import Rnd from 'react-rnd'
import { Rnd } from 'react-rnd'
import CardLayout from './CardLayout'
import { translate, Trans } from 'react-i18next'
import { withApolloFetch } from './withApolloFetch'
......
import React, { Component } from 'react'
import Loader from 'halogen/MoonLoader'
import { Loader } from 'semantic-ui-react'
export const withCurrentProject = (WrappedComponent) => {
return class withCurrentProject extends Component {
......@@ -39,11 +39,7 @@ export const withCurrentProject = (WrappedComponent) => {
})
return (
<div>
<Loader color="#26A65B" size="16px" margin="4px">
Loading the user...
</Loader>
</div>
<Loader active size='massive' inline='centered' />
)
}
else {
......
import React, { Component } from 'react'
import Loader from 'halogen/MoonLoader'
import { Loader } from 'semantic-ui-react'
export const withCurrentUser = (WrappedComponent) => {
return class withCurrentUser extends Component {
......@@ -35,11 +35,7 @@ export const withCurrentUser = (WrappedComponent) => {
})
return (
<div>
<Loader color="#26A65B" size="16px" margin="4px">
Loading the user...
</Loader>
</div>
<Loader active size='massive' inline='centered' />
)
}
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment