Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nisum-scorecard
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
Venkaiah Naidu Singamchetty
nisum-scorecard
Commits
2065967e
Commit
2065967e
authored
Mar 17, 2024
by
Venkaiah Naidu Singamchetty
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'apiserver' into 'master'
darkmode theme changed' See merge request
!38
parents
55777916
27ed1173
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
index.jsx
src/components/accordion/index.jsx
+1
-1
index.jsx
src/components/table/index.jsx
+1
-1
index.jsx
src/pages/home/index.jsx
+1
-1
No files found.
src/components/accordion/index.jsx
View file @
2065967e
...
@@ -55,7 +55,7 @@ function Accordion({ title, data ,handleAddActivity,open,handleAccordian}) {
...
@@ -55,7 +55,7 @@ function Accordion({ title, data ,handleAddActivity,open,handleAccordian}) {
<
button
<
button
onClick=
{
handleClick
}
onClick=
{
handleClick
}
type=
"button"
type=
"button"
className=
"flex items-center rounded-lg
w-full py-2 px-2 mt-4 font-medium rtl:text-right bg-white text-gray-500 border border-[#B7B7B7] focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-8
00 gap-3"
data
-
accordion
-
target=
"#accordion-collapse-body-2"
aria
-
expanded=
"false"
aria
-
controls=
"accordion-collapse-body-2"
>
className=
"flex items-center rounded-lg
w-full py-2 px-2 mt-4 font-medium rtl:text-right bg-white text-gray-500 border border-[#B7B7B7] focus:ring-4 dark:border-gray-700 hover:bg-gray-1
00 gap-3"
data
-
accordion
-
target=
"#accordion-collapse-body-2"
aria
-
expanded=
"false"
aria
-
controls=
"accordion-collapse-body-2"
>
<
div
className=
"w-1/2 text-start ms-2"
>
{
title
}
</
div
>
<
div
className=
"w-1/2 text-start ms-2"
>
{
title
}
</
div
>
<
div
className=
"w-1/2 flex justify-between"
>
<
div
className=
"w-1/2 flex justify-between"
>
Average Score :
{
title
===
"Default"
?
defaultAvgScore
:
initiativeAvgScore
}
Average Score :
{
title
===
"Default"
?
defaultAvgScore
:
initiativeAvgScore
}
...
...
src/components/table/index.jsx
View file @
2065967e
...
@@ -6,7 +6,7 @@ function Table({headers, data,loading, maxHeight}) {
...
@@ -6,7 +6,7 @@ function Table({headers, data,loading, maxHeight}) {
return
(
return
(
<
div
className=
{
` overflow-x-auto sm:rounded-lg p-4 max-h-[${maxHeight}vh]`
}
>
<
div
className=
{
` overflow-x-auto sm:rounded-lg p-4 max-h-[${maxHeight}vh]`
}
>
<
table
className=
"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400 bg-transparent justify-center border-separate border-spacing-y-2"
>
<
table
className=
"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400 bg-transparent justify-center border-separate border-spacing-y-2"
>
<
thead
className=
"text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700
dark:text-gray-400
"
>
<
thead
className=
"text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700
dark:text-white
"
>
<
tr
className=
"mb-2"
>
<
tr
className=
"mb-2"
>
{
headers
.
map
((
item
,
index
)
=>
(
{
headers
.
map
((
item
,
index
)
=>
(
<
th
key=
{
index
}
scope=
"col"
className=
{
`px-6 py-4 w-[${item.width}]`
}
>
<
th
key=
{
index
}
scope=
"col"
className=
{
`px-6 py-4 w-[${item.width}]`
}
>
...
...
src/pages/home/index.jsx
View file @
2065967e
...
@@ -58,7 +58,7 @@ function Home() {
...
@@ -58,7 +58,7 @@ function Home() {
required
required
onChange=
{
(
e
)
=>
setId
(
e
.
target
.
value
)
}
onChange=
{
(
e
)
=>
setId
(
e
.
target
.
value
)
}
/>
/>
<
div
>
<
div
className=
"dark:text-white text-red-600"
>
{
{
errorMsg
!==
""
?
<
span
>
{
errorMsg
}
</
span
>:
null
errorMsg
!==
""
?
<
span
>
{
errorMsg
}
</
span
>:
null
}
}
...
...
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