Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
a7b5f3b4
"git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "8af731463df46f6c73c933bdc45ed9a4ecd4e422"
Unverified
Commit
a7b5f3b4
authored
Mar 02, 2020
by
Lijiaoa
Committed by
GitHub
Mar 02, 2020
Browse files
update succeed table in time (#2103)
parent
e862d39e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
src/webui/src/components/Overview.tsx
src/webui/src/components/Overview.tsx
+1
-1
src/webui/src/components/overview/SuccessTable.tsx
src/webui/src/components/overview/SuccessTable.tsx
+5
-0
src/webui/src/static/style/overview.scss
src/webui/src/static/style/overview.scss
+8
-0
No files found.
src/webui/src/components/Overview.tsx
View file @
a7b5f3b4
...
@@ -120,7 +120,7 @@ class Overview extends React.Component<OverviewProps, OverviewState> {
...
@@ -120,7 +120,7 @@ class Overview extends React.Component<OverviewProps, OverviewState> {
</
div
>
</
div
>
</
Stack
>
</
Stack
>
<
Stack
horizontal
tokens
=
{
stackTokens
}
>
<
Stack
horizontal
tokens
=
{
stackTokens
}
>
<
div
style
=
{
{
width
:
'
40%
'
}
}
>
<
div
style
=
{
{
width
:
'
40%
'
,
position
:
'
relative
'
}
}
>
<
Accuracy
<
Accuracy
accuracyData
=
{
accuracyGraphData
}
accuracyData
=
{
accuracyGraphData
}
accNodata
=
{
noDataMessage
}
accNodata
=
{
noDataMessage
}
...
...
src/webui/src/components/overview/SuccessTable.tsx
View file @
a7b5f3b4
...
@@ -113,6 +113,11 @@ class SuccessTable extends React.Component<SuccessTableProps, SuccessTableState>
...
@@ -113,6 +113,11 @@ class SuccessTable extends React.Component<SuccessTableProps, SuccessTableState>
}
}
];
];
componentWillReceiveProps
(
nextProps
:
SuccessTableProps
):
void
{
const
{
trialIds
}
=
nextProps
;
this
.
setState
(()
=>
({
source
:
TRIALS
.
table
(
trialIds
)
}));
}
render
():
React
.
ReactNode
{
render
():
React
.
ReactNode
{
const
{
columns
,
source
}
=
this
.
state
;
const
{
columns
,
source
}
=
this
.
state
;
return
(
return
(
...
...
src/webui/src/static/style/overview.scss
View file @
a7b5f3b4
...
@@ -56,4 +56,12 @@
...
@@ -56,4 +56,12 @@
color
:
#333
;
color
:
#333
;
font-size
:
14px
;
font-size
:
14px
;
}
}
}
/* overview-succeed-graph */
.showMess
{
position
:
absolute
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
}
}
\ 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