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
88b33160
Commit
88b33160
authored
Aug 08, 2020
by
Deni Rinaldi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'rifka' into 'master'
add approval matrix page and route See merge request
!18
parents
f9bd77ae
20f884d8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
3 deletions
+57
-3
ApprovalMatrix.js
src/container/ApprovalMatrix.js
+49
-0
Array.js
src/library/Array.js
+2
-2
homeRoutes.js
src/router/homeRoutes.js
+6
-1
No files found.
src/container/ApprovalMatrix.js
0 → 100644
View file @
88b33160
import
React
,
{
Component
}
from
'react'
;
import
{
Typography
}
from
'@material-ui/core'
;
import
TextField
from
"@material-ui/core/TextField"
;
class
ApprovalMatrix
extends
Component
{
render
()
{
return
(
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
height
:
150
,
width
:
'100%'
,
backgroundColor
:
'#354960'
,
padding
:
24
,
paddingTop
:
33
}}
>
<
div
style
=
{{
display
:
'flex'
}}
>
<
Typography
style
=
{{
fontSize
:
'16px'
,
color
:
'white'
}}
>
Master
Data
-
Approval
Matrix
<
/Typography
>
{
/* <form>
<TextField id="" label="" variant="outlined" placeholder="Search"/>
</form> */
}
<
/div
>
<
/div
>
<
div
style
=
{{
flex
:
1
,
padding
:
20
,
width
:
'100%'
}}
>
<
div
style
=
{{
display
:
'flex'
}}
>
<
Typography
style
=
{{
color
:
'#7e8085'
,
fontSize
:
'11px'
,
textDecorationLine
:
'underline'
,
marginRight
:
48
}}
>
Budget
-
2021
(
0
/
7
)
<
/Typography
>
<
Typography
style
=
{{
color
:
'#7e8085'
,
fontSize
:
'11px'
,
textDecorationLine
:
'underline'
,
marginRight
:
48
}}
>
Laporan
Bulanan
-
Oct
2020
(
1
/
7
)
<
/Typography
>
<
Typography
style
=
{{
color
:
'#51c6ea'
,
fontSize
:
'11px'
,
textDecorationLine
:
'underline'
,
marginRight
:
48
}}
>
Rolling
Outlook
-
Oct
2020
(
0
/
5
)
<
/Typography
>
<
Typography
style
=
{{
color
:
'#7e8085'
,
fontSize
:
'11px'
,
textDecorationLine
:
'underline'
}}
>
Lainnya
<
/Typography
>
<
/div
>
<
/div
>
<
div
style
=
{{
flex
:
1
,
padding
:
20
,
width
:
'100%'
}}
>
<
div
style
=
{{
display
:
'flex'
}}
>
<
div
style
=
{{
height
:
283
,
width
:
398
,
borderRadius
:
6
,
backgroundColor
:
'#fff'
,
border
:
'1px solid #c4c4c4'
,
marginRight
:
25
,
padding
:
16
}}
>
<
Typography
style
=
{{
color
:
'#4b4b4b'
,
fontSize
:
'16px'
,
fontWeight
:
'bold'
}}
>
BALANCE
SHEET
<
/Typography
>
<
/div
>
<
div
style
=
{{
height
:
283
,
width
:
398
,
borderRadius
:
6
,
backgroundColor
:
'#fff'
,
border
:
'1px solid #c4c4c4'
}}
>
<
/div
>
<
/div
>
<
div
style
=
{{
display
:
'flex'
,
marginTop
:
25
}}
>
<
div
style
=
{{
height
:
283
,
width
:
398
,
borderRadius
:
6
,
backgroundColor
:
'#fff'
,
border
:
'1px solid #c4c4c4'
,
marginRight
:
25
}}
>
<
/div
>
<
div
style
=
{{
height
:
283
,
width
:
398
,
borderRadius
:
6
,
backgroundColor
:
'#fff'
,
border
:
'1px solid #c4c4c4'
}}
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
);
}
}
export
default
ApprovalMatrix
;
\ No newline at end of file
src/library/Array.js
View file @
88b33160
...
@@ -102,8 +102,8 @@ const arraySide = [
...
@@ -102,8 +102,8 @@ const arraySide = [
},
},
{
{
img
:
''
,
img
:
''
,
label
:
'Approval
z
Matrix'
,
label
:
'Approval Matrix'
,
path
:
'
beranda
'
,
path
:
'
approval
'
,
subItem
:
null
subItem
:
null
}
}
]
]
...
...
src/router/homeRoutes.js
View file @
88b33160
import
screen404
from
'../container/Screen404'
import
screen404
from
'../container/Screen404'
import
Beranda
from
'../container/Beranda'
import
Beranda
from
'../container/Beranda'
import
UserRole
from
'../container/UserRole'
import
UserRole
from
'../container/UserRole'
import
ApprovalMatrix
from
'../container/ApprovalMatrix'
const
routes
=
[
const
routes
=
[
{
{
path
:
"/home/beranda"
,
path
:
"/home/beranda"
,
main
:
HomePage
main
:
Beranda
},
},
{
{
path
:
"/home/userrole"
,
path
:
"/home/userrole"
,
main
:
UserRole
main
:
UserRole
},
},
{
path
:
"/home/approval"
,
main
:
ApprovalMatrix
},
];
];
...
...
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