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
3ec26b40
Unverified
Commit
3ec26b40
authored
Dec 11, 2020
by
liuzhe-lz
Committed by
GitHub
Dec 11, 2020
Browse files
Merge master into dev-retiarii (#3178)
parent
d165905d
Changes
327
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
298 additions
and
250 deletions
+298
-250
ts/webui/src/static/model/trialmanager.ts
ts/webui/src/static/model/trialmanager.ts
+1
-0
ts/webui/src/static/style/overview/command.scss
ts/webui/src/static/style/overview/command.scss
+1
-1
ts/webui/src/static/style/overview/count.scss
ts/webui/src/static/style/overview/count.scss
+88
-81
ts/webui/src/static/style/overview/overview.scss
ts/webui/src/static/style/overview/overview.scss
+108
-119
ts/webui/src/static/style/overview/panel.scss
ts/webui/src/static/style/overview/panel.scss
+67
-48
ts/webui/src/static/style/succTable.scss
ts/webui/src/static/style/succTable.scss
+1
-1
ts/webui/yarn.lock
ts/webui/yarn.lock
+32
-0
No files found.
ts/webui/src/static/model/trialmanager.ts
View file @
3ec26b40
...
...
@@ -171,6 +171,7 @@ class TrialManager {
let
updated
=
false
;
requestAxios
(
`
${
MANAGER_IP
}
/trial-jobs`
)
.
then
(
data
=>
{
this
.
trialJobList
=
data
;
for
(
const
trialInfo
of
data
as
TrialJobInfo
[])
{
if
(
this
.
trials
.
has
(
trialInfo
.
trialJobId
))
{
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
...
...
ts/webui/src/static/style/overview/command.scss
View file @
3ec26b40
...
...
@@ -8,7 +8,7 @@
.basic
{
.lineMargin
{
margin-top
:
2
0
px
;
margin-top
:
2
4
px
;
font-weight
:
normal
;
}
}
ts/webui/src/static/style/overview/count.scss
View file @
3ec26b40
$seriesIconMargin
:
10px
;
$margin
:
24px
;
.marginTop
{
margin-top
:
$margin
;
}
.ExpDuration
{
margin-top
:
20px
;
margin-top
:
$margin
;
.maxTrialNum
{
margin-bottom
:
10px
;
...
...
@@ -9,7 +14,7 @@ $seriesIconMargin: 10px;
}
.exp-progress
{
margin-top
:
16
px
;
margin-top
:
9
px
;
.bold
{
font-weight
:
500
;
...
...
@@ -20,6 +25,19 @@ $seriesIconMargin: 10px;
}
}
.status-count
{
span
{
font-size
:
14px
;
color
:
#8f8f8f
;
}
p
{
font-size
:
16px
;
font-weight
:
500
;
color
:
#484848
;
}
}
.maxTrialNum
{
.editparam
{
position
:
relative
;
...
...
@@ -34,9 +52,14 @@ $seriesIconMargin: 10px;
.editDuration
{
position
:
relative
;
top
:
-
17
px
;
top
:
-
4
px
;
}
.concurrency
{
.editparam
{
margin-top
:
5px
;
}
}
.editparam
{
&
-Input
{
width
:
42px
;
...
...
@@ -103,19 +126,3 @@ $seriesIconMargin: 10px;
z-index
:
999
;
left
:
0
;
}
.mess
{
margin-top
:
20px
;
.basic
p
{
margin-top
:
0
;
}
p
.margin
{
margin-top
:
20px
;
}
}
.trialStatus
{
margin-top
:
8px
;
}
ts/webui/src/static/style/overview/overview.scss
View file @
3ec26b40
$boxPadding
:
2
0
px
;
$boxPadding
:
2
4
px
;
$boxBorderRadius
:
5px
;
$boxGapPadding
:
10px
;
.wrapper
{
display
:
grid
;
grid-template-columns
:
repeat
(
8
,
1fr
);
grid-auto-rows
:
93
px
;
grid-auto-rows
:
102
px
;
>
div
{
background
:
#fff
;
...
...
@@ -29,33 +29,22 @@ $boxGapPadding: 10px;
.duration
{
grid-row
:
3
/
5
;
height
:
1
3
8px
;
height
:
1
5
8px
;
}
.trialCount
{
grid-row
:
4
/
6
;
margin-top
:
6
5
px
;
height
:
23
9
px
;
grid-row
:
5
/
8
;
margin-top
:
-2
6px
;
height
:
2
7
3px
;
}
.overviewCommand1
,
.overviewCommand2
{
grid-row-start
:
8
;
margin-top
:
-59px
;
margin-right
:
$boxGapPadding
;
border-radius
:
0
;
}
.overviewCommand1
{
.overviewCommand
{
grid-column
:
1
/
5
;
border-radius
:
$boxBorderRadius
0
0
$boxBorderRadius
;
}
.overviewCommand2
{
grid-column
:
2
/
5
;
grid-row-start
:
8
;
margin-top
:
-50px
;
height
:
158px
;
margin-right
:
$boxGapPadding
;
padding-left
:
30px
;
border-radius
:
0
$boxBorderRadius
$boxBorderRadius
0
;
border-radius
:
$boxBorderRadius
;
}
}
...
...
@@ -76,9 +65,9 @@ $boxGapPadding: 10px;
font-family
:
"Segoe UI"
,
Tahoma
,
Geneva
,
Verdana
,
sans-serif
;
p
{
font-size
:
14px
;
color
:
#8f8f8f
;
margin-top
:
20px
;
font-size
:
14px
;
font-weight
:
normal
;
span
{
color
:
#484848
;
...
...
@@ -100,8 +89,8 @@ $boxGapPadding: 10px;
.overviewBestMetric
{
grid-column
:
5
/
9
;
grid-row
:
1
/
9
;
max-height
:
736
px
;
grid-row
:
1
/
10
;
max-height
:
822
px
;
overflow
:
hidden
;
.topTrialTitle
{
...
...
ts/webui/src/static/style/overview/panel.scss
View file @
3ec26b40
...
...
@@ -26,6 +26,7 @@ $buttonBorderRadius: 23px;
.margin
{
margin-left
:
10px
;
}
}
.container
{
...
...
@@ -39,6 +40,24 @@ $buttonBorderRadius: 23px;
}
}
.maxScrBtn
{
width
:
150px
;
&
:hover
{
color
:
#fff
;
border
:
1px
solid
blue
;
background-color
:
#0071bc
;
}
}
.configBtn
i
{
margin-left
:
-40px
;
}
.logBtn
i
{
margin-left
:
-25px
;
}
&
:hover
{
.icon
{
display
:
none
;
...
...
ts/webui/src/static/style/succTable.scss
View file @
3ec26b40
$tableHeight
:
381
px
;
$tableHeight
:
432
px
;
.scrollPanel
{
height
:
$tableHeight
;
...
...
ts/webui/yarn.lock
View file @
3ec26b40
...
...
@@ -4067,6 +4067,11 @@ css-loader@2.1.1:
postcss-value-parser "^3.3.0"
schema-utils "^1.0.0"
css-mediaquery@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/css-mediaquery/-/css-mediaquery-0.1.2.tgz#6a2c37344928618631c54bd33cedd301da18bea0"
integrity sha1-aiw3NEkoYYYxxUvTPO3TAdoYvqA=
css-prefers-color-scheme@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/css-prefers-color-scheme/-/css-prefers-color-scheme-3.1.1.tgz#6f830a2714199d4f0d0d0bb8a27916ed65cff1f4"
...
...
@@ -6574,6 +6579,11 @@ humanize-ms@^1.2.1:
dependencies:
ms "^2.0.0"
hyphenate-style-name@^1.0.0:
version "1.0.4"
resolved "https://registry.yarnpkg.com/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz#691879af8e220aea5750e8827db4ef62a54e361d"
integrity sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ==
iconv-lite@0.4, iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.5:
version "0.4.24"
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
...
...
@@ -8495,6 +8505,13 @@ markdown-table@^2.0.0:
dependencies:
repeat-string "^1.0.0"
matchmediaquery@^0.3.0:
version "0.3.1"
resolved "https://registry.yarnpkg.com/matchmediaquery/-/matchmediaquery-0.3.1.tgz#8247edc47e499ebb7c58f62a9ff9ccf5b815c6d7"
integrity sha512-Hlk20WQHRIm9EE9luN1kjRjYXAQToHOIAHPJn9buxBwuhfTHoKUcX+lXBbxc85DVQfXYbEQ4HcwQdd128E3qHQ==
dependencies:
css-mediaquery "^0.1.2"
mathml-tag-names@^2.1.3:
version "2.1.3"
resolved "https://registry.yarnpkg.com/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz#4ddadd67308e780cf16a47685878ee27b736a0a3"
...
...
@@ -11117,6 +11134,16 @@ react-pagination@^1.0.0:
dependencies:
react "^0.13.3"
react-responsive@^8.1.1:
version "8.1.1"
resolved "https://registry.yarnpkg.com/react-responsive/-/react-responsive-8.1.1.tgz#e4b1bd677798deecb4f1c3cff35a020ca0abdb27"
integrity sha512-kvgOGU4m64ALsDiNKgImW6xtbdx/aSuw8sTCHC8RsBlkXsDA/gMoZkYboZuk4V9DhX6bCFh4gBH2UqlYVPLvcA==
dependencies:
hyphenate-style-name "^1.0.0"
matchmediaquery "^0.3.0"
prop-types "^15.6.1"
shallow-equal "^1.1.0"
react-router-dom@^5.2.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-5.2.0.tgz#9e65a4d0c45e13289e66c7b17c7e175d0ea15662"
...
...
@@ -12049,6 +12076,11 @@ shallow-clone@^1.0.0:
kind-of "^5.0.0"
mixin-object "^2.0.1"
shallow-equal@^1.1.0:
version "1.2.1"
resolved "https://registry.yarnpkg.com/shallow-equal/-/shallow-equal-1.2.1.tgz#4c16abfa56043aa20d050324efa68940b0da79da"
integrity sha512-S4vJDjHHMBaiZuT9NPb616CSmLf618jawtv3sufLl6ivK8WocjAo58cXwbRV1cgqxH0Qbv+iUt6m05eqEa2IRA==
shebang-command@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"
...
...
Prev
1
…
13
14
15
16
17
Next
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