projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "RIFT-15669: Launchpad UI - RIFT.ware DEB install - Viewport - service primiti...
[osm/UI.git]
/
skyquake
/
plugins
/
launchpad
/
src
/
recordViewer
/
recordCard.jsx
diff --git
a/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx
b/skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx
index
f69c2ba
..
50a3585
100644
(file)
--- a/
skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx
+++ b/
skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx
@@
-106,7
+106,7
@@
export default class RecordCard extends React.Component {
//That match the currently selected job id
if(v.id == cardData.id) {
return v.primitive.map(function(p, i) {
//That match the currently selected job id
if(v.id == cardData.id) {
return v.primitive.map(function(p, i) {
- return <JobListCard type="vnfr" job-id={job['job-id']} cardData={cardData} key={ob['job-id'] + '-' + i} {...p} />
+ return <JobListCard type="vnfr" job-id={job['job-id']} cardData={cardData} key={
j
ob['job-id'] + '-' + i} {...p} />
})
}
})
})
}
})
@@
-144,10
+144,10
@@
export default class RecordCard extends React.Component {
let p = [];
_.forEach(obj, function(v, k) {
p.push(
let p = [];
_.forEach(obj, function(v, k) {
p.push(
- <div style={{margin: '0.5rem 0.5rem'}} key={k + vi}>
+ <div style={{margin: '0.5rem 0.5rem'}} key={k +
'-' +
vi}>
<div style={{margin: '0 0.5rem',
<div style={{margin: '0 0.5rem',
- fontWeight: 'bold', textTransform: 'uppercase'}}>{k}</div>
- <div style={{margin: '0 0.5rem'}}>{v.constructor.name
!= 'Object
' ? v : buildProperties(v)}</div>
+ fontWeight: 'bold', textTransform: 'uppercase'
, color: '#5b5b5b'
}}>{k}</div>
+ <div style={{margin: '0 0.5rem'}}>{v.constructor.name
== 'String
' ? v : buildProperties(v)}</div>
</div>
)
});
</div>
)
});
@@
-208,7
+208,7
@@
export default class RecordCard extends React.Component {
//That match the currently selected job id
if(v.id == cardData.id) {
return v.primitive.map(function(p, i) {
//That match the currently selected job id
if(v.id == cardData.id) {
return v.primitive.map(function(p, i) {
- return <JobListCard type="vnfr" job-id={job['job-id']} cardData={cardData} key={ob['job-id'] + '-' + 'vnfr' + '-' + h} {...p} />
+ return <JobListCard type="vnfr" job-id={job['job-id']} cardData={cardData} key={
j
ob['job-id'] + '-' + 'vnfr' + '-' + h} {...p} />
})
}
})
})
}
})
@@
-266,7
+266,7
@@
export default class RecordCard extends React.Component {
if(this.props.isLoading) {
html = <DashboardCard className="loading" showHeader={true} title={cardData["short-name"]}><LoadingIndicator size={10} show={true} /></DashboardCard>
} else {
if(this.props.isLoading) {
html = <DashboardCard className="loading" showHeader={true} title={cardData["short-name"]}><LoadingIndicator size={10} show={true} /></DashboardCard>
} else {
- let glyphValue = (
this.props.mmm
recordDetailsToggleValue) ? "chevron-left" : "chevron-right";
+ let glyphValue = (
!this.props.
recordDetailsToggleValue) ? "chevron-left" : "chevron-right";
if (this.props.type == 'nsr') {
tabList.push(
if (this.props.type == 'nsr') {
tabList.push(