Changeset e857530


Ignore:
Timestamp:
02/10/21 17:33:29 (4 years ago)
Author:
i-ina <76742075+i-ina@…>
Branches:
master
Children:
1b4b6ff
Parents:
bf9486e
Message:

adjusted company and team look

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • back_end/src/main/resources/application-h2.properties

    rbf9486e re857530  
    88
    99spring.h2.console.enabled=true
     10spring.jpa.hibernate.ddl-auto=update
    1011spring.h2.console.path=/h2
  • client_app/src/components/profiles/company_profile.js

    rbf9486e re857530  
    11import React from 'react';
    2 import {Container, Header, Table, Item, Button} from 'semantic-ui-react'
     2import {Container, Header, Table, Item, Button, Segment} from 'semantic-ui-react'
    33import {Link} from "react-router-dom";
    44
     
    66    return(
    77        <Container textAlign="left">
    8             <Header>Company:</Header>
    9             <h3>{props.data.name}</h3>
    10             <h2>E-mail: {props.data.email}</h2>
    11             <h3>Address: {props.data.address.country} {props.data.address.city} {props.data.address.street}</h3>
    12             <Button primary as={Link} to={"/company/edit"}>Edit</Button>
     8            <Header as="h1">Welcome!</Header>
     9            <Segment.Group>
     10                <Segment>
     11                    <Header>Company</Header>
     12                </Segment>
     13                <Segment>
     14                    <Header as="h3">Company Name:</Header>
     15                    {props.data.name}
     16                </Segment>
     17                <Segment>
     18                    <Header as="h3">Company e-mail:</Header>
     19                    {props.data.email}
     20                </Segment>
     21                <Segment><b>Address: </b> {props.data.address.country}-{props.data.address.city}-{props.data.address.street}</Segment>
     22            </Segment.Group>
     23            <Button primary as={Link} to={"/team/edit"}>Edit</Button>
    1324        </Container>
    1425    );
  • client_app/src/components/profiles/team_profile.js

    rbf9486e re857530  
    11import React from 'react';
    2 import {Container, Header, Table, Item, Button} from 'semantic-ui-react'
     2import {Container, Header, Table, Item, Button, Segment} from 'semantic-ui-react'
    33import {Link} from "react-router-dom";
    44
     
    66    return(
    77        <Container textAlign="left">
    8             <Header>Team:</Header>
    9             <h3>{props.data.name}</h3>
    10             <h2>E-mail: {props.data.email}</h2>
    11             <h3>Members: {props.data.members}</h3>
     8            <Header as="h1">Welcome!</Header>
     9            <Segment.Group>
     10                <Segment>
     11                    <Header>Team</Header>
     12                </Segment>
     13                <Segment>
     14                    <Header as="h3">Team Name:</Header>
     15                    {props.data.name}
     16                </Segment>
     17                <Segment>
     18                    <Header as="h3">Team e-mail:</Header>
     19                    {props.data.email}
     20                </Segment>
     21                <Segment><b>Number of members:</b> {props.data.members}</Segment>
     22            </Segment.Group>
    1223            <Button primary as={Link} to={"/team/edit"}>Edit</Button>
    1324        </Container>
Note: See TracChangeset for help on using the changeset viewer.