diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 1392bb32..00000000 --- a/debian/changelog +++ /dev/null @@ -1,5 +0,0 @@ -hedera-web (22.48.2) stable; urgency=low - - * Initial Release. - - -- Juan Ferrer Toribio Wed, 19 Aug 2015 12:00:00 +0200 diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 9a037142..00000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -10 \ No newline at end of file diff --git a/debian/control b/debian/control deleted file mode 100644 index 46b92b74..00000000 --- a/debian/control +++ /dev/null @@ -1,18 +0,0 @@ -Source: hedera-web -Priority: optional -Maintainer: Juan Ferrer Toribio -Build-Depends: build-essential, debhelper, nodejs -Standards-Version: 3.9.3 -Section: misc -Homepage: https://verdnatura.es -Vcs-Git: https://gitea.verdnatura.es/verdnatura/hedera-web - -Package: hedera-web -Architecture: all -Depends: apache2 | httpd, nodejs, php-cli, php-vn-lib, php-apcu, php-imap, php-soap, libphp-phpmailer, php-gd, php-pear -Suggests: php-text-captcha, php-zip, cron -Section: misc -Priority: optional -Description: Verdnatura's web page - Web page used by Verdnatura, it includes user authetication, a simple CMS and - a webpshop. diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 39423370..00000000 --- a/debian/copyright +++ /dev/null @@ -1,24 +0,0 @@ -Format: http://dep.debian.net/deps/dep5 -Name: hedera-web -Source: https://gitea.verdnatura.es/verdnatura/hedera-web - -Files: * -Copyright: 2011-2015 Juan Ferrer Toribio -License: GPL-3.0+ - -License: GPL-3.0+ - This package is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - . - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see . - . - On Debian systems, the complete text of the GNU General Public - License can be found in "/usr/share/common-licenses/GPL-3". diff --git a/debian/cron.d b/debian/cron.d deleted file mode 100755 index 1037bb2c..00000000 --- a/debian/cron.d +++ /dev/null @@ -1,10 +0,0 @@ -MAILTO=webmaster -*/1 * * * * root hedera-web.php -m misc/mail -*/4 * * * * root hedera-web.php -m tpv/confirm-mail -*/2 * * * * root hedera-web.php -m edi/load -0 23 * * * root hedera-web.php -m edi/clean -0 5 * * * root hedera-web.php -m edi/update -0 5 * * * root hedera-web.php -m misc/exchange-rate -0 0 * * * root hedera-web.php -m image/sync -0 1 * * * root /usr/share/hedera-web/utils/image-clean.sh > /dev/null -0 */1 * * * root /usr/share/hedera-web/utils/update-browscap.sh > /dev/null diff --git a/debian/install b/debian/install deleted file mode 100644 index 2a89565f..00000000 --- a/debian/install +++ /dev/null @@ -1,19 +0,0 @@ -apache.conf etc/hedera-web -config.php etc/hedera-web -php.ini etc/hedera-web -web usr/share/php/vn -doc/* usr/share/doc/hedera-web -hedera-web.php usr/share/hedera-web -forms usr/share/hedera-web -image usr/share/hedera-web -js usr/share/hedera-web -pages usr/share/hedera-web -reports usr/share/hedera-web -rest usr/share/hedera-web -utils usr/share/hedera-web -index.php usr/share/hedera-web -package.json usr/share/hedera-web -build usr/share/hedera-web -README.md usr/share/hedera-web -webpack.config.json usr/share/hedera-web -build-deps/node_modules usr/share/hedera-web diff --git a/debian/links b/debian/links deleted file mode 100644 index ba27c5f5..00000000 --- a/debian/links +++ /dev/null @@ -1,3 +0,0 @@ -usr/share/hedera-web/hedera-web.php usr/bin/hedera-web.php -etc/hedera-web/apache.conf etc/apache2/conf-available/hedera-web.conf -etc/hedera-web/php.ini etc/php/7.0/apache2/conf.d/99-hedera-web.ini \ No newline at end of file diff --git a/debian/postinst b/debian/postinst deleted file mode 100755 index 3513ea26..00000000 --- a/debian/postinst +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -set -e - -/usr/share/hedera-web/utils/update-browscap.sh > /dev/null - -if [ -e /usr/share/apache2/apache2-maintscript-helper ] -then - . /usr/share/apache2/apache2-maintscript-helper - apache2_invoke enmod rewrite - apache2_invoke enmod headers - apache2_invoke enconf hedera-web.conf -fi - -#service php7.3-fpm restart -#service cron restart diff --git a/debian/postrm b/debian/postrm deleted file mode 100755 index 95001e35..00000000 --- a/debian/postrm +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -set -e - -if [ -e /usr/share/apache2/apache2-maintscript-helper ] -then - . /usr/share/apache2/apache2-maintscript-helper - apache2_invoke disconf hedera-web.conf -fi - -#rm -rf /usr/share/hedera-web/node_modules -#service cron restart diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 0854cf25..00000000 --- a/debian/rules +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/make -f - -#export DH_VERBOSE=1 - -%: - dh $@ - -clean: - npm run clean - dh_clean $@ - -build: - npm install --no-audit --prefer-offline - npm --omit=dev run build - - mkdir -p build-deps - cp package.json package-lock.json build-deps - (cd build-deps && npm install --omit=dev --no-audit --prefer-offline) diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides deleted file mode 100644 index fac393f9..00000000 --- a/debian/source.lintian-overrides +++ /dev/null @@ -1 +0,0 @@ -hedera-web: package-contains-npm-ignore-file \ No newline at end of file diff --git a/image/banner.svg b/image/banner.svg deleted file mode 100644 index f03fe5ab..00000000 --- a/image/banner.svg +++ /dev/null @@ -1,101 +0,0 @@ - - - -image/svg+xml diff --git a/image/debian.png b/image/debian.png deleted file mode 100644 index 2943f3a0..00000000 Binary files a/image/debian.png and /dev/null differ diff --git a/image/family/black/accessory.svg b/image/family/black/accessory.svg deleted file mode 100644 index f49d134a..00000000 --- a/image/family/black/accessory.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - diff --git a/image/family/black/artificial.svg b/image/family/black/artificial.svg deleted file mode 100644 index 83000adc..00000000 --- a/image/family/black/artificial.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - diff --git a/image/family/black/flower.svg b/image/family/black/flower.svg deleted file mode 100644 index cd941b4d..00000000 --- a/image/family/black/flower.svg +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - diff --git a/image/family/black/fruit.svg b/image/family/black/fruit.svg deleted file mode 100644 index 0c1ad7e0..00000000 --- a/image/family/black/fruit.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - diff --git a/image/family/black/greenery.svg b/image/family/black/greenery.svg deleted file mode 100644 index e99f102a..00000000 --- a/image/family/black/greenery.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - diff --git a/image/family/black/handmade.svg b/image/family/black/handmade.svg deleted file mode 100644 index 1ff9644d..00000000 --- a/image/family/black/handmade.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - diff --git a/image/family/black/handmadeArtificial.svg b/image/family/black/handmadeArtificial.svg deleted file mode 100644 index f4ea2768..00000000 --- a/image/family/black/handmadeArtificial.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - diff --git a/image/family/black/mortuary.svg b/image/family/black/mortuary.svg deleted file mode 100644 index 979e5118..00000000 --- a/image/family/black/mortuary.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - diff --git a/image/family/black/pets.svg b/image/family/black/pets.svg deleted file mode 100644 index 437f7648..00000000 --- a/image/family/black/pets.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - diff --git a/image/family/black/plant.svg b/image/family/black/plant.svg deleted file mode 100644 index 67e2240a..00000000 --- a/image/family/black/plant.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - diff --git a/image/family/black/preserved.svg b/image/family/black/preserved.svg deleted file mode 100644 index b88d5399..00000000 --- a/image/family/black/preserved.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - diff --git a/image/family/black/treatments.svg b/image/family/black/treatments.svg deleted file mode 100644 index 69dcbf82..00000000 --- a/image/family/black/treatments.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - diff --git a/image/family/dark/1.svg b/image/family/dark/1.svg deleted file mode 100644 index 5052e670..00000000 --- a/image/family/dark/1.svg +++ /dev/null @@ -1,90 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/family/dark/2.svg b/image/family/dark/2.svg deleted file mode 100644 index 7665661c..00000000 --- a/image/family/dark/2.svg +++ /dev/null @@ -1,124 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/family/dark/3.svg b/image/family/dark/3.svg deleted file mode 100644 index a22ccd82..00000000 --- a/image/family/dark/3.svg +++ /dev/null @@ -1,92 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/family/dark/4.svg b/image/family/dark/4.svg deleted file mode 100644 index ec6baec1..00000000 --- a/image/family/dark/4.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/family/dark/5.svg b/image/family/dark/5.svg deleted file mode 100644 index da862519..00000000 --- a/image/family/dark/5.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/family/dark/7.svg b/image/family/dark/7.svg deleted file mode 100644 index c340a265..00000000 --- a/image/family/dark/7.svg +++ /dev/null @@ -1,109 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/family/light/accessory.svg b/image/family/light/accessory.svg deleted file mode 100644 index d929676c..00000000 --- a/image/family/light/accessory.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - diff --git a/image/family/light/artificial.svg b/image/family/light/artificial.svg deleted file mode 100644 index a0d993be..00000000 --- a/image/family/light/artificial.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - diff --git a/image/family/light/flower.svg b/image/family/light/flower.svg deleted file mode 100644 index 3f637557..00000000 --- a/image/family/light/flower.svg +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - diff --git a/image/family/light/fruit.svg b/image/family/light/fruit.svg deleted file mode 100644 index 77b889a9..00000000 --- a/image/family/light/fruit.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - diff --git a/image/family/light/greenery.svg b/image/family/light/greenery.svg deleted file mode 100644 index e967b4ed..00000000 --- a/image/family/light/greenery.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - diff --git a/image/family/light/handmade.svg b/image/family/light/handmade.svg deleted file mode 100644 index 612f79e3..00000000 --- a/image/family/light/handmade.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - diff --git a/image/family/light/handmadeArtificial.svg b/image/family/light/handmadeArtificial.svg deleted file mode 100644 index b9508a00..00000000 --- a/image/family/light/handmadeArtificial.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - diff --git a/image/family/light/mortuary.svg b/image/family/light/mortuary.svg deleted file mode 100644 index 84b099d8..00000000 --- a/image/family/light/mortuary.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - diff --git a/image/family/light/pets.svg b/image/family/light/pets.svg deleted file mode 100644 index 1d9c32f2..00000000 --- a/image/family/light/pets.svg +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - diff --git a/image/family/light/plant.svg b/image/family/light/plant.svg deleted file mode 100644 index 93580d1a..00000000 --- a/image/family/light/plant.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - diff --git a/image/family/light/preserved.svg b/image/family/light/preserved.svg deleted file mode 100644 index d5341e06..00000000 --- a/image/family/light/preserved.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - diff --git a/image/family/light/treatments.svg b/image/family/light/treatments.svg deleted file mode 100644 index 0c71fb14..00000000 --- a/image/family/light/treatments.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - diff --git a/image/favicon/apple-touch-icon.png b/image/favicon/apple-touch-icon.png deleted file mode 100644 index 85e8a90b..00000000 Binary files a/image/favicon/apple-touch-icon.png and /dev/null differ diff --git a/image/favicon/favicon.ico b/image/favicon/favicon.ico deleted file mode 100644 index 0de7b90c..00000000 Binary files a/image/favicon/favicon.ico and /dev/null differ diff --git a/image/favicon/favicon.png b/image/favicon/favicon.png deleted file mode 100644 index ef30c896..00000000 Binary files a/image/favicon/favicon.png and /dev/null differ diff --git a/image/git.svg b/image/git.svg deleted file mode 100644 index 5e7067aa..00000000 --- a/image/git.svg +++ /dev/null @@ -1,55 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/icon.png b/image/icon.png deleted file mode 100644 index f6101d00..00000000 Binary files a/image/icon.png and /dev/null differ diff --git a/image/icon.svg b/image/icon.svg deleted file mode 100644 index 738c8157..00000000 --- a/image/icon.svg +++ /dev/null @@ -1,72 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/icon/dark/add.svg b/image/icon/dark/add.svg deleted file mode 100644 index cc516539..00000000 --- a/image/icon/dark/add.svg +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - diff --git a/image/icon/dark/basket.svg b/image/icon/dark/basket.svg deleted file mode 100644 index 512104e6..00000000 --- a/image/icon/dark/basket.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/icon/dark/close.svg b/image/icon/dark/close.svg deleted file mode 100644 index b950642e..00000000 --- a/image/icon/dark/close.svg +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - Gnome Symbolic Icon Theme - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - - diff --git a/image/icon/dark/cloud-upload.svg b/image/icon/dark/cloud-upload.svg deleted file mode 100644 index 3a6da283..00000000 --- a/image/icon/dark/cloud-upload.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/image/icon/dark/connect.svg b/image/icon/dark/connect.svg deleted file mode 100644 index 7566e28f..00000000 --- a/image/icon/dark/connect.svg +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - - diff --git a/image/icon/dark/delete.svg b/image/icon/dark/delete.svg deleted file mode 100644 index c4be67a2..00000000 --- a/image/icon/dark/delete.svg +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/dark/exit.svg b/image/icon/dark/exit.svg deleted file mode 100644 index e1e0f40d..00000000 --- a/image/icon/dark/exit.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/image/icon/dark/go-next.svg b/image/icon/dark/go-next.svg deleted file mode 100644 index 5a3b21f3..00000000 --- a/image/icon/dark/go-next.svg +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/dark/go-previous.svg b/image/icon/dark/go-previous.svg deleted file mode 100644 index 8d3cbbde..00000000 --- a/image/icon/dark/go-previous.svg +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - diff --git a/image/icon/dark/graph.svg b/image/icon/dark/graph.svg deleted file mode 100644 index e2fff567..00000000 --- a/image/icon/dark/graph.svg +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/dark/info.svg b/image/icon/dark/info.svg deleted file mode 100644 index 97a12573..00000000 --- a/image/icon/dark/info.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/icon/dark/menu.svg b/image/icon/dark/menu.svg deleted file mode 100644 index a4119cd8..00000000 --- a/image/icon/dark/menu.svg +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - diff --git a/image/icon/dark/new-order.svg b/image/icon/dark/new-order.svg deleted file mode 100644 index 2ea94463..00000000 --- a/image/icon/dark/new-order.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/icon/dark/ok.svg b/image/icon/dark/ok.svg deleted file mode 100644 index c570f0e2..00000000 --- a/image/icon/dark/ok.svg +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/dark/pay.svg b/image/icon/dark/pay.svg deleted file mode 100644 index f5b3bb5a..00000000 --- a/image/icon/dark/pay.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/icon/dark/place.svg b/image/icon/dark/place.svg deleted file mode 100644 index b3c2ae89..00000000 --- a/image/icon/dark/place.svg +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/dark/preferences.svg b/image/icon/dark/preferences.svg deleted file mode 100644 index 46f8cb8d..00000000 --- a/image/icon/dark/preferences.svg +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - diff --git a/image/icon/dark/print.svg b/image/icon/dark/print.svg deleted file mode 100644 index 590f90fe..00000000 --- a/image/icon/dark/print.svg +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - - diff --git a/image/icon/dark/refresh.svg b/image/icon/dark/refresh.svg deleted file mode 100644 index 7c8fda7c..00000000 --- a/image/icon/dark/refresh.svg +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/dark/search.svg b/image/icon/dark/search.svg deleted file mode 100644 index ea9eb301..00000000 --- a/image/icon/dark/search.svg +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/dark/shipping.svg b/image/icon/dark/shipping.svg deleted file mode 100644 index ed2298c4..00000000 --- a/image/icon/dark/shipping.svg +++ /dev/null @@ -1,53 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/icon/dark/upload.svg b/image/icon/dark/upload.svg deleted file mode 100644 index 7521267b..00000000 --- a/image/icon/dark/upload.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/image/icon/dark/user-info.svg b/image/icon/dark/user-info.svg deleted file mode 100644 index c3887ae0..00000000 --- a/image/icon/dark/user-info.svg +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - diff --git a/image/icon/dark/view-dual.svg b/image/icon/dark/view-dual.svg deleted file mode 100644 index 5753e204..00000000 --- a/image/icon/dark/view-dual.svg +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - - - diff --git a/image/icon/dark/view-grid.svg b/image/icon/dark/view-grid.svg deleted file mode 100644 index 86f11ed6..00000000 --- a/image/icon/dark/view-grid.svg +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - - - - - - - - - diff --git a/image/icon/dark/view-list.svg b/image/icon/dark/view-list.svg deleted file mode 100644 index 43de6898..00000000 --- a/image/icon/dark/view-list.svg +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - - - - - - diff --git a/image/icon/dark/view.svg b/image/icon/dark/view.svg deleted file mode 100644 index 41ade484..00000000 --- a/image/icon/dark/view.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/image/icon/light/access-log.svg b/image/icon/light/access-log.svg deleted file mode 100644 index fc0d2119..00000000 --- a/image/icon/light/access-log.svg +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - diff --git a/image/icon/light/add-photo.svg b/image/icon/light/add-photo.svg deleted file mode 100644 index 4beae49e..00000000 --- a/image/icon/light/add-photo.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - diff --git a/image/icon/light/add.svg b/image/icon/light/add.svg deleted file mode 100644 index 2af36bb9..00000000 --- a/image/icon/light/add.svg +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - diff --git a/image/icon/light/basket.svg b/image/icon/light/basket.svg deleted file mode 100644 index 7d42b5bf..00000000 --- a/image/icon/light/basket.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/icon/light/clean.svg b/image/icon/light/clean.svg deleted file mode 100644 index 17bb5fae..00000000 --- a/image/icon/light/clean.svg +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/light/clean_backup.svg b/image/icon/light/clean_backup.svg deleted file mode 100644 index 17bb5fae..00000000 --- a/image/icon/light/clean_backup.svg +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/light/close.svg b/image/icon/light/close.svg deleted file mode 100644 index 20af79f2..00000000 --- a/image/icon/light/close.svg +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - Gnome Symbolic Icon Theme - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - - diff --git a/image/icon/light/cloud-upload.svg b/image/icon/light/cloud-upload.svg deleted file mode 100644 index 56b71d60..00000000 --- a/image/icon/light/cloud-upload.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/image/icon/light/delete.svg b/image/icon/light/delete.svg deleted file mode 100644 index 8a0a8bc5..00000000 --- a/image/icon/light/delete.svg +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/light/download.svg b/image/icon/light/download.svg deleted file mode 100644 index 727573e8..00000000 --- a/image/icon/light/download.svg +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - - diff --git a/image/icon/light/edit.svg b/image/icon/light/edit.svg deleted file mode 100644 index 852a3d3b..00000000 --- a/image/icon/light/edit.svg +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - diff --git a/image/icon/light/error.svg b/image/icon/light/error.svg deleted file mode 100644 index 4ebaee99..00000000 --- a/image/icon/light/error.svg +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/light/exit.svg b/image/icon/light/exit.svg deleted file mode 100644 index 1469607a..00000000 --- a/image/icon/light/exit.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/image/icon/light/gnome.svg b/image/icon/light/gnome.svg deleted file mode 100644 index 0f0c6b6a..00000000 --- a/image/icon/light/gnome.svg +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - diff --git a/image/icon/light/go-next.svg b/image/icon/light/go-next.svg deleted file mode 100644 index 6e9b37e7..00000000 --- a/image/icon/light/go-next.svg +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/light/go-previous.svg b/image/icon/light/go-previous.svg deleted file mode 100644 index e71dd2cd..00000000 --- a/image/icon/light/go-previous.svg +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/light/incognito.svg b/image/icon/light/incognito.svg deleted file mode 100644 index e7ccf679..00000000 --- a/image/icon/light/incognito.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - diff --git a/image/icon/light/info.svg b/image/icon/light/info.svg deleted file mode 100644 index c0803073..00000000 --- a/image/icon/light/info.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/icon/light/invisible.png b/image/icon/light/invisible.png deleted file mode 100644 index 8f2bc553..00000000 Binary files a/image/icon/light/invisible.png and /dev/null differ diff --git a/image/icon/light/menu.svg b/image/icon/light/menu.svg deleted file mode 100644 index b15f5227..00000000 --- a/image/icon/light/menu.svg +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - diff --git a/image/icon/light/new-order.svg b/image/icon/light/new-order.svg deleted file mode 100644 index 53f1855d..00000000 --- a/image/icon/light/new-order.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/icon/light/ok.svg b/image/icon/light/ok.svg deleted file mode 100644 index 37ba5ede..00000000 --- a/image/icon/light/ok.svg +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/light/pay.svg b/image/icon/light/pay.svg deleted file mode 100644 index ffcb0814..00000000 --- a/image/icon/light/pay.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/icon/light/place.svg b/image/icon/light/place.svg deleted file mode 100644 index 95f6145f..00000000 --- a/image/icon/light/place.svg +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/light/preferences.svg b/image/icon/light/preferences.svg deleted file mode 100644 index 814ea1c3..00000000 --- a/image/icon/light/preferences.svg +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - diff --git a/image/icon/light/print.svg b/image/icon/light/print.svg deleted file mode 100644 index b14a8256..00000000 --- a/image/icon/light/print.svg +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - - diff --git a/image/icon/light/refresh.svg b/image/icon/light/refresh.svg deleted file mode 100644 index bba06339..00000000 --- a/image/icon/light/refresh.svg +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/light/search.svg b/image/icon/light/search.svg deleted file mode 100644 index dbfe4fd6..00000000 --- a/image/icon/light/search.svg +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/light/shipping.svg b/image/icon/light/shipping.svg deleted file mode 100644 index 32ca1de7..00000000 --- a/image/icon/light/shipping.svg +++ /dev/null @@ -1,53 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/icon/light/show.svg b/image/icon/light/show.svg deleted file mode 100644 index dbfe4fd6..00000000 --- a/image/icon/light/show.svg +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/light/supplant.svg b/image/icon/light/supplant.svg deleted file mode 100644 index 743eb22c..00000000 --- a/image/icon/light/supplant.svg +++ /dev/null @@ -1,81 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/icon/light/unavailable.svg b/image/icon/light/unavailable.svg deleted file mode 100644 index 60d72cac..00000000 --- a/image/icon/light/unavailable.svg +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/icon/light/unknown.svg b/image/icon/light/unknown.svg deleted file mode 100644 index 72fc7b21..00000000 --- a/image/icon/light/unknown.svg +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - diff --git a/image/icon/light/upload.svg b/image/icon/light/upload.svg deleted file mode 100644 index 13835b13..00000000 --- a/image/icon/light/upload.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/image/icon/light/warning.svg b/image/icon/light/warning.svg deleted file mode 100644 index d7e450ff..00000000 --- a/image/icon/light/warning.svg +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/image/logo-dark.svg b/image/logo-dark.svg deleted file mode 100644 index 4d53b7b3..00000000 --- a/image/logo-dark.svg +++ /dev/null @@ -1,161 +0,0 @@ - -image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/image/logo-margin.svg b/image/logo-margin.svg deleted file mode 100644 index 57e0a756..00000000 --- a/image/logo-margin.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/image/logo.png b/image/logo.png deleted file mode 100644 index 55e26fec..00000000 Binary files a/image/logo.png and /dev/null differ diff --git a/image/logo.svg b/image/logo.svg deleted file mode 100644 index 23b6df49..00000000 --- a/image/logo.svg +++ /dev/null @@ -1,158 +0,0 @@ - -image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/image/social/blog.svg b/image/social/blog.svg deleted file mode 100644 index c162845a..00000000 --- a/image/social/blog.svg +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/image/social/blogger.svg b/image/social/blogger.svg deleted file mode 100644 index d611157c..00000000 --- a/image/social/blogger.svg +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/image/social/facebook.svg b/image/social/facebook.svg deleted file mode 100644 index d214e55b..00000000 --- a/image/social/facebook.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/social/gplus.svg b/image/social/gplus.svg deleted file mode 100644 index 459c5d5b..00000000 --- a/image/social/gplus.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/social/instagram.svg b/image/social/instagram.svg deleted file mode 100644 index ecc844aa..00000000 --- a/image/social/instagram.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/social/linkedin.svg b/image/social/linkedin.svg deleted file mode 100644 index 80306a48..00000000 --- a/image/social/linkedin.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/social/mail.svg b/image/social/mail.svg deleted file mode 100644 index d94d03c3..00000000 --- a/image/social/mail.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/image/social/phone.svg b/image/social/phone.svg deleted file mode 100644 index 34fb46ff..00000000 --- a/image/social/phone.svg +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/image/social/pinterest.svg b/image/social/pinterest.svg deleted file mode 100644 index 93b3e9dc..00000000 --- a/image/social/pinterest.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/social/twitter.svg b/image/social/twitter.svg deleted file mode 100644 index ff4a97f2..00000000 --- a/image/social/twitter.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/social/youtube.svg b/image/social/youtube.svg deleted file mode 100644 index c38c48c4..00000000 --- a/image/social/youtube.svg +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/image/star.svg b/image/star.svg deleted file mode 100644 index 348520f8..00000000 --- a/image/star.svg +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/reports/recover-password/locale/en.json b/reports/recover-password/locale/en.json deleted file mode 100644 index d6652994..00000000 --- a/reports/recover-password/locale/en.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Recover password": "Recover password", - "Press on the following link to change your password.": "Press on the following link to change your password." -} diff --git a/reports/recover-password/locale/es.json b/reports/recover-password/locale/es.json deleted file mode 100644 index 9525e11c..00000000 --- a/reports/recover-password/locale/es.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Recover password": "Restaurar contraseña", - "Press on the following link to change your password.": "Pulsa en el siguiente link para cambiar tu contraseña." -} diff --git a/reports/recover-password/locale/fr.json b/reports/recover-password/locale/fr.json deleted file mode 100644 index ac05d0bd..00000000 --- a/reports/recover-password/locale/fr.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Recover password": "Réinitialisation du mot de passe", - "Press on the following link to change your password.": "Appuyez sur le lien suivant pour changer votre mot de passe." -} diff --git a/reports/recover-password/locale/pt.json b/reports/recover-password/locale/pt.json deleted file mode 100644 index 0fab61fb..00000000 --- a/reports/recover-password/locale/pt.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Recover password": "Recuperar palavra-passe", - "Press on the following link to change your password.": "Pressione o botão para modificar sua palavra-passe." -} diff --git a/reports/recover-password/ui.php b/reports/recover-password/ui.php deleted file mode 100644 index d9fffee7..00000000 --- a/reports/recover-password/ui.php +++ /dev/null @@ -1,7 +0,0 @@ - -

