Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nrp-frontend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
"README.md" did not exist on "ed199e767dd10eab2facfaeffa449c19d00c4a27"
Show more breadcrumbs
Neurorobotics Platform
nrp-frontend
Commits
44442c46
Commit
44442c46
authored
4 years ago
by
Antoine Detailleur
Browse files
Options
Downloads
Patches
Plain Diff
[NRRPLT-8003] all occurences class to className
parent
49a6bb9d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/experiment-list/experiment-list-element.js
+24
-24
24 additions, 24 deletions
src/components/experiment-list/experiment-list-element.js
with
24 additions
and
24 deletions
src/components/experiment-list/experiment-list-element.js
+
24
−
24
View file @
44442c46
...
@@ -41,31 +41,31 @@ export default class ExperimentListElement extends React.Component {
...
@@ -41,31 +41,31 @@ export default class ExperimentListElement extends React.Component {
<
i
className
=
{{
serverIcon
:
1
}}
title
=
'
Restricted.
'
><
/i
>
<
i
className
=
{{
serverIcon
:
1
}}
title
=
'
Restricted.
'
><
/i
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
'
list-entry-buttons list-entry-container center
'
onClick
=
{()
=>
{
return
exp
.
id
===
pageState
.
selected
}}
>
<
div
class
Name
=
'
list-entry-buttons list-entry-container center
'
onClick
=
{()
=>
{
return
exp
.
id
===
pageState
.
selected
}}
>
<
div
class
=
'
btn-group
'
role
=
'
group
'
>
<
div
class
Name
=
'
btn-group
'
role
=
'
group
'
>
{
config
.
canLaunchExperiments
&&
exp
.
joinableServers
.
length
>
0
&&
{
config
.
canLaunchExperiments
&&
exp
.
joinableServers
.
length
>
0
&&
exp
.
configuration
.
experimentFile
&&
exp
.
configuration
.
bibiConfSr
exp
.
configuration
.
experimentFile
&&
exp
.
configuration
.
bibiConfSr
?
<
button
analytics
-
on
analytics
-
event
=
'
Launch
'
analytics
-
category
=
'
Experiment
'
?
<
button
analytics
-
on
analytics
-
event
=
'
Launch
'
analytics
-
category
=
'
Experiment
'
onClick
=
{()
=>
{
return
pageState
.
startingExperiment
===
exp
.
id
}}
onClick
=
{()
=>
{
return
pageState
.
startingExperiment
===
exp
.
id
}}
disabled
=
{
pageState
.
startingExperiment
===
exp
.
id
||
pageState
.
deletingExperiment
}
disabled
=
{
pageState
.
startingExperiment
===
exp
.
id
||
pageState
.
deletingExperiment
}
class
=
'
btn btn-default
'
>
class
Name
=
'
btn btn-default
'
>
<
i
class
=
'
fa fa-plus
'
><
/i> Launch
<
i
class
Name
=
'
fa fa-plus
'
><
/i> Launch
<
/button
>
<
/button
>
:
null
}
:
null
}
{
config
.
canLaunchExperiments
&&
exp
.
joinableServers
.
length
===
0
{
config
.
canLaunchExperiments
&&
exp
.
joinableServers
.
length
===
0
?
<
button
class
=
'
btn btn-default disabled enable-tooltip
'
?
<
button
class
Name
=
'
btn btn-default disabled enable-tooltip
'
title
=
'
Sorry, no available servers.
'
>
title
=
'
Sorry, no available servers.
'
>
<
i
class
=
'
fa fa-plus
'
><
/i> Launc
h
<
i
class
Name
=
'
fa fa-plus
'
><
/i> Launc
h
<
/button
>
<
/button
>
:
null
}
:
null
}
{
config
.
canLaunchExperiments
&&
config
.
brainProcesses
>
1
&&
exp
.
joinableServers
.
length
>
0
&&
{
config
.
canLaunchExperiments
&&
config
.
brainProcesses
>
1
&&
exp
.
joinableServers
.
length
>
0
&&
exp
.
configuration
.
experimentFile
&&
exp
.
configuration
.
bibiConfSrc
exp
.
configuration
.
experimentFile
&&
exp
.
configuration
.
bibiConfSrc
?
<
button
class
=
'
btn btn-default
'
>
?
<
button
class
Name
=
'
btn btn-default
'
>
<
i
class
=
'
fa fa-plus
'
><
/i> Launch in Single Process Mod
e
<
i
class
Name
=
'
fa fa-plus
'
><
/i> Launch in Single Process Mod
e
<
/button
>
<
/button
>
:
null
}
:
null
}
...
@@ -73,24 +73,24 @@ export default class ExperimentListElement extends React.Component {
...
@@ -73,24 +73,24 @@ export default class ExperimentListElement extends React.Component {
exp
.
configuration
.
experimentFile
&&
exp
.
configuration
.
bibiConfSrc
exp
.
configuration
.
experimentFile
&&
exp
.
configuration
.
bibiConfSrc
?
<
button
analytics
-
on
analytics
-
event
=
'
Launch Multiple Instances
'
?
<
button
analytics
-
on
analytics
-
event
=
'
Launch Multiple Instances
'
class
=
'
btn btn-default
'
>
class
Name
=
'
btn btn-default
'
>
<
i
class
=
'
fa fa-layer-group
'
><
/i> Launch Multipl
e
<
i
class
Name
=
'
fa fa-layer-group
'
><
/i> Launch Multipl
e
<
/button
>
<
/button
>
:
null
}
:
null
}
{
/* isPrivateExperiment */
}
{
/* isPrivateExperiment */
}
{
config
.
canLaunchExperiments
{
config
.
canLaunchExperiments
?
<
button
analytics
-
on
analytics
-
event
=
'
Delete
'
analytics
-
category
=
'
Experiment
'
?
<
button
analytics
-
on
analytics
-
event
=
'
Delete
'
analytics
-
category
=
'
Experiment
'
class
=
'
btn btn-default
'
>
class
Name
=
'
btn btn-default
'
>
<
i
class
=
'
fa fa-times
'
><
/i> Delet
e
<
i
class
Name
=
'
fa fa-times
'
><
/i> Delet
e
<
/button
>
<
/button
>
:
null
}
:
null
}
{
/* Records button */
}
{
/* Records button */
}
{
config
.
canLaunchExperiments
{
config
.
canLaunchExperiments
?
<
button
analytics
-
on
analytics
-
event
=
'
ShowRecords
'
analytics
-
category
=
'
Experiment
'
canLaunchExp
=
{
config
.
canLaunchExperiments
}
?
<
button
analytics
-
on
analytics
-
event
=
'
ShowRecords
'
analytics
-
category
=
'
Experiment
'
canLaunchExp
=
{
config
.
canLaunchExperiments
}
class
=
'
btn btn-default
'
>
class
Name
=
'
btn btn-default
'
>
<
i
class
=
'
fa fa-sign-in
'
><
/i> Recordings
»
<
i
class
Name
=
'
fa fa-sign-in
'
><
/i> Recordings
»
<
/button
>
<
/button
>
:
null
}
:
null
}
...
@@ -98,24 +98,24 @@ export default class ExperimentListElement extends React.Component {
...
@@ -98,24 +98,24 @@ export default class ExperimentListElement extends React.Component {
{
config
.
canLaunchExperiments
{
config
.
canLaunchExperiments
?
?
<
button
analytics
-
on
analytics
-
event
=
'
ExportZip
'
analytics
-
category
=
'
Experiment
'
canLaunchExp
=
{
config
.
canLaunchExperiments
}
<
button
analytics
-
on
analytics
-
event
=
'
ExportZip
'
analytics
-
category
=
'
Experiment
'
canLaunchExp
=
{
config
.
canLaunchExperiments
}
class
=
'
btn btn-default
'
>
class
Name
=
'
btn btn-default
'
>
<
i
class
=
'
fa fa-file-export
'
><
/i> Expor
t
<
i
class
Name
=
'
fa fa-file-export
'
><
/i> Expor
t
<
/button
>
<
/button
>
:
null
}
:
null
}
{
/* Join button */
}
{
/* Join button */
}
{
config
.
canLaunchExperiments
&&
exp
.
joinableServers
.
length
>
0
{
config
.
canLaunchExperiments
&&
exp
.
joinableServers
.
length
>
0
?
<
button
analytics
-
on
analytics
-
event
=
'
Join
'
analytics
-
category
=
'
Experiment
'
canLaunchExp
=
{
config
.
canLaunchExperiments
}
jServerLength
=
{
exp
.
joinableServers
.
length
}
?
<
button
analytics
-
on
analytics
-
event
=
'
Join
'
analytics
-
category
=
'
Experiment
'
canLaunchExp
=
{
config
.
canLaunchExperiments
}
jServerLength
=
{
exp
.
joinableServers
.
length
}
class
=
'
btn btn-default
'
>
class
Name
=
'
btn btn-default
'
>
<
i
class
=
'
fa fa-sign-in
'
><
/i> Simulations
»
<
i
class
Name
=
'
fa fa-sign-in
'
><
/i> Simulations
»
<
/button
>
<
/button
>
:
null
}
:
null
}
{
/* Clone button */
}
{
/* Clone button */
}
{
config
.
canCloneExperiments
&&
(
!
exp
.
configuration
.
privateStorage
||
(
exp
.
configuration
.
experimentFile
&&
exp
.
configuration
.
bibiConfSrc
))
{
config
.
canCloneExperiments
&&
(
!
exp
.
configuration
.
privateStorage
||
(
exp
.
configuration
.
experimentFile
&&
exp
.
configuration
.
bibiConfSrc
))
?
<
button
analytics
-
on
analytics
-
event
=
'
Clone
'
analytics
-
label
=
'
Collab
'
?
<
button
analytics
-
on
analytics
-
event
=
'
Clone
'
analytics
-
label
=
'
Collab
'
analytics
-
value
=
{
exp
.
id
}
class
=
'
btn btn-default
'
>
analytics
-
value
=
{
exp
.
id
}
class
Name
=
'
btn btn-default
'
>
<
i
class
=
'
fa fa-pencil-alt
'
><
/i> Clon
e
<
i
class
Name
=
'
fa fa-pencil-alt
'
><
/i> Clon
e
<
/button
>
<
/button
>
:
null
:
null
}
}
...
@@ -123,16 +123,16 @@ export default class ExperimentListElement extends React.Component {
...
@@ -123,16 +123,16 @@ export default class ExperimentListElement extends React.Component {
{
/* Files button */
}
{
/* Files button */
}
{
config
.
canLaunchExperiments
{
config
.
canLaunchExperiments
?
<
button
canLaunchExp
=
{
config
.
canLaunchExperiments
}
analytics
-
on
analytics
-
event
=
'
Explorer
'
?
<
button
canLaunchExp
=
{
config
.
canLaunchExperiments
}
analytics
-
on
analytics
-
event
=
'
Explorer
'
analytics
-
label
=
'
Collab
'
expId
=
{
exp
.
id
}
class
=
'
btn btn-default
'
>
analytics
-
label
=
'
Collab
'
expId
=
{
exp
.
id
}
class
Name
=
'
btn btn-default
'
>
<
i
class
=
'
fa fa-list-alt
'
><
/i> File
s
<
i
class
Name
=
'
fa fa-list-alt
'
><
/i> File
s
<
/button
>
<
/button
>
:
null
}
:
null
}
{
/* Shared button */
}
{
/* Shared button */
}
{
config
.
canLaunchExperiments
{
config
.
canLaunchExperiments
?
<
button
canLaunchExp
=
{
config
.
canLaunchExperiments
}
expId
=
{
exp
.
id
}
analytics
-
on
analytics
-
event
=
'
Explorer
'
class
=
'
btn btn-default
'
analytics
-
label
=
'
Collab
'
>
?
<
button
canLaunchExp
=
{
config
.
canLaunchExperiments
}
expId
=
{
exp
.
id
}
analytics
-
on
analytics
-
event
=
'
Explorer
'
class
Name
=
'
btn btn-default
'
analytics
-
label
=
'
Collab
'
>
<
i
class
=
'
fas fa-share-alt
'
><
/i> Shar
e
<
i
class
Name
=
'
fas fa-share-alt
'
><
/i> Shar
e
<
/button
>
<
/button
>
:
null
}
:
null
}
<
/div
>
<
/div
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment