Estilo, CRLF -> LF
This commit is contained in:
parent
9455ac5d63
commit
f45fb99e66
|
@ -1,4 +1,5 @@
|
||||||
<vn-vertical full-height class="bg-content">
|
<vn-vertical full-height class="bg-content">
|
||||||
<vn-main-menu></vn-main-menu>
|
<vn-main-menu></vn-main-menu>
|
||||||
<vn-vertical ui-view scrollable class="main-view"></vn-vertical>
|
<vn-topbar vn-empty></vn-topbar>
|
||||||
|
<vn-vertical vn-auto ui-view scrollable class="main-view"></vn-vertical>
|
||||||
</vn-vertical>
|
</vn-vertical>
|
|
@ -1,4 +1,5 @@
|
||||||
vn-app {
|
vn-app {
|
||||||
|
display: block;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
<header class="mdl-layout__header mdl-layout__header--scroll bg-dark-bar">
|
<header class="bg-dark-bar" style="height: 4.2em;">
|
||||||
</header>
|
</header>
|
|
@ -1,8 +1,7 @@
|
||||||
import template from './topbar.html';
|
|
||||||
import {module} from '../../module';
|
import {module} from '../../module';
|
||||||
|
|
||||||
export const NAME = "vnTopbar";
|
export const NAME = 'vnTopbar';
|
||||||
export const COMPONENT = {
|
export const COMPONENT = {
|
||||||
template: template
|
template: require('./topbar.html')
|
||||||
};
|
};
|
||||||
module.component(NAME, COMPONENT);
|
module.component(NAME, COMPONENT);
|
||||||
|
|
|
@ -7,7 +7,7 @@ export const NAME = util.getName(_NAME);
|
||||||
|
|
||||||
directive.$inject = [resolveFactory.NAME];
|
directive.$inject = [resolveFactory.NAME];
|
||||||
export function directive(resolve) {
|
export function directive(resolve) {
|
||||||
return{
|
return {
|
||||||
restrict: 'E',
|
restrict: 'E',
|
||||||
template: function(_, attrs) {
|
template: function(_, attrs) {
|
||||||
return resolve.getTemplate(_NAME, attrs);
|
return resolve.getTemplate(_NAME, attrs);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="*[className]*">
|
<div class="mdl-js-snackbar mdl-snackbar *[className]*">
|
||||||
<div class="mdl-snackbar__text"></div>
|
<div class="mdl-snackbar__text"></div>
|
||||||
<button class="mdl-snackbar__action" type="button"></button>
|
<button class="mdl-snackbar__action" type="button"></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -7,8 +7,7 @@ export function factory() {
|
||||||
return {
|
return {
|
||||||
template: template,
|
template: template,
|
||||||
default: {
|
default: {
|
||||||
message: 'Default message',
|
message: 'Default message'
|
||||||
className: 'mdl-js-snackbar mdl-snackbar'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<vn-vertical pad-large>
|
<vn-vertical pad-large>
|
||||||
<vn-title vn-one>Consignatario</vn-title>
|
<vn-title vn-one>Consignatario</vn-title>
|
||||||
<vn-horizontal>
|
<vn-horizontal>
|
||||||
<vn-check vn-one label="Activo" field="addressData.address.enabled"></vn-check>
|
<vn-check vn-one label="Activo" field="addressData.address.enabled" focus></vn-check>
|
||||||
<vn-check vn-one label="Predeterminado" field="addressData.address.default"></vn-check>
|
<vn-check vn-one label="Predeterminado" field="addressData.address.default"></vn-check>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
<vn-horizontal>
|
<vn-horizontal>
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
<vn-vertical class="full-height">
|
<vn-vertical full-height style="max-width: 85em; margin: 0 auto;">
|
||||||
<vn-topbar></vn-topbar>
|
<vn-horizontal full-height>
|
||||||
<vn-horizontal class="full-height">
|
<vn-empty pad-medium-left style="min-width: 18em;">
|
||||||
<vn-empty pad-medium-left >
|
|
||||||
<vn-descriptor client="card.client" class="display-block" ></vn-descriptor>
|
<vn-descriptor client="card.client" class="display-block" ></vn-descriptor>
|
||||||
<vn-left-menu items="card.items"></vn-left-menu>
|
<vn-left-menu items="card.items"></vn-left-menu>
|
||||||
</vn-empty>
|
</vn-empty>
|
||||||
<vn-auto >
|
<vn-auto>
|
||||||
<vn-vertical ui-view></vn-vertical>
|
<vn-vertical ui-view></vn-vertical>
|
||||||
</vn-auto>
|
</vn-auto>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
|
|
|
@ -1,14 +1,13 @@
|
||||||
<vn-topbar></vn-topbar>
|
<form ng-submit="create.submit()" pad-large style="max-width: 67em; margin: 0 auto;">
|
||||||
<form ng-submit="create.submit()" pad-large>
|
<vn-card>
|
||||||
<vn-card>
|
<vn-vertical pad-large>
|
||||||
<vn-vertical pad-large>
|
|
||||||
<vn-title>Crear Cliente</vn-title>
|
<vn-title>Crear Cliente</vn-title>
|
||||||
<vn-horizontal>
|
<vn-horizontal>
|
||||||
<vn-textfield vn-one label="Nombre" field="create.model.name"></vn-textfield>
|
<vn-textfield vn-one label="Nombre" field="create.model.name" focus></vn-textfield>
|
||||||
<vn-textfield vn-one label="NIF/CIF" field="create.model.fi"></vn-textfield>
|
<vn-textfield vn-one label="NIF/CIF" field="create.model.fi"></vn-textfield>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
<vn-horizontal>
|
<vn-horizontal>
|
||||||
<vn-textfield autofocus vn-one label="Razón social" field="create.model.socialName"></vn-textfield>
|
<vn-textfield vn-one label="Razón social" field="create.model.socialName"></vn-textfield>
|
||||||
<vn-one></vn-one>
|
<vn-one></vn-one>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
<vn-horizontal>
|
<vn-horizontal>
|
||||||
|
@ -16,6 +15,6 @@
|
||||||
<vn-submit label="Crear" id="create"></vn-submit>
|
<vn-submit label="Crear" id="create"></vn-submit>
|
||||||
</vn-one>
|
</vn-one>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
</vn-vertical>
|
</vn-vertical>
|
||||||
</vn-card>
|
</vn-card>
|
||||||
</form>
|
</form>
|
|
@ -1,6 +1,5 @@
|
||||||
<vn-vertical class="full-height">
|
<div>
|
||||||
<vn-topbar></vn-topbar>
|
<div style="max-width: 39em; margin: 0 auto;">
|
||||||
<div style="max-width: 45em; margin: 0 auto;">
|
|
||||||
<vn-card margin-medium>
|
<vn-card margin-medium>
|
||||||
<vn-horizontal pad-medium>
|
<vn-horizontal pad-medium>
|
||||||
<vn-searchbar
|
<vn-searchbar
|
||||||
|
@ -12,7 +11,6 @@
|
||||||
params="search.filter"
|
params="search.filter"
|
||||||
return="search.find()">
|
return="search.find()">
|
||||||
</vn-searchbar>
|
</vn-searchbar>
|
||||||
<a vn-empty ui-sref="create"><vn-button label="New client"></vn-button></a>
|
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
</vn-card>
|
</vn-card>
|
||||||
<vn-card margin-medium>
|
<vn-card margin-medium>
|
||||||
|
@ -23,4 +21,9 @@
|
||||||
</vn-item-client>
|
</vn-item-client>
|
||||||
</vn-card>
|
</vn-card>
|
||||||
</div>
|
</div>
|
||||||
</vn-vertical>
|
<a
|
||||||
|
ui-sref="create"
|
||||||
|
style="position: fixed; bottom: 2em; right: 2em;">
|
||||||
|
<vn-button label="New client"></vn-button>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
<form name="form" ng-submit="form.$valid && note.submit()" pad-medium>
|
<form name="form" ng-submit="form.$valid && note.submit()" pad-medium>
|
||||||
<vn-card>
|
<vn-card>
|
||||||
<vn-vertical pad-large>
|
<vn-vertical pad-large>
|
||||||
<vn-title>Notas</vn-title>
|
<vn-title>Notas</vn-title>
|
||||||
<vn-textfield label="Notas" class="padd-medium-top" field="note.model.notes"></vn-textfield>
|
<vn-textfield label="Notas" field="note.model.notes" focus padd-medium-top></vn-textfield>
|
||||||
<vn-submit margin-large-top label="Guardar"></vn-submit>
|
<vn-submit margin-large-top label="Guardar"></vn-submit>
|
||||||
</vn-vertical>
|
</vn-vertical>
|
||||||
</vn-card>
|
</vn-card>
|
||||||
|
|
||||||
</form>
|
</form>
|
Loading…
Reference in New Issue