- -

- - - diff --git a/reports/shelves-report/locale/en.yml b/reports/shelves-report/locale/en.yml deleted file mode 100644 index b01366dd..00000000 --- a/reports/shelves-report/locale/en.yml +++ /dev/null @@ -1,3 +0,0 @@ -Start: Start -End: End -Pallet: Pallet diff --git a/reports/shelves-report/locale/es.yml b/reports/shelves-report/locale/es.yml deleted file mode 100644 index a821a9ff..00000000 --- a/reports/shelves-report/locale/es.yml +++ /dev/null @@ -1,3 +0,0 @@ -Start: Inicio -End: Fin -Pallet: Palé diff --git a/reports/shelves-report/locale/pt.yml b/reports/shelves-report/locale/pt.yml deleted file mode 100644 index 422c7252..00000000 --- a/reports/shelves-report/locale/pt.yml +++ /dev/null @@ -1,3 +0,0 @@ -Start: Inicio -End: Final -Pallet: Palete diff --git a/reports/shelves-report/shelves-report.js b/reports/shelves-report/shelves-report.js deleted file mode 100644 index d7ff9483..00000000 --- a/reports/shelves-report/shelves-report.js +++ /dev/null @@ -1,359 +0,0 @@ - -Hedera.ShelvesReport = new Class({ - Extends: Hedera.Report - - ,nItem: -1 - ,nColors: 5 - ,trayThickness: 2 - ,trayMargin: 5 - - ,async open(lot) { - this.lot = lot; - - const query = - 'SELECT id, name, nTrays, topTrayHeight, trayHeight, width, depth '+ - 'FROM shelf WHERE id = #shelf; '+ - 'CALL item_listAllocation(#warehouse, #date, #family, #namePrefix, #useIds)'; - - const resultSet = await this.conn.execQuery(query, lot.$); - - // Fetch query data - - const row = resultSet.fetchObject(); - - // Calculates the scale - - var maxWidth = 160; - var maxHeight = 160; - - var shelfWidth = row.width; - var shelfHeight = row.trayHeight * (row.nTrays - 1) + row.topTrayHeight; - - var scale = maxWidth / shelfWidth; - - if (shelfHeight * scale > maxHeight) - scale = maxHeight / shelfHeight; - - // Calculates the shelf dimensions - - var shelf = this.shelf = { - nTrays: row.nTrays - ,trayHeight: row.trayHeight * scale - ,topTrayHeight: row.topTrayHeight * scale - ,width: row.width * scale - ,depth: row.depth * scale - }; - - // Gets the items - - var items = this.items = []; - var remainings = this.remainings = []; - var res = resultSet.fetchData(); - - if (res.length == 0) { - Htk.Toast.showError(_('No items found, check that all fields are correct')); - return; - } - - var boxScale = scale * 10; - - for (const row of res) { - if (!this.maxAmount || row.etiquetas <= this.maxAmount) { - items.push({ - id: row.Id_Article - ,name: row.Article - ,packing: row.packing - ,amount: row.etiquetas - ,boxHeight: row.height * boxScale - ,boxWidth: row.width * boxScale - ,boxDepth: row.depth * boxScale - }); - } else { - remainings.push({ - id: row.Id_Article - ,name: row.Article - ,packing: row.packing - ,amount: row.etiquetas - }); - } - } - - // Intializes the allocator - - alloc = this.alloc = new Vn.Allocator(); - alloc.items = items; - alloc.shelfFunc = this.drawShelf.bind(this); - alloc.boxFunc = this.drawBox.bind(this); - alloc.stack = this.stack; - alloc.nTrays = shelf.nTrays; - alloc.width = shelf.width; - alloc.depth = shelf.depth; - alloc.trayHeight = shelf.trayHeight; - alloc.topTrayHeight = shelf.topTrayHeight; - - // Opens the report - - this.createWindow(); - } - - ,onWindowCreate() { - // Remaining amount - - var remainings = this.remainings; - - if (remainings.length > 0) { - var sheet = this.doc.createElement('div'); - sheet.className = 'sheet'; - this.doc.body.appendChild(sheet); - - var title = this.doc.createElement('h1'); - title.className = 'title'; - title.appendChild(this.doc.createTextNode(this.title)); - sheet.appendChild(title); - - var subtitle = this.doc.createElement('h2'); - subtitle.className = 'subtitle'; - subtitle.appendChild(this.doc.createTextNode(_('Pallets'))); - sheet.appendChild(subtitle); - - var ul = this.doc.createElement('ul'); - sheet.appendChild(ul); - - for (var i = 0; i < remainings.length; i++) { - var li = this.doc.createElement('li'); - ul.appendChild(li); - - var span = this.doc.createElement('span'); - span.className = 'item-id'; - span.appendChild(this.doc.createTextNode(remainings[i].id.toLocaleString())); - li.appendChild(span); - - var span = this.doc.createElement('span'); - span.className = 'item'; - span.appendChild(this.doc.createTextNode(remainings[i].name)); - li.appendChild(span); - - if (this.showPacking) - span.appendChild(this.doc.createTextNode(' '+ remainings[i].packing)); - - var span = this.doc.createElement('span'); - span.className = 'amount'; - span.appendChild(this.doc.createTextNode(remainings[i].amount)); - li.appendChild(span); - } - } - - // Draws the shelves - - this.alloc.run(); - this.drawShelfRange(this.lastItem, false); - } - - ,drawShelf(allocator, item) { - var shelf = this.shelf; - - var sheet = this.doc.createElement('div'); - sheet.className = 'sheet'; - this.doc.body.appendChild(sheet); - - // Draws the title - - var pageNumber = this.doc.createElement('h1'); - pageNumber.className = 'page-number'; - pageNumber.appendChild(this.doc.createTextNode(allocator.currentShelf + 1)); - sheet.appendChild(pageNumber); - - var title = this.doc.createElement('h1'); - title.className = 'title'; - title.appendChild(this.doc.createTextNode(this.title)); - sheet.appendChild(title); - - if (this.subtitles) - this.drawShelfRange(this.lastItem, false); - - this.subtitles = this.doc.createElement('div'); - sheet.appendChild(this.subtitles); - - this.drawShelfRange(item, true); - this.lastSubtitles = this.subtitles; - - // Draws the shelf - - var trayWidth = shelf.width + this.trayMargin * 2; - var shelfHeight = shelf.trayHeight * (shelf.nTrays - 1) + shelf.topTrayHeight - + (this.trayThickness + this.trayMargin) * shelf.nTrays; - - var shelfDiv = this.shelfDiv = this.doc.createElement('div'); - shelfDiv.className = 'shelf'; - shelfDiv.style.width = this.mm(trayWidth); - shelfDiv.style.height = this.mm(shelfHeight); - sheet.appendChild(shelfDiv); - - // Draws trays - - for (var i = 0; i < shelf.nTrays; i++) { - var tray = this.doc.createElement('div'); - tray.className = 'tray'; - tray.style.bottom = this.mm((shelf.trayHeight + this.trayThickness + this.trayMargin) * i); - tray.style.width = this.mm(trayWidth); - tray.style.height = this.mm(this.trayThickness); - shelfDiv.appendChild(tray); - } - } - - ,drawShelfRange(item, isFirst) { - var labelText = isFirst ? _('Start') : _('End'); - - var label = this.doc.createElement('label'); - label.className = 'range-label'; - label.appendChild(this.doc.createTextNode(labelText)); - this.subtitles.appendChild(label); - - var subtitle = this.doc.createElement('h2'); - subtitle.className = 'subtitle'; - subtitle.appendChild(this.doc.createTextNode(this.getItemLabel(item))); - this.subtitles.appendChild(subtitle); - } - - ,getItemLabel(item) { - if (!this.useIds) { - var packing = this.showPacking ? (' x'+ item.packing) : ''; - return item.name + packing; - } else - return item.id.toLocaleString(); - } - - ,mm(size) { - return size.toFixed(2) +'mm'; - } - - ,drawBox(allocator, item, amount) { - if (item.boxWidth == 0 || item.boxHeight == 0) - return; - - var shelf = this.shelf; - - var x = allocator.trayX + this.trayMargin; - var y = allocator.trayY + this.trayThickness - + this.trayMargin * allocator.currentTray - + allocator.currentTray * (shelf.trayHeight + this.trayThickness); - - var box = this.doc.createElement('div'); - box.className = 'box'; - this.shelfDiv.appendChild(box); - - box.style.left = this.mm(x); - box.style.bottom = this.mm(y); - box.style.width = this.mm(item.boxWidth); - box.style.height = this.mm(item.boxHeight); - - if (amount == 0) - this.nItem++; - - var nColor = this.nItem % this.nColors; - Vn.Node.addClass(box, 'color'+ nColor); - - if (amount == 0 || allocator.firstShelfBox) { - var boxLabel = this.doc.createElement('div'); - - if (this.useIds) { - var fontSize = item.boxWidth / 5.2; - - if (fontSize > item.boxHeight - 1) - fontSize = item.boxHeight - 1; - - boxLabel.style.fontSize = this.mm(fontSize); - - var cssClass = 'id'; - } else - var cssClass = 'name'; - - boxLabel.className = 'box-label '+ cssClass; - - var labelText = this.doc.createTextNode(this.getItemLabel(item)); - boxLabel.appendChild(labelText); - - box.appendChild(boxLabel); - } - - this.lastItem = item; - } -}); - -Vn.Allocator = new Class({ - addShelf(item) { - this.currentShelf++; - this.firstShelfBox = true; - - if (this.shelfFunc) - this.shelfFunc(this, item); - } - - ,addTray(item) { - if (this.currentTray <= 0) { - this.addShelf(item); - this.currentTray = this.nTrays - 1; - } else - this.currentTray--; - - this.trayX = 0; - } - - ,addColumn(item) { - if (this.trayX + this.columnWidth + item.boxWidth > this.width - || this.currentTray == -1) - this.addTray(item); - else - this.trayX += this.columnWidth; - - this.trayY = 0; - this.columnWidth = item.boxWidth; - this.lastBoxWidth = item.boxWidth; - } - - ,addBox(item, amount) { - var trayHeight = this.trayHeight; - - if (this.currentTray == this.nTrays - 1) - trayHeight = this.topTrayHeight; - - if (this.trayY + item.boxHeight > trayHeight - || item.boxWidth > this.lastBoxWidth - || (!this.stack && amount == 0)) - this.addColumn(item); - - if (this.boxFunc) - this.boxFunc(this, item, amount); - - this.trayY += item.boxHeight; - - if (item.boxWidth < this.lastBoxWidth) - this.lastBoxWidth = item.boxWidth; - } - - ,run() { - this.firstShelfBox = false; - this.currentShelf = -1; - this.currentTray = -1; - this.columnWidth = 0; - this.lastBoxWidth = 0; - this.trayX = 0; - this.trayY = 0; - this.remaining = false; - - for (var i = 0; i < this.items.length; i++) { - var item = this.items[i]; - var boxIncrement = Math.floor(this.depth / item.boxDepth); - - if (boxIncrement < 1) - boxIncrement = 1; - - for (var amount = 0; amount < item.amount; amount += boxIncrement) { - this.addBox(item, amount); - this.firstShelfBox = false; - } - } - - return this.currentShelf + 1; - } -}); diff --git a/reports/shelves-report/style.css b/reports/shelves-report/style.css deleted file mode 100644 index 475471b6..00000000 --- a/reports/shelves-report/style.css +++ /dev/null @@ -1,118 +0,0 @@ - -/* Shelves */ - -h1 -{ - font-weight: normal; - font-size: 500%; - margin: 0; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; - margin-bottom: 4mm; -} -label.range-label -{ - color: #777; -} -h2.subtitle -{ - margin: 0; - font-size: 200%; - margin-bottom: 2mm; - font-weight: normal; - color: #333; -} -h1.page-number -{ - padding-left: 4mm; - float: right; - text-align: right; -} -.shelf -{ - position: relative; - margin: 0 auto; - padding-top: 10mm; -} -.edge, -.tray -{ - position: absolute; - border-top: 2px solid black; - box-sizing: border-box; -} -.edge -{ - width: 0; -} -.box -{ - position: absolute; - border: 1px solid black; - border-bottom: 0; - box-sizing: border-box; -} -.box-label -{ - font-size: 2.55mm; - word-wrap: break-word; - box-sizing: border-box; - padding: 1% 2%; -} -.box-label.id -{ - text-align: right; -} -.color0 -{ - background-color: #FDD !important; -} -.color1 -{ - background-color: #DFD !important; -} -.color2 -{ - background-color: #DDF !important; -} -.color3 -{ - background-color: #DFF !important; -} -.color4 -{ - background-color: #FFD !important; -} - -/* Remaining amounts*/ - -ul -{ - list-style-type: none; -} -li * -{ - font-size: 200%; - line-height: 200%; -} -.item-id -{ - display: inline-block; - text-align: right; - margin: 0 5mm; - width: 30mm; -} -.item -{ - display: inline-block; - width: 80mm; -} -.amount -{ - color: #666; - width: 10mm; - text-align: right; - padding-right: 1mm; -} - diff --git a/reports/shelves-report/ui.xml b/reports/shelves-report/ui.xml deleted file mode 100644 index 4874b410..00000000 --- a/reports/shelves-report/ui.xml +++ /dev/null @@ -1,10 +0,0 @@ - -
-

- -

-
- -
-
-