Added 'working' spinner to all save/delete/select actions. This is to compensate for places where activity log is slowing down the API. AC-646 changes Rackspace credentials to show API Key in place of password. Fixed a bug on machine credential that caused username to not be passed to the API when adding and editing.

This commit is contained in:
Chris Houseknecht
2013-11-17 06:37:34 +00:00
parent 4b111d61c1
commit ce7688d252
16 changed files with 194 additions and 66 deletions

View File

@@ -114,11 +114,22 @@ angular.module('CredentialFormDefinition', [])
awRequiredWhen: {variable: 'rackspace_required', init: false },
autocomplete: false
},
"api_key": {
label: 'API Key',
type: 'password',
ngShow: "kind.value == 'rax'",
awRequiredWhen: { variable: "rackspace_required", init: false },
autocomplete: false,
ask: false,
clear: false,
apiField: 'passwowrd'
},
"password": {
label: 'Password',
type: 'password',
ngShow: "kind.value == 'rax' || kind.value == 'scm'",
awRequiredWhen: {variable: 'rackspace_required', init: false },
ngShow: "kind.value == 'scm'",
addRequired: false,
editRequired: false,
ngChange: "clearPWConfirm('password_confirm')",
ask: false,
clear: false,
@@ -128,7 +139,7 @@ angular.module('CredentialFormDefinition', [])
"password_confirm": {
label: 'Confirm Password',
type: 'password',
ngShow: "kind.value == 'rax' || kind.value == 'scm'",
ngShow: "kind.value == 'scm'",
addRequired: false,
editRequired: false,
awPassMatch: true,