modificaciones estilos

This commit is contained in:
nelo 2017-01-17 13:03:04 +01:00
parent 8f372a7331
commit ec5c70ed94
2 changed files with 9 additions and 6 deletions

View File

@ -5,7 +5,7 @@ export const NAME = 'vnClientAddressesDataCreate';
export const COMPONENT = {
template: template,
controllerAs: 'addressData',
controller: function($http)
controller: function($http, $state)
{
this.address = {};
$http.get('/client/api/Agencies').then(
@ -16,10 +16,12 @@ export const COMPONENT = {
);
this.submit = function(){
$http.post('/client/api/Addresses', this.address);
}
}
$http.post('/client/api/Addresses', this.address).then(
json => $state.go('clientCard.addresses')
);
};
}
}
COMPONENT.controller.$inject = ['$http'];
COMPONENT.controller.$inject = ['$http', '$state'];
module.component(NAME, COMPONENT);

View File

@ -7,7 +7,8 @@ vn-item-client a {
color: inherit;
}
vn-item-client a:hover {
background-color: rgba(0, 0, 0, .1);
color: white;
background-color: #424242;
}
.vn-item-client-name{