Errores solucionados, vn-title
This commit is contained in:
parent
b91d575e93
commit
285fbefe0f
|
@ -1,4 +1,4 @@
|
|||
<label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect">
|
||||
<input type="checkbox" name="*[name]*" class="*[className]*" ng-model="*[model]*" *[enabled]*>
|
||||
<input type="checkbox" name="*[name]*" class="*[className]*" ng-model="*[model]*.*[name]*" *[enabled]*>
|
||||
<span class="mdl-checkbox__label">*[label]*</span>
|
||||
</label>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<select class="mdl-textfield__input" class="*[className]*" name="*[name]*" ng-model="*[model]*" *[enabled]* ng-transclude>
|
||||
<select class="mdl-textfield__input" class="*[className]*" name="*[name]*" ng-model="*[model]*.*[name]*" *[enabled]* ng-transclude>
|
||||
</select>
|
||||
<label class="mdl-textfield__label">*[label]*</label>
|
||||
</div>
|
||||
|
|
|
@ -23,11 +23,11 @@ export {NAME as TEXTFIELD_BT, factory as textfieldBt} from './textfield/textfiel
|
|||
export {NAME as LABEL, directive as LabelDirective} from './label/label'
|
||||
export {NAME as LABEL_MDL, factory as labelMdl} from './label/label.mdl'
|
||||
export {NAME as LABEL_BT, factory as labelBt} from './label/label.bt'
|
||||
export {NAME as SEARCHBAR, directive as searchbar} from './searchbar/searchbar'
|
||||
export {NAME as SEARCHBAR_MDL, factory as searchbarMdl} from './searchbar/searchbar.mdl'
|
||||
export {NAME as SEARCHBAR_BT, factory as searchbarBt} from './searchbar/searchbar.bt'
|
||||
export {NAME as ICON_BUTTON, directive as IconButtonDirective} from './icon-button/icon-button'
|
||||
export {NAME as ICON_BUTTON_MDL, factory as iconButtonMdl} from './icon-button/icon-button.mdl'
|
||||
export {NAME as SEARCHBAR,factory as searchbar} from './searchbar/searchbar'
|
||||
export {NAME as SEARCHBAR_MDL, factory as searchbarMdl} from './searchbar/searchbar.mdl'
|
||||
export {NAME as SEARCHBAR_BT,factory as searchbarBt} from './searchbar/searchbar.bt'
|
||||
export {NAME as PASSWORD, directive as PasswordDirective} from './password/password'
|
||||
export {NAME as PASSWORD_MDL,factory as passwordMdl} from './password/password.mdl'
|
||||
export {NAME as SUBMIT, directive as SubmitDirective} from './submit/submit'
|
||||
|
@ -41,6 +41,9 @@ export {NAME as COMBO_MDL, factory as comboMdl} from './combo/combo.mdl'
|
|||
export {NAME as DATE_PICKER, directive as DatePickerDirective} from './date-picker/date-picker'
|
||||
export {NAME as DATE_PICKER_MDL, factory as datePickerMdl} from './date-picker/date-picker.mdl'
|
||||
|
||||
export {NAME as TITLE, directive as TitleDirective} from './title/title'
|
||||
export {NAME as TITLE_MDL, factory as titleMdl} from './title/title.mdl'
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input class="mdl-textfield__input *[className]*" type="text" name="*[name]*" ng-model="*[model]*" *[enabled]*>
|
||||
<input class="mdl-textfield__input *[className]*" type="text" name="*[name]*" ng-model="*[model]*.*[name]*" *[enabled]*>
|
||||
<label class="mdl-textfield__label">*[label]*</label>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
.mdl-textfield {
|
||||
width: 100%;
|
||||
padding-right: .8em;
|
||||
}
|
||||
.mdl-button--raised {
|
||||
background-color: #ff9400;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input class="*[className]*" type="password" name="*[name]*" ng-model="*[model]*" *[enabled]*>
|
||||
<input class="*[className]*" type="password" name="*[name]*" ng-model="*[model]*.*[name]*" *[enabled]*>
|
||||
<label class="mdl-textfield__label">*[label]*</label>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import {module} from '../module';
|
||||
import template from './password.mdl.html';
|
||||
|
||||
export const NAME = 'vnPasswordmtFactory';
|
||||
export const NAME = 'vnPasswordMdlFactory';
|
||||
|
||||
export function factory() {
|
||||
return {
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<input type="radio" class="*[className]*" name="*[name]*" *[enabled]* >
|
||||
<input type="radio" class="*[className]*" name="*[name]*" ng-model="*[model]*.*[name]*" *[enabled]*>
|
||||
<span class="mdl-radio__label">*[text]*</span>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input class="*[className]*" type="*[type]*" name="*[name]*" ng-model="*[model]*" *[enabled]*>
|
||||
<input class="*[className]*" type="*[type]*" name="*[name]*" ng-model="*[model]*.*[name]*" *[enabled]*>
|
||||
<label class="mdl-textfield__label">*[label]*</label>
|
||||
</div>
|
||||
|
|
|
@ -5,10 +5,11 @@ import * as util from '../util';
|
|||
const _NAME = 'title';
|
||||
export const NAME = util.getName(_NAME);
|
||||
|
||||
directive.$inject =[resolveFactory.NAME];
|
||||
directive.$inject = [resolveFactory.NAME];
|
||||
export function directive (resolve){
|
||||
return{
|
||||
return {
|
||||
require:'E',
|
||||
transclude: true,
|
||||
template: function(_,attr){
|
||||
return resolve.getTemplate(_NAME, attr);
|
||||
}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<h2 style="margin: 0; padding-bottom: 1em; border-bottom: 1px solid gray;" ng-transclude>
|
||||
</h2>
|
||||
<h3 style="margin: 0; padding-bottom: .1em; margin-bottom: .4em; border-bottom: 1px solid gray;" level="*[level]*" ng-transclude>
|
||||
</h3>
|
|
@ -6,9 +6,8 @@ export const NAME = 'vnTitleMdlFactory';
|
|||
export function factory() {
|
||||
return {
|
||||
template: template,
|
||||
transclude: true,
|
||||
default: {}
|
||||
}
|
||||
}
|
||||
|
||||
module.factory(NAME, factory);
|
||||
module.factory(NAME, factory);
|
|
@ -1,5 +1,5 @@
|
|||
<vn-vertical pad-large>
|
||||
<h3 style="margin-top: 0;">Addresses</h3>
|
||||
<vn-title>Addresses</vn-title>
|
||||
<vn-horizontal class="pad-medium-bottom border-dashed-bottom" style="text-align: center;">
|
||||
<vn-empty style="width: 7em;">Default</vn-empty>
|
||||
<vn-auto>Consignee</vn-auto>
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
<form ng-submit="$ctrl.submit()" pad-large>
|
||||
<h3 style="margin-top: 0;">Datos básicos</h3>
|
||||
<vn-title>Datos básicos</vn-title>
|
||||
<vn-horizontal>
|
||||
<vn-textfield vn-one label="Alias" name"alias" model="$ctrl.model.alias"></vn-textfield>
|
||||
<vn-textfield vn-one label="NIF/CIF" name="fi" model="$ctrl.model.fi"></vn-textfield>
|
||||
<vn-textfield vn-one label="Alias" name"alias" model="$ctrl.model"></vn-textfield>
|
||||
<vn-textfield vn-one label="NIF/CIF" name="fi" model="$ctrl.model"></vn-textfield>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-textfield vn-one label="Razón social" name"socialName" model="$ctrl.model.name"></vn-textfield>
|
||||
<vn-date-picker vn-one label="Fecha alta" name"dischargeDate" model="$ctrl.model.dischargeDate"></vn-date-picker>
|
||||
<vn-textfield vn-one label="Razón social" name="socialName" model="$ctrl.model"></vn-textfield>
|
||||
<vn-date-picker vn-one label="Fecha alta" name="dischargeDate" model="$ctrl.model"></vn-date-picker>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-textfield vn-one label="Contacto" name="contact" model="$ctrl.model.contact"></vn-textfield>
|
||||
<vn-textfield vn-one label="Teléfono" name="telefono" model="$ctrl.model.phone"></vn-textfield>
|
||||
<vn-textfield vn-one label="Contacto" name="contact" model="$ctrl.model"></vn-textfield>
|
||||
<vn-textfield vn-one label="Teléfono" name="telefono" model="$ctrl.model"></vn-textfield>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-textfield vn-one label="Calidad" name="quality" model="$ctrl.model.quality"></vn-textfield>
|
||||
<vn-combo vn-one label="Comercial" name="salesPerson" model="$ctrl.model.salesPerson">
|
||||
<vn-textfield vn-one label="Calidad" name="quality" model="$ctrl.model"></vn-textfield>
|
||||
<vn-combo vn-one label="Comercial" name="salesPerson" model="$ctrl.model">
|
||||
<option value="1">Comercial 1</option>
|
||||
<option value="2">Comercial 2</option>
|
||||
</vn-combo>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-one>
|
||||
<vn-submit class="colored" text="Guardar"></vn-submit>
|
||||
<vn-submit text="Guardar"></vn-submit>
|
||||
</vn-one>
|
||||
</vn-horizontal>
|
||||
</form>
|
|
@ -1,49 +1,48 @@
|
|||
<form ng-submit="$ctrl.submit()" pad-large>
|
||||
<h3 style="margin-top: 0;">Datos fiscales y de facturación</h3>
|
||||
<hr/>
|
||||
<vn-title>Datos fiscales y de facturación</vn-title>
|
||||
<vn-horizontal>
|
||||
<vn-check vn-one label="Cliente Activo" name"active" model="$ctrl.model.active"></vn-check>
|
||||
<vn-check vn-one label="Facturar" name="invoice" model="$ctrl.model.invoice"></vn-check>
|
||||
<vn-check vn-one label="Factura Impresa" name="mail" model="$ctrl.model.mailInvoice"></vn-check>
|
||||
<vn-check vn-one label="Cliente Activo" name="active" model="$ctrl.model"></vn-check>
|
||||
<vn-check vn-one label="Facturar" name="invoice" model="$ctrl.model"></vn-check>
|
||||
<vn-check vn-one label="Factura Impresa" name="mailInvoice" model="$ctrl.model"></vn-check>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-textfield vn-two label="Domicilio Fiscal" name"Domicilio" model="$ctrl.model.consignee"></vn-textfield>
|
||||
<vn-textfield vn-one label="Municipio" name"Poblacion" model="$ctrl.model.dischargeDate"></vn-textfield>
|
||||
<vn-textfield vn-two label="Domicilio Fiscal" name="consignee" model="$ctrl.model"></vn-textfield>
|
||||
<vn-textfield vn-one label="Municipio" name="city" model="$ctrl.model"></vn-textfield>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-textfield vn-one label="Codigo Postal" name="postcode" model="$ctrl.model.postcode"></vn-textfield>
|
||||
<vn-combo vn-one label="Provincia" name="province" model="$ctrl.model.province"></vn-combo>
|
||||
<vn-combo vn-one label="Pais" name="country" model="$ctrl.model.country">
|
||||
<vn-textfield vn-one label="Codigo Postal" name="postcode" model="$ctrl.model"></vn-textfield>
|
||||
<vn-combo vn-one label="Provincia" name="province" model="$ctrl.model"></vn-combo>
|
||||
<vn-combo vn-one label="Pais" name="country" model="$ctrl.model">
|
||||
<option value="1">Comercial 1</option>
|
||||
<option value="2">Comercial 2</option>
|
||||
</vn-combo>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-textfield vn-one label="Telefono Fijo" name="phone" model="$ctrl.model.phone"></vn-textfield>
|
||||
<vn-textfield vn-one label="Telefono Movil" name="mobile" model="$ctrl.model.mobile"></vn-textfield>
|
||||
<vn-textfield vn-one label="Email" name="email" model="$ctrl.model.email"></vn-textfield>
|
||||
<vn-textfield vn-one label="Telefono Fijo" name="phone" model="$ctrl.model"></vn-textfield>
|
||||
<vn-textfield vn-one label="Telefono Movil" name="mobile" model="$ctrl.model"></vn-textfield>
|
||||
<vn-textfield vn-one label="Email" name="email" model="$ctrl.model"></vn-textfield>
|
||||
</vn-horizontal>
|
||||
<hr class="border-dashed-top"/>
|
||||
<h5 vn-one style="margin-top: 0;">Información de facturación</h5>
|
||||
<vn-horizontal>
|
||||
<vn-combo vn-two label="Forma de Pago" name="payMethod" model="$ctrl.model.payMethod"></vn-combo>
|
||||
<vn-textfield vn-one label="Vencimiento" name="expiration" model="$ctrl.model.expiration"></vn-textfield>
|
||||
<vn-check vn-three label="Recargo de equivalencia" name"er" model="$ctrl.model.er"></vn-check>
|
||||
<vn-combo vn-two label="Forma de Pago" name="payMethod" model="$ctrl.model"></vn-combo>
|
||||
<vn-textfield vn-one label="Vencimiento" name="expiration" model="$ctrl.model"></vn-textfield>
|
||||
<vn-check vn-three label="Recargo de equivalencia" name="er" model="$ctrl.model"></vn-check>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-textfield vn-one label="Credito" name="credit" model="$ctrl.model.credit"></vn-textfield>
|
||||
<vn-textfield vn-one label="CyC" name="cyc" model="$ctrl.model.cyc"></vn-textfield>
|
||||
<vn-textfield vn-one label="IAE" name"iae" model="$ctrl.model.iae"></vn-textfield>
|
||||
<vn-textfield vn-three label="iban" name"iban" model="$ctrl.model.iban"></vn-textfield>
|
||||
<vn-textfield vn-one label="Credito" name="credit" model="$ctrl.model"></vn-textfield>
|
||||
<vn-textfield vn-one label="CyC" name="cyc" model="$ctrl.model"></vn-textfield>
|
||||
<vn-textfield vn-one label="IAE" name="iae" model="$ctrl.model"></vn-textfield>
|
||||
<vn-textfield vn-three label="iban" name="iban" model="$ctrl.model"></vn-textfield>
|
||||
</vn-horizontal>
|
||||
<hr class="border-dashed-top"/>
|
||||
<h5 style="margin-top: 0;">Documentación</h5>
|
||||
<vn-horizontal>
|
||||
<vn-check vn-two label="Recibido core vnh" name"corevnh" model="$ctrl.model.coreVnh"></vn-check>
|
||||
<vn-check vn-two label="Recibido core vnl" name="corevnl" model="$ctrl.model.coreVnl"></vn-check>
|
||||
<vn-check vn-two label="Recibido B2B vnl" name="sepavnl" model="$ctrl.model.sepaVnl"></vn-check>
|
||||
<vn-check vn-two label="Recibido core vnh" name="coreVnh" model="$ctrl.model"></vn-check>
|
||||
<vn-check vn-two label="Recibido core vnl" name="coreVnl" model="$ctrl.model"></vn-check>
|
||||
<vn-check vn-two label="Recibido B2B vnl" name="sepaVnl" model="$ctrl.model"></vn-check>
|
||||
</vn-horizontal>
|
||||
<vn-empty class="margin-large-top">
|
||||
<vn-submit class="colored " text="Guardar"></vn-submit>
|
||||
<vn-submit text="Guardar"></vn-submit>
|
||||
</vn-empty>
|
||||
</form>
|
|
@ -3,22 +3,22 @@
|
|||
<vn-topbar></vn-topbar>
|
||||
<vn-vertical pad-large>
|
||||
<vn-horizontal>
|
||||
<vn-textfield vn-one label="Id Cliente" alias="id" model="$ctrl.model.id"></vn-textfield>
|
||||
<vn-textfield vn-one label="NIF/CIF" alis="nif" model="$ctrl.model.fi"></vn-textfield>
|
||||
<vn-textfield vn-one label="Id Cliente" name="id" model="$ctrl.model"></vn-textfield>
|
||||
<vn-textfield vn-one label="NIF/CIF" name="fi" model="$ctrl.model"></vn-textfield>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-textfield vn-one label="Alias" alias="alias" model="$ctrl.model.alias"></vn-textfield>
|
||||
<vn-textfield vn-one label="Alias" name="alias" model="$ctrl.model"></vn-textfield>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-textfield vn-two label="Razon Social" alias="razon" model="$ctrl.model.name"></vn-textfield>
|
||||
<vn-textfield vn-two label="Razon Social" name="name" model="$ctrl.model"></vn-textfield>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-textfield vn-one label="Población" alias="poblacion" model="$ctrl.model.city"></vn-textfield>
|
||||
<vn-textfield vn-one label="Código Postal" alias="cp" model="$ctrl.model.postcode"></vn-textfield>
|
||||
<vn-textfield vn-one label="Población" name="city" model="$ctrl.model"></vn-textfield>
|
||||
<vn-textfield vn-one label="Código Postal" name="postcode" model="$ctrl.model"></vn-textfield>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-textfield vn-one label="Email" alias="mail" model="$ctrl.model.email"></vn-textfield>
|
||||
<vn-textfield vn-one label="Teléfono" alias="phone" model="$ctrl.model.phone"></vn-textfield>
|
||||
<vn-textfield vn-one label="Email" name="email" model="$ctrl.model"></vn-textfield>
|
||||
<vn-textfield vn-one label="Teléfono" name="phone" model="$ctrl.model"></vn-textfield>
|
||||
</vn-horizontal>
|
||||
<vn-submit text="Buscar"></vn-submit>
|
||||
</vn-vertical>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<form ng-submit="$ctrl.submit()" pad-large>
|
||||
<h3 style="margin-top: 0;">Acceso Web</h3>
|
||||
<vn-check label="Acceso web activo" model="$ctrl.model.active"></vn-check>
|
||||
<vn-textfield label="Usuario" class="padd-medium-top" model="$ctrl.model.user"></vn-textfield>
|
||||
<vn-submit class="colored" text="Guardar"></vn-submit>
|
||||
<vn-title>Acceso Web</vn-title>
|
||||
<vn-check label="Acceso web activo" name="active" model="$ctrl.model"></vn-check>
|
||||
<vn-textfield label="Usuario" class="padd-medium-top" name="user" model="$ctrl.model"></vn-textfield>
|
||||
<vn-submit text="Guardar"></vn-submit>
|
||||
</form>
|
|
@ -3,9 +3,9 @@
|
|||
<div class="box">
|
||||
<img src="./logo.svg"/>
|
||||
<form name="form" ng-submit="login.submit()">
|
||||
<vn-textfield label="User" name="email" model="login.model.email"></vn-textfield>
|
||||
<vn-password label="Password" name="password" model="login.model.password"></vn-password>
|
||||
<vn-check label="Do not close session" name="remember" model="login.model.remember"></vn-check>
|
||||
<vn-textfield label="User" name="email" model="login.model"></vn-textfield>
|
||||
<vn-password label="Password" name="password" model="login.model"></vn-password>
|
||||
<vn-check label="Do not close session" name="remember" model="login.model"></vn-check>
|
||||
<div class="footer">
|
||||
<vn-submit label="Enter"></vn-submit>
|
||||
<vn-spinner id="spinner"></vn-spinner>
|
||||
|
|
Loading…
Reference in New Issue