Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dida Adams Arizona
Tia-dev
Commits
9e4540ec
Commit
9e4540ec
authored
Aug 18, 2020
by
Dida Adams Arizona
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'didam' into 'master'
update button close See merge request
!117
parents
645fbaab
1b02dfa9
Changes
20
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
45 additions
and
20 deletions
+45
-20
Images.js
src/assets/Images.js
+1
-0
close.svg
src/assets/close.svg
+11
-0
ApprovalMatrix.js
src/container/ApprovalMatrix/ApprovalMatrix.js
+1
-1
CreateApprovalMatrix.js
src/container/ApprovalMatrix/CreateApprovalMatrix.js
+2
-1
EditApprovalMatrix.js
src/container/ApprovalMatrix/EditApprovalMatrix.js
+2
-1
CreateParameter.js
src/container/MasterData/Parameter/CreateParameter.js
+3
-2
Parameter.js
src/container/MasterData/Parameter/Parameter.js
+1
-1
CreatePerusahaan.js
src/container/MasterData/Perusahaan/CreatePerusahaan.js
+2
-1
EditPerusahaan.js
src/container/MasterData/Perusahaan/EditPerusahaan.js
+2
-1
Perusahaan.js
src/container/MasterData/Perusahaan/Perusahaan.js
+1
-1
ReportItems.js
src/container/MasterData/ReportItems.js
+1
-1
UnitBisnis.js
src/container/MasterData/UnitBisnis.js
+1
-1
CreateReportItems.js
...container/MasterData/formReportItems/CreateReportItems.js
+2
-1
EditReportItems.js
src/container/MasterData/formReportItems/EditReportItems.js
+2
-1
CreateUnitBisnis.js
src/container/MasterData/formUnitBisnis/CreateUnitBisnis.js
+3
-2
User.js
src/container/Otorisasi/User.js
+1
-1
AddUser.js
src/container/Otorisasi/User/AddUser.js
+2
-1
EditUser.js
src/container/Otorisasi/User/EditUser.js
+2
-1
AddRole.js
src/container/Otorisasi/UserRole/AddRole.js
+2
-1
EditRole.js
src/container/Otorisasi/UserRole/EditRole.js
+3
-1
No files found.
src/assets/Images.js
View file @
9e4540ec
...
@@ -35,6 +35,7 @@ const Images = {
...
@@ -35,6 +35,7 @@ const Images = {
berhasil
:
require
(
'./berhasil.svg'
),
berhasil
:
require
(
'./berhasil.svg'
),
up
:
require
(
'./up.svg'
),
up
:
require
(
'./up.svg'
),
down
:
require
(
'./down.svg'
),
down
:
require
(
'./down.svg'
),
close
:
require
(
'./close.svg'
),
//Image
//Image
triputra
:
require
(
'./triputra.png'
),
triputra
:
require
(
'./triputra.png'
),
...
...
src/assets/close.svg
0 → 100644
View file @
9e4540ec
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"16"
height=
"16"
viewBox=
"0 0 16 16"
>
<defs>
<path
id=
"gi74onwb9a"
d=
"M.898.157l-.74.74c-.212.211-.209.546 0 .754l14.19 14.193c.21.209.546.208.754 0l.74-.74c.212-.212.209-.547 0-.755L1.653.156C1.547.052 1.412 0 1.275 0 1.14 0 1.002.052.898.157z"
/>
</defs>
<g
fill=
"none"
fill-rule=
"evenodd"
>
<path
d=
"M0 0H24V24H0z"
transform=
"translate(-4 -4)"
/>
<g
transform=
"translate(-4 -4) translate(4 4)"
>
<path
stroke=
"#FFF"
stroke-linecap=
"round"
stroke-width=
"2"
d=
"M1.143 1.143L14.857 14.857M14.857 1.143L1.143 14.857"
/>
</g>
</g>
</svg>
src/container/ApprovalMatrix/ApprovalMatrix.js
View file @
9e4540ec
...
@@ -671,7 +671,7 @@ export default class ApprovalMatrix extends Component {
...
@@ -671,7 +671,7 @@ export default class ApprovalMatrix extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
setState
({
visibleUpload
:
false
})}
onClick
=
{()
=>
this
.
setState
({
visibleUpload
:
false
})}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/ApprovalMatrix/CreateApprovalMatrix.js
View file @
9e4540ec
...
@@ -6,6 +6,7 @@ import * as R from 'ramda'
...
@@ -6,6 +6,7 @@ import * as R from 'ramda'
import
format
from
"date-fns/format"
;
import
format
from
"date-fns/format"
;
import
localeID
from
"date-fns/locale/id"
import
localeID
from
"date-fns/locale/id"
import
api
from
"../../api"
;
import
api
from
"../../api"
;
import
Images
from
'../../assets/Images'
;
export
default
class
CreateApprovalMatrix
extends
Component
{
export
default
class
CreateApprovalMatrix
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -170,7 +171,7 @@ export default class CreateApprovalMatrix extends Component {
...
@@ -170,7 +171,7 @@ export default class CreateApprovalMatrix extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/ApprovalMatrix/EditApprovalMatrix.js
View file @
9e4540ec
...
@@ -5,6 +5,7 @@ import Autocomplete from '@material-ui/lab/Autocomplete';
...
@@ -5,6 +5,7 @@ import Autocomplete from '@material-ui/lab/Autocomplete';
import
*
as
R
from
'ramda'
import
*
as
R
from
'ramda'
import
format
from
"date-fns/format"
;
import
format
from
"date-fns/format"
;
import
api
from
"../../api"
;
import
api
from
"../../api"
;
import
Images
from
'../../assets/Images'
;
const
operator
=
[
const
operator
=
[
{
{
...
@@ -189,7 +190,7 @@ export default class EditApprovalMatrix extends Component {
...
@@ -189,7 +190,7 @@ export default class EditApprovalMatrix extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/MasterData/Parameter/CreateParameter.js
View file @
9e4540ec
...
@@ -5,6 +5,7 @@ import api from '../../../api';
...
@@ -5,6 +5,7 @@ import api from '../../../api';
import
{
DatePicker
}
from
'@material-ui/pickers'
;
import
{
DatePicker
}
from
'@material-ui/pickers'
;
import
{
format
}
from
'date-fns'
;
import
{
format
}
from
'date-fns'
;
import
*
as
R
from
'ramda'
import
*
as
R
from
'ramda'
import
Images
from
'../../../assets/Images'
;
export
default
class
CreateParameter
extends
Component
{
export
default
class
CreateParameter
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -377,7 +378,7 @@ export default class CreateParameter extends Component {
...
@@ -377,7 +378,7 @@ export default class CreateParameter extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
@@ -697,7 +698,7 @@ export default class CreateParameter extends Component {
...
@@ -697,7 +698,7 @@ export default class CreateParameter extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/MasterData/Parameter/Parameter.js
View file @
9e4540ec
...
@@ -777,7 +777,7 @@ export default class Parameter extends Component {
...
@@ -777,7 +777,7 @@ export default class Parameter extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
setState
({
visibleUpload
:
false
})}
onClick
=
{()
=>
this
.
setState
({
visibleUpload
:
false
})}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/MasterData/Perusahaan/CreatePerusahaan.js
View file @
9e4540ec
...
@@ -5,6 +5,7 @@ import { DateTimePicker, KeyboardDatePicker, DatePicker } from "@material-ui/pic
...
@@ -5,6 +5,7 @@ import { DateTimePicker, KeyboardDatePicker, DatePicker } from "@material-ui/pic
import
format
from
"date-fns/format"
;
import
format
from
"date-fns/format"
;
import
Autocomplete
from
'@material-ui/lab/Autocomplete'
;
import
Autocomplete
from
'@material-ui/lab/Autocomplete'
;
import
api
from
'../../../api'
;
import
api
from
'../../../api'
;
import
Images
from
'../../../assets/Images'
;
export
default
class
CreatePerusahaan
extends
Component
{
export
default
class
CreatePerusahaan
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -123,7 +124,7 @@ export default class CreatePerusahaan extends Component {
...
@@ -123,7 +124,7 @@ export default class CreatePerusahaan extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/MasterData/Perusahaan/EditPerusahaan.js
View file @
9e4540ec
...
@@ -5,6 +5,7 @@ import * as R from 'ramda'
...
@@ -5,6 +5,7 @@ import * as R from 'ramda'
import
api
from
'../../../api'
import
api
from
'../../../api'
import
Autocomplete
from
'@material-ui/lab/Autocomplete'
import
Autocomplete
from
'@material-ui/lab/Autocomplete'
import
{
format
}
from
'date-fns'
import
{
format
}
from
'date-fns'
import
Images
from
'../../../assets/Images'
export
default
class
EditPerusahaan
extends
Component
{
export
default
class
EditPerusahaan
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -177,7 +178,7 @@ export default class EditPerusahaan extends Component {
...
@@ -177,7 +178,7 @@ export default class EditPerusahaan extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/MasterData/Perusahaan/Perusahaan.js
View file @
9e4540ec
...
@@ -607,7 +607,7 @@ export default class Perusahaan extends Component {
...
@@ -607,7 +607,7 @@ export default class Perusahaan extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
setState
({
visibleUpload
:
false
})}
onClick
=
{()
=>
this
.
setState
({
visibleUpload
:
false
})}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/MasterData/ReportItems.js
View file @
9e4540ec
...
@@ -877,7 +877,7 @@ export default class ReportItems extends Component {
...
@@ -877,7 +877,7 @@ export default class ReportItems extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
setState
({
visibleUpload
:
false
})}
onClick
=
{()
=>
this
.
setState
({
visibleUpload
:
false
})}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/MasterData/UnitBisnis.js
View file @
9e4540ec
...
@@ -504,7 +504,7 @@ export default class UnitBisnis extends Component {
...
@@ -504,7 +504,7 @@ export default class UnitBisnis extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
setState
({
visibleUpload
:
false
})}
onClick
=
{()
=>
this
.
setState
({
visibleUpload
:
false
})}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/MasterData/formReportItems/CreateReportItems.js
View file @
9e4540ec
...
@@ -6,6 +6,7 @@ import Autocomplete from '@material-ui/lab/Autocomplete';
...
@@ -6,6 +6,7 @@ import Autocomplete from '@material-ui/lab/Autocomplete';
import
{
titleCase
}
from
'../../../library/Utils'
;
import
{
titleCase
}
from
'../../../library/Utils'
;
import
format
from
"date-fns/format"
;
import
format
from
"date-fns/format"
;
import
{
DatePicker
}
from
'@material-ui/pickers'
;
import
{
DatePicker
}
from
'@material-ui/pickers'
;
import
Images
from
'../../../assets/Images'
;
export
default
class
CreateReportItems
extends
Component
{
export
default
class
CreateReportItems
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -284,7 +285,7 @@ export default class CreateReportItems extends Component {
...
@@ -284,7 +285,7 @@ export default class CreateReportItems extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/MasterData/formReportItems/EditReportItems.js
View file @
9e4540ec
...
@@ -6,6 +6,7 @@ import Autocomplete from '@material-ui/lab/Autocomplete';
...
@@ -6,6 +6,7 @@ import Autocomplete from '@material-ui/lab/Autocomplete';
import
api
from
'../../../api'
;
import
api
from
'../../../api'
;
import
*
as
R
from
'ramda'
import
*
as
R
from
'ramda'
import
{
titleCase
}
from
'../../../library/Utils'
;
import
{
titleCase
}
from
'../../../library/Utils'
;
import
Images
from
'../../../assets/Images'
;
export
default
class
EditReportItems
extends
Component
{
export
default
class
EditReportItems
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -305,7 +306,7 @@ export default class EditReportItems extends Component {
...
@@ -305,7 +306,7 @@ export default class EditReportItems extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/MasterData/formUnitBisnis/CreateUnitBisnis.js
View file @
9e4540ec
...
@@ -3,6 +3,7 @@ import { TextField, Typography } from '@material-ui/core';
...
@@ -3,6 +3,7 @@ import { TextField, Typography } from '@material-ui/core';
import
*
as
R
from
'ramda'
import
*
as
R
from
'ramda'
import
{
DateTimePicker
,
KeyboardDatePicker
,
DatePicker
}
from
"@material-ui/pickers"
;
import
{
DateTimePicker
,
KeyboardDatePicker
,
DatePicker
}
from
"@material-ui/pickers"
;
import
format
from
"date-fns/format"
;
import
format
from
"date-fns/format"
;
import
Images
from
'../../../assets/Images'
;
export
default
class
CreateUnitBisnis
extends
Component
{
export
default
class
CreateUnitBisnis
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -118,7 +119,7 @@ export default class CreateUnitBisnis extends Component {
...
@@ -118,7 +119,7 @@ export default class CreateUnitBisnis extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
@@ -306,7 +307,7 @@ export default class CreateUnitBisnis extends Component {
...
@@ -306,7 +307,7 @@ export default class CreateUnitBisnis extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/Otorisasi/User.js
View file @
9e4540ec
...
@@ -550,7 +550,7 @@ export default class UserRole extends Component {
...
@@ -550,7 +550,7 @@ export default class UserRole extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
setState
({
visibleUpload
:
false
})}
onClick
=
{()
=>
this
.
setState
({
visibleUpload
:
false
})}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/Otorisasi/User/AddUser.js
View file @
9e4540ec
...
@@ -9,6 +9,7 @@ import RemoveIcon from '@material-ui/icons/Remove';
...
@@ -9,6 +9,7 @@ import RemoveIcon from '@material-ui/icons/Remove';
import
AddIcon
from
'@material-ui/icons/Add'
;
import
AddIcon
from
'@material-ui/icons/Add'
;
import
{
DatePicker
}
from
'@material-ui/pickers'
;
import
{
DatePicker
}
from
'@material-ui/pickers'
;
import
*
as
R
from
'ramda'
import
*
as
R
from
'ramda'
import
Images
from
'../../../assets/Images'
;
const
CustomCheckbox
=
withStyles
({
const
CustomCheckbox
=
withStyles
({
root
:
{
root
:
{
...
@@ -274,7 +275,7 @@ export default class AddUser extends Component {
...
@@ -274,7 +275,7 @@ export default class AddUser extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/Otorisasi/User/EditUser.js
View file @
9e4540ec
...
@@ -8,6 +8,7 @@ import format from "date-fns/format";
...
@@ -8,6 +8,7 @@ import format from "date-fns/format";
import
RemoveIcon
from
'@material-ui/icons/Remove'
;
import
RemoveIcon
from
'@material-ui/icons/Remove'
;
import
AddIcon
from
'@material-ui/icons/Add'
;
import
AddIcon
from
'@material-ui/icons/Add'
;
import
*
as
R
from
'ramda'
import
*
as
R
from
'ramda'
import
Images
from
'../../../assets/Images'
;
const
CustomCheckbox
=
withStyles
({
const
CustomCheckbox
=
withStyles
({
root
:
{
root
:
{
...
@@ -310,7 +311,7 @@ export default class EditUser extends Component {
...
@@ -310,7 +311,7 @@ export default class EditUser extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/Otorisasi/UserRole/AddRole.js
View file @
9e4540ec
...
@@ -7,6 +7,7 @@ import {DatePicker} from "@material-ui/pickers";
...
@@ -7,6 +7,7 @@ import {DatePicker} from "@material-ui/pickers";
import
format
from
"date-fns/format"
;
import
format
from
"date-fns/format"
;
import
localeID
from
"date-fns/locale/id"
import
localeID
from
"date-fns/locale/id"
import
*
as
R
from
'ramda'
import
*
as
R
from
'ramda'
import
Images
from
'../../../assets/Images'
;
const
CustomCheckbox
=
withStyles
({
const
CustomCheckbox
=
withStyles
({
root
:
{
root
:
{
...
@@ -203,7 +204,7 @@ export default class AddRole extends Component {
...
@@ -203,7 +204,7 @@ export default class AddRole extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/Otorisasi/UserRole/EditRole.js
View file @
9e4540ec
...
@@ -6,6 +6,7 @@ import RemoveIcon from '@material-ui/icons/Remove';
...
@@ -6,6 +6,7 @@ import RemoveIcon from '@material-ui/icons/Remove';
import
{
DatePicker
}
from
"@material-ui/pickers"
;
import
{
DatePicker
}
from
"@material-ui/pickers"
;
import
format
from
"date-fns/format"
;
import
format
from
"date-fns/format"
;
import
*
as
R
from
'ramda'
import
*
as
R
from
'ramda'
import
Images
from
'../../../assets/Images'
;
const
CustomCheckbox
=
withStyles
({
const
CustomCheckbox
=
withStyles
({
root
:
{
root
:
{
color
:
'#51c6ea'
,
color
:
'#51c6ea'
,
...
@@ -131,6 +132,7 @@ export default class EditRole extends Component {
...
@@ -131,6 +132,7 @@ export default class EditRole extends Component {
getMenu
()
{
getMenu
()
{
api
.
create
().
getMenu
().
then
((
response
)
=>
{
api
.
create
().
getMenu
().
then
((
response
)
=>
{
if
(
response
.
data
.
status
===
'success'
)
{
if
(
response
.
data
.
status
===
'success'
)
{
console
.
log
(
response
.
data
.
data
)
this
.
setState
({
menuData
:
response
.
data
.
data
})
this
.
setState
({
menuData
:
response
.
data
.
data
})
}
else
{
}
else
{
alert
(
response
.
data
.
message
)
alert
(
response
.
data
.
message
)
...
@@ -211,7 +213,7 @@ export default class EditRole extends Component {
...
@@ -211,7 +213,7 @@ export default class EditRole extends Component {
className
=
"btn btn-circle btn-white"
className
=
"btn btn-circle btn-white"
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
onClick
=
{()
=>
this
.
props
.
onClickClose
()}
>
>
<
i
className
=
"fa fa-lg fa-times"
style
=
{{
color
:
'white'
}}
/
>
<
i
mg
src
=
{
Images
.
close
}
/
>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
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