Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Fasilkom UI Open Source Software
Kape
Commits
173de4f7
Commit
173de4f7
authored
May 16, 2017
by
sirinbaisa
Browse files
[#42][#14450219] admin Verifikasi Page
parent
6397c10e
Changes
2
Hide whitespace changes
Inline
Side-by-side
assets/js/VacancyPage.jsx
View file @
173de4f7
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"
>
<
Item
.
Group
>
<
AdminVacancy
/>
</
Item
.
Group
>
</
Pane
>
<
Pane
label
=
" Semua Lamaran"
/>
</
Tabs
>
);
}
return
(
<
div
>
<
h3
>
...
...
assets/js/components/AdminVacancy.jsx
0 → 100644
View file @
173de4f7
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
.
Content
>
<
Item
.
Header
as
=
"a"
>
Software Engineer
</
Item
.
Header
>
<
Grid
.
Row
>
<
Grid
.
Column
floated
=
"left"
>
<
h4
>
Jalanloka
</
h4
>
Jakarta Barat, DKI Jakarta
</
Grid
.
Column
>
<
Grid
.
Column
floated
=
"right"
>
<
h4
>
<
Icon
name
=
"remove circle"
size
=
"large"
color
=
"red"
/>
Belum Terverifikasi
</
h4
>
<
VerifyAdminModal
/>
</
Grid
.
Column
>
</
Grid
.
Row
>
</
Item
.
Content
>
</
Item
>
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment