Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
23-064
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
23-064
23-064
Commits
6a7463f4
Commit
6a7463f4
authored
Aug 29, 2023
by
Yashmika Anusara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
forntend dev
parent
22629809
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
140 additions
and
85 deletions
+140
-85
Frontend/admin/src/components/Loader.jsx
Frontend/admin/src/components/Loader.jsx
+20
-0
Frontend/admin/src/css/actor-marketing-analysis.css
Frontend/admin/src/css/actor-marketing-analysis.css
+5
-1
Frontend/admin/src/css/movie-analysis.css
Frontend/admin/src/css/movie-analysis.css
+0
-1
Frontend/admin/src/css/side-navigation.css
Frontend/admin/src/css/side-navigation.css
+9
-10
Frontend/admin/src/css/top-navigation.css
Frontend/admin/src/css/top-navigation.css
+24
-24
Frontend/admin/src/pages/actor-marketing-analysis.jsx
Frontend/admin/src/pages/actor-marketing-analysis.jsx
+82
-49
No files found.
Frontend/admin/src/components/Loader.jsx
0 → 100644
View file @
6a7463f4
import
React
from
"
react
"
;
import
Backdrop
from
"
@mui/material/Backdrop
"
;
import
CircularProgress
from
"
@mui/material/CircularProgress
"
;
import
Typography
from
"
@mui/material/Typography
"
;
export
default
function
Loader
({
openState
,
message
})
{
return
(
<
div
>
<
Backdrop
sx=
{
{
color
:
"
#fff
"
,
zIndex
:
(
theme
)
=>
theme
.
zIndex
.
drawer
+
1
}
}
open=
{
openState
}
>
<
div
style=
{
{
textAlign
:
"
center
"
}
}
>
<
CircularProgress
color=
"inherit"
/>
<
Typography
variant=
"h6"
>
{
message
}
</
Typography
>
</
div
>
</
Backdrop
>
</
div
>
);
}
Frontend/admin/src/css/actor-marketing-analysis.css
View file @
6a7463f4
...
...
@@ -6,11 +6,15 @@
/* background-color: yellowgreen; */
}
.actor-marketing-title
{
padding-top
:
1
%
;
padding-top
:
3
%
;
font-size
:
23px
;
font-weight
:
500
;
font-family
:
system-ui
;
}
.actor-marketing-input-container
{
padding-top
:
3%
;
}
.actor-marketing-button-container
{
display
:
flex
;
justify-content
:
center
;
}
\ No newline at end of file
Frontend/admin/src/css/movie-analysis.css
View file @
6a7463f4
...
...
@@ -4,7 +4,6 @@
margin-left
:
auto
;
margin-right
:
0
;
}
.movie-page-container-title
{
font-size
:
23px
;
font-weight
:
500
;
...
...
Frontend/admin/src/css/side-navigation.css
View file @
6a7463f4
...
...
@@ -21,32 +21,31 @@
align-items
:
center
;
margin-top
:
50px
;
color
:
white
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
16px
;
}
.active
.side-nav-link-wrapper
{
background-color
:
white
;
color
:
#5143B
8
;
position
:
relative
;
color
:
#5143b
8
;
position
:
relative
;
}
.active
.side-nav-link-wrapper
:before
{
content
:
''
;
content
:
""
;
position
:
absolute
;
top
:
-30px
;
right
:
0
;
top
:
-30px
;
right
:
0
;
width
:
30px
;
height
:
30px
;
border-radius
:
50%
;
box-shadow
:
15px
15px
0
rgb
(
255
,
255
,
255
);
}
.active
.side-nav-link-wrapper
:after
{
content
:
''
;
content
:
""
;
position
:
absolute
;
bottom
:
-30px
;
right
:
0
;
bottom
:
-30px
;
right
:
0
;
width
:
30px
;
height
:
30px
;
border-radius
:
50%
;
box-shadow
:
15px
-15px
0
rgb
(
255
,
255
,
255
);
}
Frontend/admin/src/css/top-navigation.css
View file @
6a7463f4
...
...
@@ -2,6 +2,7 @@
width
:
100%
;
height
:
12vh
;
display
:
flex
;
box-shadow
:
rgba
(
149
,
157
,
165
,
0.2
)
0px
8px
24px
;
}
.top-nav-logo-container
{
width
:
18%
;
...
...
@@ -18,7 +19,7 @@
gap
:
50px
;
padding-left
:
50px
;
}
.top-nav-link-text
{
font-size
:
16px
;
font-weight
:
500
;
...
...
@@ -47,31 +48,30 @@
width
:
30%
;
background-color
:
#5143b8
;
border-bottom-left-radius
:
50px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-evenly
display
:
flex
;
align-items
:
center
;
justify-content
:
space-evenly
;
}
.top-nav-search-container-wrapper
{
width
:
280px
;
height
:
40px
;
background-color
:
#46399E
;
border-radius
:
20px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-evenly
;
.top-nav-search-container-wrapper
{
width
:
280px
;
height
:
40px
;
background-color
:
#46399e
;
border-radius
:
20px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-evenly
;
}
.top-nav-search
{
width
:
200px
;
height
:
30px
;
border
:
none
;
background-color
:
transparent
;
outline
:
none
;
color
:
white
;
.top-nav-search
{
width
:
200px
;
height
:
30px
;
border
:
none
;
background-color
:
transparent
;
outline
:
none
;
color
:
white
;
}
::placeholder
{
color
:
white
::placeholder
{
color
:
white
;
}
.profile-picture
{
.profile-picture
{
border-radius
:
50%
;
}
\ No newline at end of file
}
Frontend/admin/src/pages/actor-marketing-analysis.jsx
View file @
6a7463f4
import
React
from
"
react
"
;
import
React
,
{
useState
}
from
"
react
"
;
import
"
../css/actor-marketing-analysis.css
"
;
import
Box
from
"
@mui/material/Box
"
;
import
TextField
from
"
@mui/material/TextField
"
;
...
...
@@ -6,63 +6,96 @@ import InputLabel from "@mui/material/InputLabel";
import
MenuItem
from
"
@mui/material/MenuItem
"
;
import
FormControl
from
"
@mui/material/FormControl
"
;
import
Select
from
"
@mui/material/Select
"
;
import
{
Button
}
from
"
@mui/material
"
;
import
Loader
from
"
../components/Loader
"
;
import
SendIcon
from
"
@mui/icons-material/Send
"
;
import
{
createTheme
,
ThemeProvider
}
from
"
@mui/material/styles
"
;
export
default
function
ActorMarketingAnalysis
()
{
const
[
loaderState
,
setLoaderState
]
=
useState
(
false
);
const
theme
=
createTheme
({
palette
:
{
primary
:
{
main
:
"
#5143b8
"
,
},
},
});
const
submitHandler
=
()
=>
{
setLoaderState
(
true
);
};
return
(
<
div
className=
"actor-marketing-container"
>
<
Loader
openState=
{
loaderState
}
message=
{
""
}
/>
<
div
className=
"actor-marketing-title"
>
Actor
&
Film Marketing Analysis
</
div
>
<
div
className=
"actor-marketing-input-container"
>
<
Box
component=
"form"
sx=
{
{
"
& .MuiTextField-root
"
:
{
m
:
1
,
width
:
"
31%
"
},
}
}
noValidate
autoComplete=
"off"
>
<
div
>
<
TextField
label=
"Film Trail Name"
color=
"secondary"
required
/>
<
TextField
label=
"Film Director Name"
color=
"secondary"
required
/>
<
TextField
label=
"Film Director Email"
color=
"secondary"
required
/>
</
div
>
</
Box
>
<
Box
component=
"form"
sx=
{
{
"
& .MuiTextField-root
"
:
{
m
:
1
,
width
:
"
47.2%
"
},
}
}
noValidate
autoComplete=
"off"
>
<
div
>
<
FormControl
sx=
{
{
m
:
1
,
width
:
"
47.2%
"
}
}
>
<
InputLabel
color=
"secondary"
>
Film Analysis Type
</
InputLabel
>
<
Select
color=
"secondary"
// value={age}
label=
"Film Analysis Type"
// onChange={handleChange}
required
<
ThemeProvider
theme=
{
theme
}
>
<
Box
component=
"form"
sx=
{
{
"
& .MuiTextField-root
"
:
{
m
:
1
,
width
:
"
31%
"
},
}
}
noValidate
autoComplete=
"off"
>
<
div
>
<
TextField
label=
"Film Trail Name"
color=
"primary"
required
/>
<
TextField
label=
"Film Director Name"
color=
"primary"
required
/>
<
TextField
label=
"Film Director Email"
color=
"primary"
required
/>
</
div
>
</
Box
>
<
Box
component=
"form"
sx=
{
{
"
& .MuiTextField-root
"
:
{
m
:
1
,
width
:
"
47.2%
"
},
}
}
noValidate
autoComplete=
"off"
>
<
div
>
<
FormControl
sx=
{
{
m
:
1
,
width
:
"
47.2%
"
}
}
>
<
InputLabel
color=
"primary"
>
Film Analysis Type
</
InputLabel
>
<
Select
color=
"primary"
// value={age}
label=
"Film Analysis Type"
// onChange={handleChange}
required
>
<
MenuItem
value=
{
"
AAO
"
}
>
Actor Analysis Only
</
MenuItem
>
<
MenuItem
value=
{
"
FMAO
"
}
>
Film Marketing Analysis Only
</
MenuItem
>
<
MenuItem
value=
{
"
AFMA
"
}
>
Actor
&
Film Marketing Analysis
</
MenuItem
>
</
Select
>
</
FormControl
>
<
TextField
label=
"Film Director Name"
color=
"primary"
type=
"file"
InputLabelProps=
{
{
shrink
:
true
,
}
}
/>
</
div
>
</
Box
>
<
center
>
<
Box
sx=
{
{
"
& > button
"
:
{
m
:
1
,
width
:
"
50%
"
}
}
}
>
<
Button
onClick=
{
submitHandler
}
variant=
"contained"
color=
"primary"
endIcon=
{
<
SendIcon
/>
}
>
<
MenuItem
value=
{
"
AAO
"
}
>
Actor Analysis Only
</
MenuItem
>
<
MenuItem
value=
{
"
FMAO
"
}
>
Film Marketing Analysis Only
</
MenuItem
>
<
MenuItem
value=
{
"
AFMA
"
}
>
Actor
&
Film Marketing Analysis
</
MenuItem
>
</
Select
>
</
FormControl
>
<
TextField
label=
"Film Director Name"
color=
"secondary"
type=
"file"
InputLabelProps=
{
{
shrink
:
true
,
}
}
/>
</
div
>
</
Box
>
Send
</
Button
>
</
Box
>
</
center
>
</
ThemeProvider
>
</
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