Committed by
Gerrit Code Review
ONOS-4359: continued work on theming UI
- topo view: disable map tint option. - topo view: link details - fix icon size. Change-Id: Iad844ad77a52224fe475bdd044edae4e3a9fe507
Showing
2 changed files
with
7 additions
and
2 deletions
... | @@ -60,7 +60,8 @@ | ... | @@ -60,7 +60,8 @@ |
60 | mapid: map.id, | 60 | mapid: map.id, |
61 | mapscale: map.scale, | 61 | mapscale: map.scale, |
62 | mapfilepath: map.filePath, | 62 | mapfilepath: map.filePath, |
63 | - tint: tintCheck.property('checked') ? 'on' : 'off' | 63 | + tint: 'off' |
64 | + // tint: tintCheck.property('checked') ? 'on' : 'off' | ||
64 | }; | 65 | }; |
65 | setMap(p); | 66 | setMap(p); |
66 | $log.debug('Dialog OK button clicked'); | 67 | $log.debug('Dialog OK button clicked'); |
... | @@ -88,12 +89,16 @@ | ... | @@ -88,12 +89,16 @@ |
88 | .attr('selected', m.id === current.mapid ? true : null) | 89 | .attr('selected', m.id === current.mapid ? true : null) |
89 | .text(m.description); | 90 | .text(m.description); |
90 | }); | 91 | }); |
92 | + | ||
93 | +/* | ||
91 | var p = form.append('p'); | 94 | var p = form.append('p'); |
92 | tintCheck = p.append('input').attr('type', 'checkbox').attr('name', 'tint'); | 95 | tintCheck = p.append('input').attr('type', 'checkbox').attr('name', 'tint'); |
93 | if (current.tint == 'on') { | 96 | if (current.tint == 'on') { |
94 | tintCheck.attr('checked', 'true'); | 97 | tintCheck.attr('checked', 'true'); |
95 | } | 98 | } |
96 | p.append('span').text('Enable map tint'); | 99 | p.append('span').text('Enable map tint'); |
100 | +*/ | ||
101 | + | ||
97 | return content; | 102 | return content; |
98 | } | 103 | } |
99 | 104 | ... | ... |
... | @@ -330,7 +330,7 @@ | ... | @@ -330,7 +330,7 @@ |
330 | edgeLink = data.type() === 'hostLink', | 330 | edgeLink = data.type() === 'hostLink', |
331 | order = edgeLink ? edgeOrder : coreOrder; | 331 | order = edgeLink ? edgeOrder : coreOrder; |
332 | 332 | ||
333 | - gs.addGlyph(svg, 'ports', 40); | 333 | + gs.addGlyph(svg, 'ports', 26); |
334 | title.text('Link'); | 334 | title.text('Link'); |
335 | 335 | ||
336 | var linkData = { | 336 | var linkData = { | ... | ... |
-
Please register or login to post a comment