Skip to content

Commit 28cc747

Browse files
committed
Zone wizard UI: Add labels on traffic type edit area
For zone wizard physical network step: Adds a text label to the top of the 'edit' button indicating what type of traffic type (Management, Storage, Guest, etc.)
1 parent 4472eca commit 28cc747

2 files changed

Lines changed: 48 additions & 14 deletions

File tree

‎ui/css/cloudstack3.css‎

Lines changed: 44 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1449,7 +1449,7 @@ div.list-view td.state.off span {
14491449
-webkit-text-shadow: 0px 1px #EAEAEA;
14501450
-o-text-shadow: 0px 1px #EAEAEA;
14511451
text-shadow: 0px 1px #EAEAEA;
1452-
overflow:hidden;
1452+
overflow: hidden;
14531453
}
14541454

14551455
.quick-view-tooltip .detail-view .detail-group table td.value input[type=text] {
@@ -6498,7 +6498,7 @@ label.error {
64986498
.multi-wizard.zone-wizard .select-container.multi .drop-container {
64996499
background: #DAE2EC;
65006500
width: 484px;
6501-
height: 100px;
6501+
height: 114px;
65026502
clear: both;
65036503
position: relative;
65046504
/*+border-radius:4px;*/
@@ -6538,10 +6538,10 @@ label.error {
65386538
text-align: center;
65396539
color: #959BA0;
65406540
font-size: 13px;
6541-
/*+placement:shift 0px 24px;*/
6541+
/*+placement:shift 0px 45px;*/
65426542
position: relative;
65436543
left: 0px;
6544-
top: 24px;
6544+
top: 45px;
65456545
}
65466546

65476547
/*** Add physical network -- traffic type drag area*/
@@ -6769,20 +6769,20 @@ label.error {
67696769
border-radius: 4px;
67706770
border-radius: 4px 4px 4px 4px;
67716771
border-top: 1px solid #FFFFFF;
6772-
/*+placement:shift -15px 61px;*/
6772+
/*+placement:shift -16px 70px;*/
67736773
position: relative;
6774-
left: -15px;
6775-
top: 61px;
6774+
left: -16px;
6775+
top: 70px;
67766776
}
67776777

67786778
.multi-wizard.zone-wizard .drop-container .traffic-type-draggable > .edit-traffic-type:hover {
67796779
background-position: 0px -105px;
67806780
color: #FFFFFF;
6781-
/*+box-shadow:inset 0px 2px 1px #727272;*/
6782-
-moz-box-shadow: inset 0px 2px 1px #727272;
6783-
-webkit-box-shadow: inset 0px 2px 1px #727272;
6784-
-o-box-shadow: inset 0px 2px 1px #727272;
6785-
box-shadow: inset 0px 2px 1px #727272;
6781+
/*+box-shadow:inset 0px -1px 1px #727272;*/
6782+
-moz-box-shadow: inset 0px -1px 1px #727272;
6783+
-webkit-box-shadow: inset 0px -1px 1px #727272;
6784+
-o-box-shadow: inset 0px -1px 1px #727272;
6785+
box-shadow: inset 0px -1px 1px #727272;
67866786
}
67876787

67886788
.multi-wizard.zone-wizard .drop-container .traffic-type-draggable > .edit-traffic-type:hover span {
@@ -6795,10 +6795,10 @@ label.error {
67956795
}
67966796

67976797
.multi-wizard.zone-wizard .drop-container .traffic-type-draggable:hover > .edit-traffic-type {
6798-
/*+placement:shift -7px 67px;*/
6798+
/*+placement:shift -7px 76px;*/
67996799
position: relative;
68006800
left: -7px;
6801-
top: 67px;
6801+
top: 76px;
68026802
}
68036803

68046804
.multi-wizard.zone-wizard .drop-container .traffic-type-draggable .edit-traffic-type span {
@@ -6819,6 +6819,36 @@ label.error {
68196819
padding: 7px 11px 0 7px;
68206820
}
68216821

6822+
.multi-wizard.zone-wizard .traffic-type-draggable .edit-traffic-type span.name {
6823+
float: left;
6824+
width: 76px;
6825+
font-size: 10px;
6826+
padding: 2px;
6827+
color: #4E5F6F;
6828+
background: #DBE1E9;
6829+
/*+border-radius:4px 4px 0 0;*/
6830+
-moz-border-radius: 4px 4px 0 0;
6831+
-webkit-border-radius: 4px 4px 0 0;
6832+
-khtml-border-radius: 4px 4px 0 0;
6833+
border-radius: 4px 4px 0 0;
6834+
/*+placement:shift -13px -16px;*/
6835+
position: relative;
6836+
left: -13px;
6837+
top: -16px;
6838+
margin-bottom: -13px;
6839+
border: 1px solid #C3BCBC;
6840+
border-bottom: 1px solid #D1CDCD;
6841+
/*+box-shadow:inset 0px 1px 1px #F5F4F4;*/
6842+
-moz-box-shadow: inset 0px 1px 1px #F5F4F4;
6843+
-webkit-box-shadow: inset 0px 1px 1px #F5F4F4;
6844+
-o-box-shadow: inset 0px 1px 1px #F5F4F4;
6845+
box-shadow: inset 0px 1px 1px #F5F4F4;
6846+
}
6847+
6848+
.multi-wizard.zone-wizard .traffic-type-draggable .edit-traffic-type:hover span.name {
6849+
background: #C4C3C3;
6850+
}
6851+
68226852
/*** Configure guest network -- tabs*/
68236853
.multi-wizard.zone-wizard .setup-guest-traffic .ui-widget-content {
68246854
width: 682px;

‎ui/index.jsp‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@ under the License.
552552
class="traffic-type-draggable management">
553553
<!-- Edit buttton -->
554554
<div class="edit-traffic-type">
555+
<span class="name"><fmt:message key="label.management"/></span>
555556
<span class="icon">&nbsp;</span>
556557
<span>Edit</span>
557558
</div>
@@ -569,6 +570,7 @@ under the License.
569570
class="traffic-type-draggable public">
570571
<!-- Edit buttton -->
571572
<div class="edit-traffic-type">
573+
<span class="name"><fmt:message key="label.public"/></span>
572574
<span class="icon">&nbsp;</span>
573575
<span>Edit</span>
574576
</div>
@@ -586,6 +588,7 @@ under the License.
586588
class="traffic-type-draggable guest">
587589
<!-- Edit buttton -->
588590
<div class="edit-traffic-type">
591+
<span class="name"><fmt:message key="label.guest"/></span>
589592
<span class="icon">&nbsp;</span>
590593
<span>Edit</span>
591594
</div>
@@ -603,6 +606,7 @@ under the License.
603606
class="traffic-type-draggable storage">
604607
<!-- Edit buttton -->
605608
<div class="edit-traffic-type">
609+
<span class="name"><fmt:message key="label.storage"/></span>
606610
<span class="icon">&nbsp;</span>
607611
<span>Edit</span>
608612
</div>

0 commit comments

Comments
 (0)