Skip to content

Commit f026387

Browse files
committed
Add configure icon to VPC
1 parent 3f534b8 commit f026387

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

‎ui/css/cloudstack3.css‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8856,6 +8856,13 @@ div.panel.ui-dialog div.list-view div.fixed-header {
88568856
color: #5F768A;
88578857
}
88588858

8859+
.vpc-chart .vpc-title .icon {
8860+
padding: 7px 15px;
8861+
background: url(../images/sprites.png) no-repeat -145px -195px;
8862+
margin-left: 10px;
8863+
cursor: pointer;
8864+
}
8865+
88598866
.vpc-chart ul.tiers {
88608867
padding: 0 0 0 26px;
88618868
margin: 79px 0 0 232px;

‎ui/scripts/ui-custom/vpc.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,9 @@
154154
var $tiers = $('<ul>').addClass('tiers');
155155
var $router = elems.router();
156156
var $chart = $('<div>').addClass('vpc-chart');
157-
var $title = $('<div>').addClass('vpc-title').html(vpcName);
157+
var $title = $('<div>').addClass('vpc-title').html(vpcName).append(
158+
$('<span>').addClass('icon').html('&nbsp')
159+
);
158160

159161
var showAddTierDialog = function() {
160162
if ($(this).find('.loading-overlay').size()) {

‎ui/scripts/vpc.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@
481481
setTimeout(function() {
482482
args.response.success({
483483
data: {
484-
tiers: []
484+
tiers: tiers
485485
}
486486
});
487487
}, 1000);

0 commit comments

Comments
 (0)