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
2caf3a45
Commit
2caf3a45
authored
Aug 29, 2023
by
Yashmika Anusara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
frontend dev
parent
6a7463f4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
Frontend/admin/src/components/Loader.jsx
Frontend/admin/src/components/Loader.jsx
+4
-2
Frontend/admin/src/css/actor-marketing-analysis.css
Frontend/admin/src/css/actor-marketing-analysis.css
+2
-1
Frontend/admin/src/pages/actor-marketing-analysis.jsx
Frontend/admin/src/pages/actor-marketing-analysis.jsx
+6
-1
No files found.
Frontend/admin/src/components/Loader.jsx
View file @
2caf3a45
...
...
@@ -11,8 +11,10 @@ export default function Loader({ openState, message }) {
open=
{
openState
}
>
<
div
style=
{
{
textAlign
:
"
center
"
}
}
>
<
CircularProgress
color=
"inherit"
/>
<
Typography
variant=
"h6"
>
{
message
}
</
Typography
>
<
CircularProgress
color=
"inherit"
sx=
{
{
fontWeight
:
"
bold
"
}
}
/>
<
Typography
variant=
"h5"
sx=
{
{
fontWeight
:
"
bold
"
}
}
>
{
message
}
</
Typography
>
</
div
>
</
Backdrop
>
</
div
>
...
...
Frontend/admin/src/css/actor-marketing-analysis.css
View file @
2caf3a45
...
...
@@ -3,6 +3,7 @@
width
:
79.5%
;
margin-left
:
auto
;
margin-right
:
0
;
overflow
:
auto
;
/* background-color: yellowgreen; */
}
.actor-marketing-title
{
...
...
@@ -14,7 +15,7 @@
.actor-marketing-input-container
{
padding-top
:
3%
;
}
.actor-marketing-button-container
{
.actor-marketing-button-container
{
display
:
flex
;
justify-content
:
center
;
}
\ No newline at end of file
Frontend/admin/src/pages/actor-marketing-analysis.jsx
View file @
2caf3a45
...
...
@@ -13,6 +13,7 @@ import { createTheme, ThemeProvider } from "@mui/material/styles";
export
default
function
ActorMarketingAnalysis
()
{
const
[
loaderState
,
setLoaderState
]
=
useState
(
false
);
const
[
loaderMessage
,
setLoaderMessage
]
=
useState
(
false
);
const
theme
=
createTheme
({
palette
:
{
primary
:
{
...
...
@@ -23,10 +24,11 @@ export default function ActorMarketingAnalysis() {
const
submitHandler
=
()
=>
{
setLoaderState
(
true
);
setLoaderMessage
(
"
Hi
"
);
};
return
(
<
div
className=
"actor-marketing-container"
>
<
Loader
openState=
{
loaderState
}
message=
{
""
}
/>
<
Loader
openState=
{
loaderState
}
message=
{
loaderMessage
}
/>
<
div
className=
"actor-marketing-title"
>
Actor
&
Film Marketing Analysis
</
div
>
...
...
@@ -97,6 +99,9 @@ export default function ActorMarketingAnalysis() {
</
center
>
</
ThemeProvider
>
</
div
>
<
div
>
<
h1
>
sdsdasdsadasdasda
</
h1
>
</
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