Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
4bbffd17
Commit
4bbffd17
authored
Jul 17, 2019
by
suiguoxin
Browse files
Merge branch 'master' of
git://github.com/microsoft/nni
parents
d92c69f4
4592ba41
Changes
87
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
13 deletions
+15
-13
src/webui/src/static/style/openRow.scss
src/webui/src/static/style/openRow.scss
+1
-1
src/webui/src/static/style/overviewTitle.scss
src/webui/src/static/style/overviewTitle.scss
+2
-2
src/webui/src/static/style/progress.scss
src/webui/src/static/style/progress.scss
+2
-2
src/webui/src/static/style/slideBar.scss
src/webui/src/static/style/slideBar.scss
+1
-1
src/webui/src/static/style/table.scss
src/webui/src/static/style/table.scss
+1
-1
tools/nni_cmd/constants.py
tools/nni_cmd/constants.py
+6
-4
tools/nni_cmd/url_utils.py
tools/nni_cmd/url_utils.py
+2
-2
No files found.
src/webui/src/static/style/openRow.scss
View file @
4bbffd17
...
@@ -22,7 +22,7 @@ $bgColor: #f2f2f2;
...
@@ -22,7 +22,7 @@ $bgColor: #f2f2f2;
}
}
.ant-tabs-nav
.ant-tabs-tab-active
{
.ant-tabs-nav
.ant-tabs-tab-active
{
color
:
$color
;
color
:
$color
;
font-weight
:
5
00
;
font-weight
:
6
00
;
background
:
#dedede
;
background
:
#dedede
;
border-left
:
3px
solid
;
border-left
:
3px
solid
;
}
}
...
...
src/webui/src/static/style/overviewTitle.scss
View file @
4bbffd17
...
@@ -5,6 +5,7 @@ $titleBgcolor: #b3b3b3;
...
@@ -5,6 +5,7 @@ $titleBgcolor: #b3b3b3;
}
}
.panelTitle
{
.panelTitle
{
font-family
:
'Segoe UI'
,
Tahoma
,
Geneva
,
Verdana
,
sans-serif
;
width
:
100%
;
width
:
100%
;
height
:
38px
;
height
:
38px
;
background
:
$titleBgcolor
;
background
:
$titleBgcolor
;
...
@@ -17,8 +18,7 @@ $titleBgcolor: #b3b3b3;
...
@@ -17,8 +18,7 @@ $titleBgcolor: #b3b3b3;
span
{
span
{
font-size
:
18px
;
font-size
:
18px
;
font-weight
:
bold
;
font-weight
:
600
;
font-family
:
'Segoe'
;
color
:
#333
;
color
:
#333
;
line-height
:
38px
;
line-height
:
38px
;
margin-left
:
14px
;
margin-left
:
14px
;
...
...
src/webui/src/static/style/progress.scss
View file @
4bbffd17
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
.status
{
.status
{
color
:
#0573bc
;
color
:
#0573bc
;
font-size
:
20px
;
font-size
:
20px
;
font-weight
:
bold
;
font-weight
:
600
;
margin-top
:
5px
;
margin-top
:
5px
;
}
}
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
.basic
{
.basic
{
line-height
:
24px
;
line-height
:
24px
;
font-family
:
'Segoe
'
;
font-family
:
'Segoe
UI'
,
Tahoma
,
Geneva
,
Verdana
,
sans-serif
;
p
{
p
{
font-size
:
14px
;
font-size
:
14px
;
color
:
#212121
;
color
:
#212121
;
...
...
src/webui/src/static/style/slideBar.scss
View file @
4bbffd17
...
@@ -10,8 +10,8 @@ $drowHoverBgColor: #e2e2e2;
...
@@ -10,8 +10,8 @@ $drowHoverBgColor: #e2e2e2;
margin
:
0
auto
;
margin
:
0
auto
;
position
:
relative
;
position
:
relative
;
.tab
{
.tab
{
font-family
:
'Segoe'
;
line-height
:
$barHeight
;
line-height
:
$barHeight
;
font-family
:
'Segoe UI'
,
Tahoma
,
Geneva
,
Verdana
,
sans-serif
;
a
{
a
{
font-size
:
18px
;
font-size
:
18px
;
color
:
#b8c7ce
;
color
:
#b8c7ce
;
...
...
src/webui/src/static/style/table.scss
View file @
4bbffd17
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
}
}
/* add the brother selector to increase the priority */
/* add the brother selector to increase the priority */
#succeTable
.commonTableStyle
,
#tableList
.commonTableStyle
{
#succeTable
.commonTableStyle
,
#tableList
.commonTableStyle
{
font-family
:
'Segoe UI'
,
Tahoma
,
Geneva
,
Verdana
,
sans-serif
;
tr
{
tr
{
text-align
:
center
;
text-align
:
center
;
color
:
#212121
;
color
:
#212121
;
...
...
tools/nni_cmd/constants.py
View file @
4bbffd17
...
@@ -34,12 +34,12 @@ DEFAULT_REST_PORT = 8080
...
@@ -34,12 +34,12 @@ DEFAULT_REST_PORT = 8080
REST_TIME_OUT
=
20
REST_TIME_OUT
=
20
EXPERIMENT_SUCCESS_INFO
=
Fore
.
GREEN
+
'Successfully started experiment!
\n
'
+
Fore
.
RESET
+
\
EXPERIMENT_SUCCESS_INFO
=
Fore
.
GREEN
+
'Successfully started experiment!
\n
'
+
Fore
.
RESET
+
\
'-----------------------------------------------------------------------
\n
'
\
'-----------------------------------------------------------------------
-------------
\n
'
\
'The experiment id is %s
\n
'
\
'The experiment id is %s
\n
'
\
'The Web UI urls are: %s
\n
'
\
'The Web UI urls are: %s
\n
'
\
'-----------------------------------------------------------------------
\n\n
'
\
'-----------------------------------------------------------------------
-------------
\n\n
'
\
'You can use these commands to get more information about the experiment
\n
'
\
'You can use these commands to get more information about the experiment
\n
'
\
'-----------------------------------------------------------------------
\n
'
\
'-----------------------------------------------------------------------
-------------
\n
'
\
' commands description
\n
'
\
' commands description
\n
'
\
'1. nnictl experiment show show the information of experiments
\n
'
\
'1. nnictl experiment show show the information of experiments
\n
'
\
'2. nnictl trial ls list all of trial jobs
\n
'
\
'2. nnictl trial ls list all of trial jobs
\n
'
\
...
@@ -49,7 +49,9 @@ EXPERIMENT_SUCCESS_INFO = Fore.GREEN + 'Successfully started experiment!\n' + Fo
...
@@ -49,7 +49,9 @@ EXPERIMENT_SUCCESS_INFO = Fore.GREEN + 'Successfully started experiment!\n' + Fo
'6. nnictl stop stop an experiment
\n
'
\
'6. nnictl stop stop an experiment
\n
'
\
'7. nnictl trial kill kill a trial job by id
\n
'
\
'7. nnictl trial kill kill a trial job by id
\n
'
\
'8. nnictl --help get help information about nnictl
\n
'
\
'8. nnictl --help get help information about nnictl
\n
'
\
'-----------------------------------------------------------------------
\n
'
\
'------------------------------------------------------------------------------------
\n
'
\
'Command reference document https://nni.readthedocs.io/en/latest/Tutorial/Nnictl.html
\n
'
\
'------------------------------------------------------------------------------------
\n
'
LOG_HEADER
=
'-----------------------------------------------------------------------
\n
'
\
LOG_HEADER
=
'-----------------------------------------------------------------------
\n
'
\
' Experiment start time %s
\n
'
\
' Experiment start time %s
\n
'
\
...
...
tools/nni_cmd/url_utils.py
View file @
4bbffd17
...
@@ -67,7 +67,7 @@ def trial_jobs_url(port):
...
@@ -67,7 +67,7 @@ def trial_jobs_url(port):
def
trial_job_id_url
(
port
,
job_id
):
def
trial_job_id_url
(
port
,
job_id
):
'''get trial_jobs with id url'''
'''get trial_jobs with id url'''
return
'{0}:{1}{2}{3}/
:
{4}'
.
format
(
BASE_URL
,
port
,
API_ROOT_URL
,
TRIAL_JOBS_API
,
job_id
)
return
'{0}:{1}{2}{3}/{4}'
.
format
(
BASE_URL
,
port
,
API_ROOT_URL
,
TRIAL_JOBS_API
,
job_id
)
def
export_data_url
(
port
):
def
export_data_url
(
port
):
...
...
Prev
1
2
3
4
5
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