#1080 fallos de estilos en order prices-popover
This commit is contained in:
parent
e74b7e3118
commit
aac96f4b87
|
@ -34,6 +34,7 @@ Add barcode: Añadir código de barras
|
||||||
Remove barcode: Quitar código de barras
|
Remove barcode: Quitar código de barras
|
||||||
Buyer: Comprador
|
Buyer: Comprador
|
||||||
No results: Sin resultados
|
No results: Sin resultados
|
||||||
|
Enter a new search: Introduce una nueva búsqueda
|
||||||
Tag: Etiqueta
|
Tag: Etiqueta
|
||||||
Worker: Trabajador
|
Worker: Trabajador
|
||||||
Available: Disponible
|
Available: Disponible
|
||||||
|
@ -46,14 +47,16 @@ Density: Densidad
|
||||||
|
|
||||||
# Sections
|
# Sections
|
||||||
Items: Artículos
|
Items: Artículos
|
||||||
|
List: Listado
|
||||||
New item: Nuevo artículo
|
New item: Nuevo artículo
|
||||||
|
Summary: Vista previa
|
||||||
Basic data: Datos básicos
|
Basic data: Datos básicos
|
||||||
Tax: IVA
|
Tax: IVA
|
||||||
History: Historial
|
History: Historial
|
||||||
Niches: Nichos
|
Niches: Nichos
|
||||||
Botanical: Botánico
|
Botanical: Botánico
|
||||||
Barcodes: Códigos de barras
|
Barcodes: Códigos de barras
|
||||||
Diary: Registro
|
Diary: Histórico
|
||||||
Item diary: Registro de compra-venta
|
Item diary: Registro de compra-venta
|
||||||
Last entries: Últimas entradas
|
Last entries: Últimas entradas
|
||||||
Tags: Etiquetas
|
Tags: Etiquetas
|
|
@ -3,12 +3,19 @@ Catalog: Catálogo
|
||||||
from: desde
|
from: desde
|
||||||
results: resultados
|
results: resultados
|
||||||
More than: Más de
|
More than: Más de
|
||||||
|
No results: Sin resultados
|
||||||
|
Enter a new search: Introduce una nueva búsqueda
|
||||||
Plant: Planta
|
Plant: Planta
|
||||||
Flower: Flor
|
Flower: Flor
|
||||||
Handmade: Confección
|
Handmade: Confección
|
||||||
Green: Verde
|
Green: Verde
|
||||||
|
Lines: Lineas
|
||||||
Accessories: Complemento
|
Accessories: Complemento
|
||||||
Category: Reino
|
Category: Reino
|
||||||
Search tag: Buscar etiqueta
|
Search tag: Buscar etiqueta
|
||||||
|
Order by: Ordenar por
|
||||||
|
Order: Orden
|
||||||
Price: Precio
|
Price: Precio
|
||||||
|
Ascendant: Ascendente
|
||||||
|
Descendant: Descendente
|
||||||
Created from: Creado desde
|
Created from: Creado desde
|
|
@ -1,6 +1,6 @@
|
||||||
<vn-popover vn-id="popover" on-close="$ctrl.clear()">
|
<vn-popover vn-id="popover" on-close="$ctrl.clear()">
|
||||||
<vn-card class="vn-descriptor">
|
<div class="vn-descriptor">
|
||||||
<vn-horizontal class="header">
|
<div class="header">
|
||||||
<a translate-attr="{title: 'Return to module index'}" ui-sref="item.index">
|
<a translate-attr="{title: 'Return to module index'}" ui-sref="item.index">
|
||||||
<vn-icon icon="chevron_left"></vn-icon>
|
<vn-icon icon="chevron_left"></vn-icon>
|
||||||
</a>
|
</a>
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
<a translate-attr="{title: 'Preview'}" ui-sref="item.card.summary({id: $ctrl.item.id})">
|
<a translate-attr="{title: 'Preview'}" ui-sref="item.card.summary({id: $ctrl.item.id})">
|
||||||
<vn-icon icon="desktop_windows"></vn-icon>
|
<vn-icon icon="desktop_windows"></vn-icon>
|
||||||
</a>
|
</a>
|
||||||
</vn-horizontal>
|
</div>
|
||||||
<div pad-medium>
|
<div pad-medium>
|
||||||
<vn-horizontal>
|
<vn-horizontal>
|
||||||
<h5>{{$ctrl.item.id}}</h5>
|
<h5>{{$ctrl.item.id}}</h5>
|
||||||
|
@ -59,12 +59,32 @@
|
||||||
</vn-vertical>
|
</vn-vertical>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
<vn-horizontal class="buttons-bar">
|
<vn-horizontal class="buttons-bar">
|
||||||
<vn-one
|
<div class="quicklinks" vn-one>
|
||||||
vn-tooltip="Last entries"
|
<a ng-if="$ctrl.quicklinks.btnOne"
|
||||||
tooltip-position="down">
|
vn-tooltip="{{::$ctrl.quicklinks.btnOne.tooltip}}"
|
||||||
<vn-button ui-sref="item.card.diary({id: $ctrl.item.id})" icon="icon-transaction">
|
ui-sref="{{::$ctrl.quicklinks.btnOne.state}}" target="_blank">
|
||||||
</vn-button>
|
<vn-icon
|
||||||
</vn-one>
|
class="mdl-button mdl-js-button mdl-button--colored"
|
||||||
|
icon="{{::$ctrl.quicklinks.btnOne.icon}}">
|
||||||
|
</vn-icon>
|
||||||
|
</a>
|
||||||
|
<a ng-if="$ctrl.quicklinks.btnTwo"
|
||||||
|
vn-tooltip="{{::$ctrl.quicklinks.btnTwo.tooltip}}"
|
||||||
|
ui-sref="{{::$ctrl.quicklinks.btnTwo.state}}" target="_blank">
|
||||||
|
<vn-icon
|
||||||
|
class="mdl-button mdl-js-button mdl-button--colored"
|
||||||
|
icon="{{::$ctrl.quicklinks.btnTwo.icon}}">
|
||||||
|
</vn-icon>
|
||||||
|
</a>
|
||||||
|
<a ng-if="$ctrl.quicklinks.btnThree"
|
||||||
|
vn-tooltip="{{::$ctrl.quicklinks.btnThree.tooltip}}"
|
||||||
|
ui-sref="{{::$ctrl.quicklinks.btnThree.state}}" target="_blank">
|
||||||
|
<vn-icon
|
||||||
|
class="mdl-button mdl-js-button mdl-button--colored"
|
||||||
|
icon="{{::$ctrl.quicklinks.btnThree.icon}}">
|
||||||
|
</vn-icon>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
<vn-one>
|
<vn-one>
|
||||||
<vn-submit
|
<vn-submit
|
||||||
label="Save"
|
label="Save"
|
||||||
|
@ -73,5 +93,5 @@
|
||||||
</vn-one>
|
</vn-one>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
</div>
|
</div>
|
||||||
</vn-card>
|
</div>
|
||||||
</vn-popover>
|
</vn-popover>
|
||||||
|
|
|
@ -26,6 +26,13 @@ class Controller {
|
||||||
order: 'priority ASC',
|
order: 'priority ASC',
|
||||||
include: {relation: 'tag'}
|
include: {relation: 'tag'}
|
||||||
};
|
};
|
||||||
|
this.quicklinks = {
|
||||||
|
btnOne: {
|
||||||
|
icon: 'icon-transaction',
|
||||||
|
state: `item.card.diary({id: ${this.item.id}})`,
|
||||||
|
tooltip: 'Diary'
|
||||||
|
}
|
||||||
|
};
|
||||||
this.$http.get(`/item/api/ItemTags?filter=${JSON.stringify(filter)}`).then(response => {
|
this.$http.get(`/item/api/ItemTags?filter=${JSON.stringify(filter)}`).then(response => {
|
||||||
this.tags = response.data;
|
this.tags = response.data;
|
||||||
});
|
});
|
||||||
|
|
|
@ -44,11 +44,17 @@ vn-order-prices-popover {
|
||||||
vn-one.text{
|
vn-one.text{
|
||||||
padding-top:10px!important;
|
padding-top:10px!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
vn-horizontal.buttons-bar{
|
vn-horizontal.buttons-bar{
|
||||||
padding-top: 16px;
|
padding-top: 16px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
.quicklinks vn-icon {
|
||||||
|
font-size: 1.8em !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
& > i {
|
||||||
|
line-height: 36px
|
||||||
|
}
|
||||||
|
}
|
||||||
vn-one.error{
|
vn-one.error{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue