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
Show more breadcrumbs
Neurorobotics Platform
nrp-frontend
Commits
5e88c7b3
Commit
5e88c7b3
authored
3 years ago
by
Sandro Weber
Browse files
Options
Downloads
Patches
Plain Diff
added test iframe, ready for nest-desktop trial
parent
73b5dcef
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/simulation-view/simulation-view.css
+5
-0
5 additions, 0 deletions
src/components/simulation-view/simulation-view.css
src/components/simulation-view/simulation-view.js
+6
-2
6 additions, 2 deletions
src/components/simulation-view/simulation-view.js
with
11 additions
and
2 deletions
src/components/simulation-view/simulation-view.css
+
5
−
0
View file @
5e88c7b3
...
...
@@ -57,4 +57,9 @@
.simulation-view-experiment-title
{
padding
:
0px
10px
0px
10px
;
font-weight
:
bold
;
}
.flexlayout-iframe
{
width
:
100%
;
height
:
100%
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/components/simulation-view/simulation-view.js
+
6
−
2
View file @
5e88c7b3
...
...
@@ -34,8 +34,8 @@ const jsonBaseLayout = {
'
children
'
:
[
{
'
type
'
:
'
tab
'
,
'
name
'
:
'
FI
'
,
'
component
'
:
'
grid
'
'
name
'
:
'
NEST wiki page
'
,
'
component
'
:
'
nest_wiki
'
}
]
}
...
...
@@ -67,6 +67,10 @@ export default class SimulationView extends React.Component {
if
(
component
===
'
button
'
)
{
return
<
button
>
{
node
.
getName
()}
<
/button>
;
}
else
if
(
component
===
'
nest_wiki
'
)
{
return
<
iframe
src
=
'
https://en.wikipedia.org/wiki/NEST_(software)
'
title
=
'
nest_wiki
'
className
=
'
flexlayout-iframe
'
><
/iframe>
;
}
}
render
()
{
...
...
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