changed design things

This commit is contained in:
Nicola Brunner 2020-04-17 14:25:22 +02:00
parent 9430de90d0
commit dc22c008d3
2 changed files with 15 additions and 4 deletions

View File

@ -57,7 +57,9 @@ export class MyHeader extends React.Component {
{this.props.username} {this.props.username}
</Label> </Label>
<Divider /> <Divider />
<Button onClick={this.logout}>Logout</Button> <Button basic inverted onClick={this.logout}>
Logout
</Button>
</Grid.Column> </Grid.Column>
</Grid.Row> </Grid.Row>
</Grid> </Grid>

View File

@ -4,7 +4,15 @@ import { connect } from "react-redux";
import { RemoteService } from "../../../remote"; import { RemoteService } from "../../../remote";
const DeleteModal = (props) => ( const DeleteModal = (props) => (
<Modal trigger={<Button color="red">Remove</Button>} closeIcon> <Modal
trigger={
<Button icon labelPosition="left" inverted color="red">
<Icon name="trash alternate" />
Delete device
</Button>
}
closeIcon
>
<Header icon="archive" content="Are you sure ?" /> <Header icon="archive" content="Are you sure ?" />
<Modal.Actions> <Modal.Actions>
<Button color="red"> <Button color="red">
@ -44,10 +52,11 @@ const SettingsForm = (props) => {
</Form.Field> </Form.Field>
<Button <Button
onClick={() => props.saveFunction(values)} onClick={() => props.saveFunction(values)}
color="blue" color="green"
type="submit" type="submit"
> >
Save <Icon name="checkmark" />
Save changes
</Button> </Button>
</Form> </Form>
); );