Fakultas Ilmu Komputer UI

Commit 173de4f7 authored by sirinbaisa's avatar sirinbaisa
Browse files

[#42][#14450219] admin Verifikasi Page

parent 6397c10e
import React from 'react';
import { Item } from 'semantic-ui-react';
import Tabs from './components/Tabs';
import Pane from './components/Pane';
import VacancyList from './components/VacancyList';
import AdminVacancy from './components/AdminVacancy';
export default class VacancyPage extends React.Component {
......@@ -60,7 +62,19 @@ export default class VacancyPage extends React.Component {
return (
<VacancyList key={1} userId={this.state.id} url={`/companies/${this.state.id}/vacancies/`} type="company" />
} else if (this.props.user.role === 'admin') {
return (
<Tabs selected={0}>
<Pane label="Lowongan Belum Terferivikasi" >
<AdminVacancy />
<Pane label=" Semua Lamaran" />
return (
import React from 'react';
import { Item, Grid, Icon } from 'semantic-ui-react';
import VerifyAdminModal from './VerifyAdminModal';
export default class AdminVacancy extends React.Component {
render() {
return (
<Item className="adminItems">
<Item.Image src="http://semantic-ui.com/images/wireframe/image.png" size="small" />
<Item.Header as="a">Software Engineer</Item.Header>
<Grid.Column floated="left">
<h4>Jalanloka </h4>
Jakarta Barat, DKI Jakarta
<Grid.Column floated="right">
<h4> <Icon name="remove circle" size="large" color="red" /> Belum Terverifikasi </h4>
<VerifyAdminModal />
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