Client access web

This commit is contained in:
SAMBA\vfalco 2016-11-29 13:22:19 +01:00
parent b8df169eeb
commit 7e1b4d6c7e
7 changed files with 23 additions and 19 deletions

View File

@ -4,3 +4,6 @@ export {NAME as CLIENT_BASIC_DATA_INDEX,
COMPONENT as CLIENT_BASIC_DATA_INDEX_COMPONENT} from './basic-data/index';
export {NAME as CLIENT_ADDRESSES,
COMPONENT as CLIENT_ADDRESSES_COMPONENT} from './addresses/index';
export {NAME as CLIENT_WEB_ACCESS,
COMPONENT as CLIENT_WEB_ACCESS_COMPONENT} from './web-access/index';

View File

@ -15,6 +15,11 @@
state: 'client.addresses',
template: '<vn-client-addresses full-height></vn-client-addresses>',
module: 'crud'
},{
url: '/web-access',
state: 'client.webaccess',
template: '<vn-client-web-access full-height></vn-client-web-access>',
module: 'crud'
}]

View File

@ -0,0 +1,14 @@
<vn-vertical full-height pad-medium>
<vn-one>
<h3>Acceso Web</h3>
</vn-one>
<vn-two>
<vn-check label="Acceso web activo"></vn-check>
</vn-two>
<vn-three>
<vn-textfield label="USUARIO" class="pada-medium-top"></vn-textfield>
</vn-three>
<vn-four>
<vn-button text="Generar Contraseña" class="pad-medium-top"></vn-button>
</vn-four>
</vn-vertical>

View File

@ -1,7 +1,7 @@
import template from './index.html';
import {module} from '../../module';
export const NAME = 'customerWebClient';
export const NAME = 'vnClientWebAccess';
export const COMPONENT = {
template: template
};

View File

@ -14,9 +14,6 @@ export {NAME as CUSTOMER_DESCRIPTOR,
export {NAME as CUSTOMER_ACTIONS,
COMPONENT as CUSTOMER_ACTIONS_COMPONENT} from './customer/edit/actions';
export {NAME as CUSTOMER_WEB_CLIENT_INDEX,
COMPONENT as CUSTOMER_WEB_CLIENT_INDEX_COMPONENT} from './customer/webclient';
export {NAME as NAVIGATION_INDEX,
COMPONENT as NAVIGATION_INDEX_COMPONENT} from './navigation/index';
export {NAME as NAVIGATION_ITEM,

View File

@ -34,5 +34,4 @@
description: '',
image: ''
}
]

View File

@ -1,14 +0,0 @@
<vn-vertical full-height pad-medium>
<vn-one>
<h2>CLIENTE_acceso web</h2>
</vn-one>
<vn-two>
<vn-check label="Acceso web activo" name="accesoweb" model="customer.activo"></vn-check>
</vn-two>
<vn-three>
<vn-textfield label="USUARIO" model="customer.user"></vn-textfield>
</vn-three>
<vn-four>
<vn-button text="Generar Contraseña" class="colored"></vn-button>
</vn-four>
</vn-vertical>