Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
FMS_Project_Frontend
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
bashar.hussein
FMS_Project_Frontend
Commits
ff70282f
You need to sign in or sign up before continuing.
Commit
ff70282f
authored
Aug 10, 2023
by
ReemyHasan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some cleaning
parent
8cd32081
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
index.tsx
packages/admin/src/components/layout/index.tsx
+1
-1
index.tsx
packages/admin/src/features/ml-model/index.tsx
+4
-4
No files found.
packages/admin/src/components/layout/index.tsx
View file @
ff70282f
...
@@ -19,7 +19,7 @@ const AppLayout = ({ children }: AppLayoutProps) => {
...
@@ -19,7 +19,7 @@ const AppLayout = ({ children }: AppLayoutProps) => {
const
[
cookies
,
setCookie
,
removeCookie
]
=
useCookies
([]);
const
[
cookies
,
setCookie
,
removeCookie
]
=
useCookies
([]);
useEffect
(()
=>
{
useEffect
(()
=>
{
const
handleBeforeUnload
=
()
=>
{
const
handleBeforeUnload
=
()
=>
{
removeCookie
(
"fetch"
,
{
path
:
"/"
,
sameSite
:
true
}
);
removeCookie
(
"fetch"
);
};
};
window
.
addEventListener
(
"beforeunload"
,
handleBeforeUnload
);
window
.
addEventListener
(
"beforeunload"
,
handleBeforeUnload
);
...
...
packages/admin/src/features/ml-model/index.tsx
View file @
ff70282f
...
@@ -90,7 +90,7 @@ export default function MLContent() {
...
@@ -90,7 +90,7 @@ export default function MLContent() {
<
div
className=
"lg:pt-12 pt-6 w-full px-4 text-center"
>
<
div
className=
"lg:pt-12 pt-6 w-full px-4 text-center"
>
<
div
className=
"relative flex flex-col min-w-0 break-words bg-white w-full mb-8 shadow-lg rounded-lg"
>
<
div
className=
"relative flex flex-col min-w-0 break-words bg-white w-full mb-8 shadow-lg rounded-lg"
>
<
div
className=
"px-4 py-5 flex-auto"
>
<
div
className=
"px-4 py-5 flex-auto"
>
<
p
className=
"mt-2 mb-4 text-blueGray-500"
>
{
/* <p className="mt-2 mb-4 text-blueGray-500"> */
}
<
Upload
<
Upload
className=
"font-bold hover:shadow-md m-2 mt-3 shadow text-xs rounded outline-none focus:outline-none sm:mr-2 mb-1 ease-linear transition-all duration-150"
className=
"font-bold hover:shadow-md m-2 mt-3 shadow text-xs rounded outline-none focus:outline-none sm:mr-2 mb-1 ease-linear transition-all duration-150"
customRequest=
{
()
=>
{}
}
customRequest=
{
()
=>
{}
}
...
@@ -110,7 +110,7 @@ export default function MLContent() {
...
@@ -110,7 +110,7 @@ export default function MLContent() {
>
>
{
t
(
"failures-feedback"
)
}
{
t
(
"failures-feedback"
)
}
</
button
>
</
button
>
</
p
>
{
/* </p> */
}
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -233,12 +233,12 @@ export default function MLContent() {
...
@@ -233,12 +233,12 @@ export default function MLContent() {
/>
/>
</
div
>
</
div
>
<
div
className=
"w-full md:w-5/12 ml-auto mr-auto px-4"
>
<
div
className=
"w-full md:w-5/12 ml-auto mr-auto px-4"
>
<
div
className=
"md:pr-12"
>
{
/* <div className="md:pr-12"> */
}
<
h3
className=
"text-3xl font-semibold"
>
lllllllllllllll
</
h3
>
<
h3
className=
"text-3xl font-semibold"
>
lllllllllllllll
</
h3
>
<
p
className=
"mt-4 text-lg leading-relaxed text-blueGray-500"
>
<
p
className=
"mt-4 text-lg leading-relaxed text-blueGray-500"
>
llllllllll
llllllllll
</
p
>
</
p
>
</
div
>
{
/* </div> */
}
</
div
>
</
div
>
</
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