Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 7fd05f05 authored by sirinbaisa's avatar sirinbaisa
Browse files

Benerin Css

parent 307ae0a3
No related branches found
No related tags found
No related merge requests found
...@@ -270,3 +270,12 @@ card .formRegis{ ...@@ -270,3 +270,12 @@ card .formRegis{
margin-top:2%; margin-top:2%;
margin-bottom: 0; margin-bottom: 0;
} }
.ui.segment.transkrip{
margin-left:7%;
margin-right:7%;
}
.ui.segment.kop {
line-height: 5px;
}
\ No newline at end of file
import React from 'react'; import React from 'react';
import { Grid, Segment, Table } from 'semantic-ui-react'; import { Grid, Segment, Table, Header, Image, Container } from 'semantic-ui-react';
import Course from './Course'; import Course from './Course';
export default class CourseList extends React.Component { export default class CourseList extends React.Component {
static propTypes = { static propTypes = {
...@@ -23,9 +24,30 @@ export default class CourseList extends React.Component { ...@@ -23,9 +24,30 @@ export default class CourseList extends React.Component {
} }
render = () => ( render = () => (
<Segment className="transkrip">
<Grid>
<Grid.Row columns={2}>
<Grid.Column width={2} >
<Image src="/assets/img/UI.png" size="tiny" floated="right" />
</Grid.Column>
<Grid.Column width={4}>
<Segment basic >
<h3 style={{ lineHeight: '1%' }}>Universitas Indonesia </h3>
<h3 style={{ lineHeight: '1%' }}>Fakultas Ilmu Komputer </h3>
<h3 style={{ lineHeight: '1%' }}>Program Studi S1</h3>
</Segment>
</Grid.Column>
</Grid.Row>
<Container fluid>
<hr />
</Container>
<Grid.Row columns={1}>
<Grid.Column> <Grid.Column>
<Segment> <Container fluid textAlign="center">
<h2>Nama : {this.props.data.name}</h2> <h2> Riwayat Akademik Mahasiswa </h2>
</Container>
<h3>Nama : {this.props.data.name}</h3>
<Table unstackable> <Table unstackable>
<Table.Header> <Table.Header>
<Table.Row> <Table.Row>
...@@ -38,7 +60,11 @@ export default class CourseList extends React.Component { ...@@ -38,7 +60,11 @@ export default class CourseList extends React.Component {
{ this.generateCourse() } { this.generateCourse() }
</Table.Body> </Table.Body>
</Table> </Table>
</Segment>
</Grid.Column> </Grid.Column>
</Grid.Row>
</Grid>
</Segment>
); );
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment