From d9f932b2c143be79d13ef127790dbc42dbcc685b Mon Sep 17 00:00:00 2001 From: jgallego Date: Tue, 13 Mar 2018 14:07:42 +0100 Subject: [PATCH] =?UTF-8?q?a=C3=B1adir=20fuentes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/client/routes.json | 10 +++++----- client/client/src/index/item-client.html | 2 +- client/core/src/styles/fontello-icons.css | 22 +++++++++++++++++----- client/core/src/styles/fontello.woff2 | Bin 3136 -> 6804 bytes client/item/routes.json | 8 ++++---- client/item/src/list/item-product.html | 4 ++-- e2e/helpers/selectors.js | 4 ++-- services/loopback/common/models/client.js | 6 ------ 8 files changed, 31 insertions(+), 25 deletions(-) diff --git a/client/client/routes.json b/client/client/routes.json index 173224037..054f95ab9 100644 --- a/client/client/routes.json +++ b/client/client/routes.json @@ -30,7 +30,7 @@ }, "menu": { "description": "Basic data", - "icon": "person" + "icon": "settings" } }, { @@ -54,7 +54,7 @@ }, "menu": { "description": "Pay method", - "icon": "assignment" + "icon": "icon-payment" } }, { @@ -94,7 +94,7 @@ }, "menu": { "description": "Web access", - "icon": "language" + "icon": "cloud" } }, { @@ -186,7 +186,7 @@ "component": "vn-client-invoices", "menu": { "description": "Invoices", - "icon": "insert_drive_file" + "icon": "icon-invoices" } }, { @@ -204,7 +204,7 @@ }, "menu": { "description": "Recovery", - "icon": "credit_card" + "icon": "icon-recovery" } }, { "url": "/create", diff --git a/client/client/src/index/item-client.html b/client/client/src/index/item-client.html index 3daed725e..7ebb6b8f0 100644 --- a/client/client/src/index/item-client.html +++ b/client/client/src/index/item-client.html @@ -14,7 +14,7 @@ + icon="desktop_windows"> diff --git a/client/core/src/styles/fontello-icons.css b/client/core/src/styles/fontello-icons.css index 4a1201de1..03698f3cf 100644 --- a/client/core/src/styles/fontello-icons.css +++ b/client/core/src/styles/fontello-icons.css @@ -1,6 +1,18 @@ -.icon-tags:before { content: '\e800'; } -.icon-tree:before { content: '\e801'; } -.icon-clone2:before { content: '\e802'; } -.icon-preview:before { content: '\e803'; } -.icon-history:before { content: '\f1da'; } \ No newline at end of file +.icon-barcode:before { content: '\e800'; } /* '' */ +.icon-volume:before { content: '\e801'; } /* '' */ +.icon-bucket:before { content: '\e802'; } /* '' */ +.icon-disabled:before { content: '\e80b'; } /* '' */ +.icon-invoices:before { content: '\e80c'; } /* '' */ +.icon-noweb:before { content: '\e812'; } /* '' */ +.icon-payment:before { content: '\e813'; } /* '' */ +.icon-recovery:before { content: '\e815'; } /* '' */ +.icon-risk:before { content: '\e816'; } /* '' */ +.icon-lines:before { content: '\e819'; } /* '' */ +.icon-volum:before { content: '\e81b'; } /* '' */ +.icon-components:before { content: '\e81c'; } /* '' */ +.icon-clone:before { content: '\e81d'; } /* '' */ +.icon-addperson:before { content: '\e81e'; } /* '' */ +.icon-bin:before { content: '\e81f'; } /* '' */ +.icon-sms:before { content: '\e820'; } /* '' */ +.icon-tags:before { content: '\e821'; } /* '' */ \ No newline at end of file diff --git a/client/core/src/styles/fontello.woff2 b/client/core/src/styles/fontello.woff2 index 22d0e459c22ded6e8bce159450ad05cecb855e06..eea564017cfaef602a607c3aa17e33af266c794a 100644 GIT binary patch literal 6804 zcmV;F8f)cuPew8T0RR9102-744*&oF05RAA02(_00RR9100000000000000000000 z0000SR0dW6gm?%b36^jX2nxGEv=<8|00A}vBm+nUAO(ad2Z2Ehfd(4^Ewd3(LRwK| z|8;_{0>(`(`h-UWqtUS6jvN^FYLgXOO3 zBP5yS;c>r5&rKe1nFpwlSyc}#knjX*#;j@t5o-1y)zqr0hMDdj5{-dmK$$>xXpFK0 zXghL}^^O5W*(1i^o%Wbt_XK?N3veDf^)Esh@ZwA16kHn?sgpJ((^=(%_Lsk=gIquZ zklBq6xf-8`kGZ|SA(m!>M2<>IRx>%^Ki2h?_i;(OXH{q{)a_jl0eVnUq_Up|+5}Ea&TMNp^Pb%WfncNj}oC);acuu?MPdGQE7v z3Q~2@1-Wg~Wzuv>QKcxM1gh&ihS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^ZW7jjdx)1z9+of{=hVedjfXz#|oL|>vK29K% zUm=-N1sbanWc%Et%Aan;+R{nBq)R_%QKB*vle3m`QIRofhQ2^+S6+&Q@%5Cic!|bx zAIjSNfs)c#>$cC>3`KKZ-?_28#s`0^?BrI ze?)=09(sJp@+VP)COuL;@beBq%9bs?rrD}NY26^~-2Jd)6B)Y}f zm2^0mIUoAe@EOb>AG{66B99|aa>8FKtuRG-I`LAkOEWbCXYB0!Q%gq2m4Ok9vyvb8mXbkQ#cmDn%NF<@pkQ>)|X)@YQJWY8F7@r$OG zW^BWRGC7++Lu)Th!=aDm^JgRVXR{r&)k6r*Lq%^I61-(8fb8sT!NKvFu~J>qG+3JJ zY-vj{UB|F;9%1z~>|OWinHg%XS{kQyuZHN-dSQnns74n+#<={0Io%D(VC0zvr6_w#vS=raW5?JFcvoOF~fA?O4uTT zov?$CQ{gaLaPjsLaV%_6$W?MoJR1&Uk9VId zf_k3dYf{;d`5K0t-InelDv+72QH3{!@;z(0b*6i`d!M9REvi+XQI&ma`+!0@ne5Wv+l zu3_l<87yc9icsh=LLpJAu!6uTsX`An8Q&WrK&vo;&}eVNSw$a~ZL#tXtiS<**Ns2G z?3Gs?J@ic%fxW9Sl2VHF(rmk8?a^R03XFk@4LT6K`HfK2V*?Nxf~G|Z1qJhVRa4#K zQ{^y#FqU82QD~^Nbo9`=r))hFM!e98MjS40F|IvsE}gGJygNF=@>}?7<8LCLOz`iB zduxLIL7GK8^zFk!-<=+Z-%TClBO&@ecry_A4AM8!e0cp^bk+BRYR + icon="icon-clone"> + icon="desktop_windows"> diff --git a/e2e/helpers/selectors.js b/e2e/helpers/selectors.js index 1a839a0cb..7ff92e006 100644 --- a/e2e/helpers/selectors.js +++ b/e2e/helpers/selectors.js @@ -150,8 +150,8 @@ export default { itemsIndex: { createItemButton: `${components.vnFloatButton}`, searchResult: `vn-item-product a`, - searchResultPreviewButton: `vn-item-product .buttons > [icon="icon-preview"]`, - searchResultCloneButton: `vn-item-product .buttons > [icon="icon-clone2"]`, + searchResultPreviewButton: `vn-item-product .buttons > [icon="desktop_windows"]`, + searchResultCloneButton: `vn-item-product .buttons > [icon="icon-clone"]`, acceptClonationAlertButton: `vn-item-list [vn-id="clone"] [response="ACCEPT"]`, searchItemInput: `${components.vnTextfield}`, searchButton: `${components.vnSearchBar} > vn-icon-button > button`, diff --git a/services/loopback/common/models/client.js b/services/loopback/common/models/client.js index f55d23021..fd12caa37 100644 --- a/services/loopback/common/models/client.js +++ b/services/loopback/common/models/client.js @@ -25,12 +25,6 @@ module.exports = function(Self) { Self.validatesUniquenessOf('socialName', { message: 'La razón social debe ser única' }); - Self.validatesFormatOf('postcode', { - message: 'El código postal solo debe contener números', - allowNull: true, - allowBlank: true, - with: /^\d+$/ - }); Self.validatesFormatOf('email', { message: 'Correo electrónico inválido', allowNull: true,