Fakultas Ilmu Komputer UI
Skip to content
GitLab
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
ff4d6c37
Commit
ff4d6c37
authored
Apr 26, 2017
by
Zamil Majdy
Browse files
[#140656091] [#33] [Refactor] Fixx css and add icon on application
parent
d502a5a4
Changes
4
Hide whitespace changes
Inline
Side-by-side
assets/css/custom.css
View file @
ff4d6c37
...
...
@@ -106,18 +106,6 @@ font-size: 32px;
margin-top
:
10px
;
}
.coverLetter
{
margin-top
:
30px
;
}
.linkCV
{
float
:
right
;
margin-top
:
30px
;
margin-bottom
:
10px
;
}
.registerForm
{
margin
:
0
auto
;
/*padding:50px;*/
...
...
assets/js/components/ConfirmationModal.jsx
View file @
ff4d6c37
...
...
@@ -37,7 +37,7 @@ export default class ConfirmationModal extends React.Component {
handleYes
=
()
=>
{
this
.
state
.
callback
();
this
.
handleClose
();
}
open
=
(
header
=
this
.
state
.
header
,
content
=
this
.
state
.
content
,
icon
=
this
.
state
.
icon
,
callback
=
this
.
state
.
callback
())
=>
{
this
.
setState
({
modalOpen
:
true
,
header
,
content
,
callback
});
this
.
setState
({
modalOpen
:
true
,
header
,
content
,
callback
,
icon
});
};
render
=
()
=>
(
...
...
assets/js/components/LoginForm.jsx
View file @
ff4d6c37
...
...
@@ -60,7 +60,7 @@ export default class LoginForm extends React.Component {
<
Form
loading
=
{
this
.
state
.
loading
}
onSubmit
=
{
e
=>
this
.
handleSubmit
(
e
)
}
error
=
{
this
.
state
.
errorFlag
}
>
<
Form
.
Group
widths
=
"equal"
>
<
Form
.
Field
>
<
label
htmlFor
=
"id"
>
Username
</
label
>
<
label
htmlFor
=
"id"
>
Email
</
label
>
<
Input
type
=
"text"
id
=
"username"
icon
=
"user"
iconPosition
=
"left"
placeholder
=
"username"
onChange
=
{
e
=>
this
.
handleChange
(
e
,
'
username
'
)
}
required
/>
</
Form
.
Field
>
</
Form
.
Group
>
...
...
core/serializers/vacancies.py
View file @
ff4d6c37
from
rest_framework
import
serializers
from
core.models
import
Company
from
core.models.vacancies
import
Vacancy
,
Application
from
core.serializers.accounts
import
StudentSerializer
from
core.serializers.accounts
import
StudentSerializer
,
CompanySerializer
class
VacancySerializer
(
serializers
.
ModelSerializer
):
company
=
serializers
.
PrimaryKeyRelatedField
(
queryset
=
Company
.
objects
.
all
()
)
company
=
CompanySerializer
()
class
Meta
:
model
=
Vacancy
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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