Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
d9837a17
Commit
d9837a17
authored
Dec 17, 2019
by
Markus Scheidgen
Browse files
Minor GUI fixes.
parent
769f314d
Pipeline
#65676
passed with stages
in 13 minutes and 48 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gui/src/components/EditUserMetadataDialog.js
View file @
d9837a17
...
...
@@ -176,6 +176,8 @@ class MyAutosuggestUnstyled extends React.PureComponent {
ref
(
node
)
inputRef
(
node
)
},
name
:
'
search
'
,
// try to prevent browsers ignore autocomplete="off"
type
:
'
search
'
,
// try to prevent browsers ignore autocomplete="off"
classes
:
{
input
:
classes
.
input
}
...
...
@@ -395,6 +397,7 @@ class ReferenceInput extends React.Component {
return
<
TextField
fullWidth
{...
rest
}
type
=
"
search
"
name
=
"
search
"
// attempt to avoid browsers autofill, since they seem to ignore autocomplete="off"
value
=
{
this
.
state
.
inputValue
}
onChange
=
{
this
.
handleChange
.
bind
(
this
)}
error
=
{
value
===
undefined
}
...
...
@@ -1048,7 +1051,7 @@ class EditUserMetadataDialogUnstyled extends React.Component {
if
(
submitting
)
{
return
<
DialogActions
>
<
DialogContentText
color
=
"
warning
"
style
=
{{
marginLeft
:
16
}}
>
Do
not
close
the
page
.
This
might
take
up
to
several
minutes
for
editing
many
entries
.
<
/DialogContentText
>
<
DialogContentText
color
=
"
error
"
style
=
{{
marginLeft
:
16
}}
>
Do
not
close
the
page
.
This
might
take
up
to
several
minutes
for
editing
many
entries
.
<
/DialogContentText
>
<
span
style
=
{{
flexGrow
:
1
}}
/
>
<
div
className
=
{
classes
.
submitWrapper
}
>
<
Button
onClick
=
{
this
.
handleSubmit
}
disabled
=
{
!
submitEnabled
}
color
=
"
primary
"
>
...
...
gui/src/components/search/EntryList.js
View file @
d9837a17
...
...
@@ -297,7 +297,7 @@ export class EntryListUnstyled extends React.Component {
const
selectQuery
=
selected
?
{
calc_id
:
selected
.
join
(
'
,
'
)}
:
query
const
createActions
=
(
props
,
moreActions
)
=>
<
React
.
Fragment
>
{
example
&&
editable
?
<
EditUserMetadataDialog
example
=
{
example
}
total
=
{
totalNumber
}
example
=
{
example
}
total
=
{
selected
===
null
?
totalNumber
:
selected
.
length
}
onEditComplete
=
{()
=>
this
.
props
.
onChange
()}
{...
props
}
/> : ''
}
...
...
Write
Preview
Supports
Markdown
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