Skip to content

Commit cd3a128

Browse files
[CLOUDSTACK-10329] Button in ACL rules page to export all rules as a CSV file (#2494)
1 parent af52b1a commit cd3a128

19 files changed

Lines changed: 124 additions & 13 deletions

File tree

ui/css/cloudstack3.css

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3241,6 +3241,7 @@ div.toolbar div.button.main-action,
32413241
height: 12px;
32423242
}
32433243

3244+
div.toolbar div.button.export:hover,
32443245
div.toolbar div.button.add:hover,
32453246
div.toolbar div.button.refresh:hover,
32463247
div.toolbar div.button.main-action:hover,
@@ -13414,3 +13415,32 @@ div.panel.copy-template-destination-list div.list-view div.fixed-header{
1341413415
.multi-edit-add-list .ui-button.copytemplatecancel {
1341513416
left: 310px;
1341613417
}
13418+
13419+
div.button.export {
13420+
position: relative;
13421+
left: 0px;
13422+
top: 5px;
13423+
font-size: 12px;
13424+
font-weight: 100;
13425+
color: #000000;
13426+
margin: 0 10px 0 0;
13427+
cursor: pointer;
13428+
text-shadow: 0px 1px 1px #DEE5EA;
13429+
padding: 5px 5px 5px 5px;
13430+
background: linear-gradient(to bottom, rgba(247,247,247,1) 1%,rgba(234,234,234,1) 100%);
13431+
border: 1px solid #B7B7B7;
13432+
float: right;
13433+
border-radius: 4px 4px 4px 4px;
13434+
height: 12px;
13435+
}
13436+
13437+
div.button.export a {
13438+
padding: 0px 0 3px 20px;
13439+
background: url(../images/exportCsvIcon.png) no-repeat;
13440+
position: relative;
13441+
left: 0px;
13442+
top: 0px;
13443+
background-size: 15.5px;
13444+
text-decoration: none;
13445+
color: black;
13446+
}

ui/images/exportCsvIcon.png

101 KB
Loading

ui/l10n/ar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ var dictionary = {
101101
"label.accounts": "Accounts",
102102
"label.acl": "ACL",
103103
"label.acl.id": "ACL ID",
104+
"label.acl.export": "Export ACLs",
104105
"label.acl.list.rules": "ACL List Rules",
105106
"label.acl.name": "ACL Name",
106107
"label.acl.replaced": "ACL replaced",

ui/l10n/ca.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ var dictionary = {
101101
"label.accounts": "Accounts",
102102
"label.acl": "ACL",
103103
"label.acl.id": "ACL ID",
104+
"label.acl.export": "Export ACLs",
104105
"label.acl.list.rules": "ACL List Rules",
105106
"label.acl.name": "ACL Name",
106107
"label.acl.replaced": "ACL replaced",

ui/l10n/de_DE.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ var dictionary = {
101101
"label.accounts": "Benutzerkonten",
102102
"label.acl": "ACL",
103103
"label.acl.id": "ACL-Kennung",
104+
"label.acl.export": "Export ACLs",
104105
"label.acl.list.rules": "ACL-Listenregeln",
105106
"label.acl.name": "ACL-Name",
106107
"label.acl.replaced": "ACL ersetzt",

ui/l10n/en.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ var dictionary = {
102102
"label.accounts":"Accounts",
103103
"label.acl":"ACL",
104104
"label.acl.id":"ACL ID",
105+
"label.acl.export": "Export ACLs",
105106
"label.acl.list.rules":"ACL List Rules",
106107
"label.acl.name":"ACL Name",
107108
"label.acl.replaced":"ACL replaced",

ui/l10n/es.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ var dictionary = {
101101
"label.accounts": "Cuentas",
102102
"label.acl": "ACL",
103103
"label.acl.id": "ID de ACL",
104+
"label.acl.export": "Export ACLs",
104105
"label.acl.list.rules": "Lista de Reglas ACL",
105106
"label.acl.name": "Nombre de ACL",
106107
"label.acl.replaced": "ACL reemplazada",

ui/l10n/fr_FR.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ var dictionary = {
101101
"label.accounts": "Comptes",
102102
"label.acl": "ACL",
103103
"label.acl.id": "ID ACL",
104+
"label.acl.export": "Export ACLs",
104105
"label.acl.list.rules": "Liste règles ACL",
105106
"label.acl.name": "Nom ACL",
106107
"label.acl.replaced": "ACL remplacée",

ui/l10n/hu.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ var dictionary = {
101101
"label.accounts": "Számlák",
102102
"label.acl": "ACL",
103103
"label.acl.id": "ACL ID",
104+
"label.acl.export": "Export ACLs",
104105
"label.acl.list.rules": "ACL List Rules",
105106
"label.acl.name": "ACL név",
106107
"label.acl.replaced": "ACL lehelyettesítve",

ui/l10n/it_IT.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ var dictionary = {
101101
"label.accounts": "Utenti",
102102
"label.acl": "ACL",
103103
"label.acl.id": "ACL ID",
104+
"label.acl.export": "Export ACLs",
104105
"label.acl.list.rules": "ACL List Rules",
105106
"label.acl.name": "ACL Name",
106107
"label.acl.replaced": "ACL replaced",

0 commit comments

Comments
 (0)