Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-073
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
2022-073
2022-073
Commits
b6c586a9
Commit
b6c586a9
authored
Oct 10, 2022
by
Nilan Meegoda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
few ui changes
parent
49f7c77d
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
196 additions
and
151 deletions
+196
-151
web-app/frontend/src/assets/bg.jpg
web-app/frontend/src/assets/bg.jpg
+0
-0
web-app/frontend/src/components/activities/ethicalClearence.css
...p/frontend/src/components/activities/ethicalClearence.css
+25
-0
web-app/frontend/src/components/activities/ethicalClearence.jsx
...p/frontend/src/components/activities/ethicalClearence.jsx
+142
-117
web-app/frontend/src/pages/student/Student.jsx
web-app/frontend/src/pages/student/Student.jsx
+20
-34
web-app/frontend/src/utility/delay.jsx
web-app/frontend/src/utility/delay.jsx
+9
-0
No files found.
web-app/frontend/src/assets/bg.jpg
0 → 100644
View file @
b6c586a9
6.24 MB
web-app/frontend/src/components/activities/ethicalClearence.css
View file @
b6c586a9
...
...
@@ -22,4 +22,29 @@
border
:
solid
gainsboro
;
border-radius
:
5px
;
padding
:
5px
;
}
.containerb
{
position
:
relative
;
}
.containerb
.btn
{
position
:
absolute
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
-ms-transform
:
translate
(
-50%
,
-50%
);
background-color
:
#555
;
color
:
white
;
font-size
:
16px
;
padding
:
12px
24px
;
border
:
none
;
cursor
:
pointer
;
border-radius
:
5px
;
text-align
:
center
;
}
.containerb
.btn
:hover
{
background-color
:
black
;
}
\ No newline at end of file
web-app/frontend/src/components/activities/ethicalClearence.jsx
View file @
b6c586a9
This diff is collapsed.
Click to expand it.
web-app/frontend/src/pages/student/Student.jsx
View file @
b6c586a9
...
...
@@ -53,31 +53,28 @@ const Student = () => {
src=
{
logo
}
/>
</
a
>
<
div
className=
"-mr-2 flex items-center md:hidden"
>
<
Popover
.
Button
className=
"bg-white rounded-md p-2 inline-flex items-center justify-center text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500"
>
<
span
className=
"sr-only"
>
Open main menu
</
span
>
<
MenuIcon
className=
"h-6 w-6"
aria
-
hidden=
"true"
/>
</
Popover
.
Button
>
</
div
>
</
div
>
</
div
>
{
/* <div className="hidden md:block md:ml-10 md:pr-4 md:space-x-8">
{navigation.map((item) => (
<a
key={item.name}
href="#"
className="font-medium text-gray-500 hover:text-[#3d59c1]"
onClick={() => navigate(item.href)}
<
button
onClick=
{
()
=>
navigate
(
"
/features
"
)
}
type=
"button"
className=
"text-white bg-purple-700 hover:bg-purple-800 focus:outline-none focus:ring-4 focus:ring-purple-300 font-medium rounded-full text-sm px-5 py-2.5 text-center mb-2 dark:bg-purple-600 dark:hover:bg-purple-700 dark:focus:ring-purple-900"
>
<
svg
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
viewBox=
"0 0 24 24"
strokeWidth=
{
1.5
}
stroke=
"currentColor"
className=
"w-6 h-6 text-white"
>
{item.name}
</a>
))}
</div> */
}
<
path
strokeLinecap=
"round"
strokeLinejoin=
"round"
d=
"M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z"
/>
</
svg
>
</
button
>
</
div
>
</
nav
>
</
div
>
...
...
@@ -173,17 +170,6 @@ const Student = () => {
</
a
>
</
div
>
</
div
>
<
div
className=
"mt-5 sm:mt-8 sm:flex sm:justify-center lg:justify-start"
>
<
div
className=
"rounded-md shadow"
>
<
a
href=
"/features"
className=
"w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-black bg-[#b4c2f5] hover:bg-indigo-700 md:py-4 md:text-lg md:px-10"
>
<
img
className=
"h-8 w-auto"
src=
{
info
}
></
img
>
{
"
"
}
Info
</
a
>
</
div
>
</
div
>
</
div
>
</
main
>
</
div
>
...
...
web-app/frontend/src/utility/delay.jsx
0 → 100644
View file @
b6c586a9
function
wait
(
ms
){
var
start
=
new
Date
().
getTime
();
var
end
=
start
;
while
(
end
<
start
+
ms
)
{
end
=
new
Date
().
getTime
();
}
}
export
default
wait
;
\ No newline at end of file
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