Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 5b209db2 authored by M. Reza Qorib's avatar M. Reza Qorib
Browse files

Merge branch 'Features/ProfilePage' of https://gitlab.com/PPL2017csui/PPLA1...

Merge branch 'Features/ProfilePage' of https://gitlab.com/PPL2017csui/PPLA1 into Features/ProfilePage
parents d4d2ced1 3dd43778
No related branches found
No related tags found
No related merge requests found
...@@ -8,10 +8,6 @@ ...@@ -8,10 +8,6 @@
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
} }
.applicant{
margin-left: 150px;
margin-right: 150px;
}
.ui.inverted.segment.header{ .ui.inverted.segment.header{
background-color: #EEEEEE; background-color: #EEEEEE;
...@@ -184,6 +180,10 @@ card .formRegis{ ...@@ -184,6 +180,10 @@ card .formRegis{
line-height: 30%; line-height: 30%;
} }
.biodata-company h4{
color: grey;
}
.button-profile{ .button-profile{
margin-top:30px; margin-top:30px;
} }
...@@ -197,4 +197,32 @@ card .formRegis{ ...@@ -197,4 +197,32 @@ card .formRegis{
margin-bottom:40px; margin-bottom:40px;
margin-left:5%; margin-left:5%;
margin-right:5%; margin-right:5%;
} }
\ No newline at end of file
.ui.segment.segment-profile-company{
margin-left: 10%;
margin-right: 10%;
padding: 5%;
}
.ui.segment.profile-form-company{
margin-top:4%;
margin-left: 10%;
margin-right: 10%;
padding-bottom:3%;
}
.company-profile{
padding-bottom:5%;
}
import React from 'react';
import { Segment, Header, Image, Container, Form, Button, Icon, TextArea } from 'semantic-ui-react';
export default class CompanyProfile extends React.Component {
render() {
return (
<div className="company-profile">
<Segment className="segment-profile-company" >
<Header as="h2" icon textAlign="center">
<Image src="http://semantic-ui.com/images/wireframe/square-image.png" size="small" shape="circular" />
</Header>
<Container textAlign="center" className="profile-biodata">
<div className="biodata-company">
<h2>Company</h2>
<h3>Alamat alamat alamat</h3>
<h4>Deskripsi Deskripsi Deskripsi Deskripsi Deskripsi Deskripsi</h4>
</div>
</Container>
</Segment>
<Segment className="profile-form-company">
<Header as="h3" textAlign="center">
<Icon name="edit" />
<Header.Content>
Edit Profile Page
</Header.Content>
</Header>
<Form size="small" >
<Form.Field>
<label htmlFor="photo">Logo Perusahaan</label>
<input placeholder="Profile Photo.jpg" name="photo" type="File" />
</Form.Field>
<Form.Field>
<label htmlFor="email">Nama Perusahaan</label>
<input placeholder="Nama Perusahaan" name="email" />
</Form.Field>
<Form.Field>
<label htmlFor="phone">Deskripsi</label>
<TextArea placeholder='Try adding multiple lines' autoHeight />
</Form.Field>
<Button type="submit" size="small" primary floated="right">Submit</Button>
</Form>
</Segment>
</div>
);
}
}
import React from 'react';
import ReactTestUtils from 'react-addons-test-utils';
import CompanyProfile from '../CompanyProfile';
describe('CompanyProfile', () => {
it('renders without problem', () => {
const companyProfile = ReactTestUtils.renderIntoDocument(
<CompanyProfile />);
expect(companyProfile).to.exist;
});
});
...@@ -5,6 +5,7 @@ import Dashboard from './Dashboard'; ...@@ -5,6 +5,7 @@ import Dashboard from './Dashboard';
import Login from './Login'; import Login from './Login';
import VacancyPage from './VacancyPage'; import VacancyPage from './VacancyPage';
import ProfilePage from './ProfilePage'; import ProfilePage from './ProfilePage';
import CompanyProfile from './CompanyProfile';
import HomeCompany from './HomeCompany'; import HomeCompany from './HomeCompany';
import CreateVacancy from './CreateVacancy'; import CreateVacancy from './CreateVacancy';
import Server from './lib/Server'; import Server from './lib/Server';
...@@ -40,6 +41,7 @@ export default class App extends React.Component { ...@@ -40,6 +41,7 @@ export default class App extends React.Component {
<Route path="/profil" component={ProfilePage} data={Storage.get('user-data')} own={true} /> <Route path="/profil" component={ProfilePage} data={Storage.get('user-data')} own={true} />
<Route path="/mahasiswa/:id" component={ProfilePage} data={Storage.get('user-data')} own={false} /> <Route path="/mahasiswa/:id" component={ProfilePage} data={Storage.get('user-data')} own={false} />
<Route path="/lowongan" component={VacancyPage} /> <Route path="/lowongan" component={VacancyPage} />
<Route path="/profile-perusahaan" component={CompanyProfile} />
<Route path="/perusahaan" component={HomeCompany} /> <Route path="/perusahaan" component={HomeCompany} />
<Route path="/buat-lowongan" component={CreateVacancy} /> <Route path="/buat-lowongan" component={CreateVacancy} />
<Route path="/buat-lowongan/:id" component={CreateVacancy} /> <Route path="/buat-lowongan/:id" component={CreateVacancy} />
......
[0419/113046.282:ERROR:process_info.cc(625)] range at 0x953e621000000000, size 0x202 fully unreadable
[0419/113046.284:ERROR:process_info.cc(625)] range at 0x953e623000000000, size 0x202 fully unreadable
[0419/113046.284:ERROR:process_info.cc(625)] range at 0x0, size 0x202 fully unreadable
[0419/113046.299:ERROR:file_io_win.cc(145)] CreateFile C:\Users\baisa\AppData\Local\Temp\karma-28613191\Crashpad\settings.dat: The system cannot find the path specified. (0x3)
[0419/113046.299:ERROR:file_io_win.cc(154)] CreateFile C:\Users\baisa\AppData\Local\Temp\karma-28613191\Crashpad\reports\a859f38f-0a5a-4ff9-939d-aac920dec0cd.dmp: The system cannot find the path specified. (0x3)
[0419/113046.299:ERROR:crash_report_exception_handler.cc(95)] PrepareNewCrashReport failed
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment