Skip to content

Commit 76f79d8

Browse files
committed
Projects UI updates
-Add list view for users to accept/decline invitations, found under Projects->Invitations drop-down -Allow project admin to remove pending invitations -If invites are required, show pop-up after adding user, indicating that user will be added after accpting invitation -Hide all invitation-related UI elements if projects.invite.required == false
1 parent 0980c47 commit 76f79d8

4 files changed

Lines changed: 281 additions & 84 deletions

File tree

‎ui/css/cloudstack3.css‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ body.login {
242242
position: absolute;
243243
margin-left: 11px;
244244
margin-top: 12px;
245-
cursor: text;
246245
}
247246

248247
.login .fields .field label.error {
@@ -2290,7 +2289,7 @@ div.toolbar div.filters select {
22902289
max-height: 29px;
22912290
background: url(../images/bg-breadcrumbs.png) repeat-x;
22922291
overflow: hidden;
2293-
width: 794px;
2292+
width: 100%;
22942293
}
22952294

22962295
.project-view #breadcrumbs {
@@ -2403,7 +2402,6 @@ div.toolbar div.filters select {
24032402
margin-left: -10px;
24042403
text-indent: 13px;
24052404
font-weight: bold;
2406-
overflow: hidden;
24072405
}
24082406

24092407
#breadcrumbs div.active-project {
@@ -6880,7 +6878,8 @@ div.panel.ui-dialog div.list-view div.fixed-header {
68806878
}
68816879

68826880
.destroy .icon,
6883-
.delete .icon {
6881+
.delete .icon,
6882+
.decline .icon {
68846883
background-position: 1px -92px;
68856884
}
68866885

‎ui/scripts/cloudStack.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
* g_supportELB: "public" - ips are allocated on public network (so use 'forvirtualnetwork' = true)
9494
* g_supportELB: "false" – no ELB support
9595
*/
96+
g_capabilities = json.listcapabilitiesresponse.capability;
9697
g_supportELB = json.listcapabilitiesresponse.capability.supportELB.toString(); //convert boolean to string if it's boolean
9798
$.cookie('supportELB', g_supportELB, { expires: 1});
9899

@@ -196,6 +197,7 @@
196197
* g_supportELB: "public" - ips are allocated on public network (so use 'forvirtualnetwork' = true)
197198
* g_supportELB: "false" – no ELB support
198199
*/
200+
g_capabilities = json.listcapabilitiesresponse.capability;
199201
g_supportELB = json.listcapabilitiesresponse.capability.supportELB.toString(); //convert boolean to string if it's boolean
200202
$.cookie('supportELB', g_supportELB, { expires: 1});
201203

0 commit comments

Comments
 (0)