ONOS-4359: continued work on theming UI
- topo view: disable map tint option.
- topo view: link details - fix icon size.
Change-Id: Iad844ad77a52224fe475bdd044edae4e3a9fe507
(cherry picked from commit fa3889f)
diff --git a/web/gui/src/main/webapp/app/view/topo/topoMap.js b/web/gui/src/main/webapp/app/view/topo/topoMap.js
index 2c952b8..9418d17 100644
--- a/web/gui/src/main/webapp/app/view/topo/topoMap.js
+++ b/web/gui/src/main/webapp/app/view/topo/topoMap.js
@@ -60,7 +60,8 @@
mapid: map.id,
mapscale: map.scale,
mapfilepath: map.filePath,
- tint: tintCheck.property('checked') ? 'on' : 'off'
+ tint: 'off'
+ // tint: tintCheck.property('checked') ? 'on' : 'off'
};
setMap(p);
$log.debug('Dialog OK button clicked');
@@ -88,12 +89,16 @@
.attr('selected', m.id === current.mapid ? true : null)
.text(m.description);
});
+
+/*
var p = form.append('p');
tintCheck = p.append('input').attr('type', 'checkbox').attr('name', 'tint');
if (current.tint == 'on') {
tintCheck.attr('checked', 'true');
}
p.append('span').text('Enable map tint');
+*/
+
return content;
}
diff --git a/web/gui/src/main/webapp/app/view/topo/topoPanel.js b/web/gui/src/main/webapp/app/view/topo/topoPanel.js
index 7895c21..fb96df5 100644
--- a/web/gui/src/main/webapp/app/view/topo/topoPanel.js
+++ b/web/gui/src/main/webapp/app/view/topo/topoPanel.js
@@ -330,7 +330,7 @@
edgeLink = data.type() === 'hostLink',
order = edgeLink ? edgeOrder : coreOrder;
- gs.addGlyph(svg, 'ports', 40);
+ gs.addGlyph(svg, 'ports', 26);
title.text('Link');
var linkData = {