From 8ab8de62766cd71598d5db4abb0279bc94375388 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Sat, 31 Jan 2015 02:05:12 +0100 Subject: [PATCH] Responsive, version Alpha --- configure.php | 1 + package/DEBIAN/control | 4 +- package/usr/share/hedera-web/form.php | 24 + .../{modules => forms}/account/account.js | 0 .../share/hedera-web/forms/account/html.php | 37 ++ .../share/hedera-web/forms/account/style.css | 34 ++ .../{modules => forms/admin}/access/access.js | 0 .../{modules => forms/admin}/access/html.php | 0 .../{modules => forms/admin}/access/style.css | 0 .../hedera-web/forms/admin/links/html.php | 13 + .../{modules => forms/admin}/links/links.js | 0 .../hedera-web/forms/admin/links/style.css | 14 + .../{modules => forms/admin}/users/html.php | 0 .../{modules => forms/admin}/users/style.css | 0 .../{modules => forms/admin}/users/users.js | 0 .../{modules => forms/admin}/visits/html.php | 0 .../{modules => forms/admin}/visits/style.css | 0 .../{modules => forms/admin}/visits/visits.js | 0 .../forms/agencies/packages/html.php | 15 + .../agencies/packages/packages.js} | 7 +- .../forms/agencies/packages/style.css | 14 + .../forms/agencies/provinces/html.php | 21 + .../forms/agencies/provinces/provinces.js | 8 + .../forms/agencies/provinces/style.css | 14 + .../{modules => forms/cms}/about/about.js | 0 .../share/hedera-web/forms/cms/about/html.php | 85 +++ .../cms}/about/image/2_control.png | Bin .../cms}/about/image/4_control.png | Bin .../cms}/about/image/agencies.png | Bin .../cms}/about/image/auction.png | Bin .../cms}/about/image/commercial.png | Bin .../cms}/about/image/courses.png | Bin .../cms}/about/image/dealer.png | Bin .../cms}/about/image/differentiates_us.png | Bin .../cms}/about/image/fit.png | Bin .../cms}/about/image/glass.png | Bin .../cms}/about/image/goods_receive.png | Bin .../cms}/about/image/goods_transport.png | Bin .../cms}/about/image/palletizing.png | Bin .../cms}/about/image/producers.png | Bin .../cms}/about/image/store.png | Bin .../cms}/about/image/summary.png | Bin .../cms}/about/image/trailer.png | Bin .../cms}/about/image/training.png | Bin .../cms}/about/image/web.png | Bin .../cms}/about/image/youtube.png | Bin .../{modules => forms/cms}/about/style.css | 54 +- .../cms}/contact/IndieFlower.ttf | Bin .../cms}/contact/captcha.php | 0 .../{modules => forms/cms}/contact/contact.js | 4 +- .../hedera-web/forms/cms/contact/html.php | 58 ++ .../cms}/contact/send-data.php | 0 .../hedera-web/forms/cms/contact/style.css | 67 +++ .../{modules => forms/cms}/home/home.js | 0 .../{modules => forms/cms}/home/html.php | 0 .../{modules => forms/cms}/home/style.css | 48 +- .../{modules => forms/cms}/location/html.php | 0 .../cms}/location/location.js | 57 +- .../hedera-web/forms/cms/location/style.css | 16 + .../share/hedera-web/forms/cms/why/html.php | 7 + .../share/hedera-web/forms/cms/why/style.css | 29 + .../{modules => forms/cms}/why/why.js | 0 .../ecomerce}/catalog/catalog.js | 0 .../ecomerce}/catalog/html.php | 0 .../ecomerce}/catalog/style.css | 0 .../ecomerce}/order/html.php | 0 .../ecomerce}/order/order.js | 0 .../ecomerce}/order/style.css | 0 .../ecomerce}/orders/html.php | 2 + .../ecomerce}/orders/orders.js | 41 +- .../ecomerce}/orders/style.css | 18 +- .../ecomerce}/ticket/html.php | 0 .../ecomerce}/ticket/style.css | 0 .../ecomerce}/ticket/ticket.js | 0 .../{modules => forms/news}/new/html.php | 0 .../{modules => forms/news}/new/new.js | 2 +- .../{modules => forms/news}/new/style.css | 0 .../{modules => forms/news}/news/html.php | 5 +- .../{modules => forms/news}/news/news.js | 2 +- .../{modules => forms/news}/news/style.css | 0 package/usr/share/hedera-web/global/style.css | 188 ++++--- .../share/hedera-web/image/loader-white.gif | Bin 0 -> 63785 bytes .../image/{logo_big.png => logo-big.png} | Bin .../image/{icon.png => logo-white.png} | Bin .../usr/share/hedera-web/image/logo-white.svg | 124 +++++ package/usr/share/hedera-web/image/logo.svg | 166 ++++++ .../usr/share/hedera-web/image/logo_small.png | Bin 6663 -> 0 bytes package/usr/share/hedera-web/image/menu.svg | 161 ++++++ package/usr/share/hedera-web/image/show.svg | 130 +++++ package/usr/share/hedera-web/index.php | 6 +- .../share/hedera-web/js/htk/field/calendar.js | 2 +- .../hedera-web/js/htk/field/image-editor.js | 19 +- package/usr/share/hedera-web/js/vn/locale.js | 2 +- package/usr/share/hedera-web/js/vn/main.js | 16 + .../locale/ca/{modules => forms}/account.json | 2 +- .../ca/{modules => forms/admin}/access.json | 0 .../ca/{modules => forms/admin}/links.json | 0 .../ca/{modules => forms/admin}/users.json | 0 .../ca/{modules => forms/admin}/visits.json | 0 .../locale/ca/forms/agencies/packages.json | 9 + .../locale/ca/forms/agencies/provinces.json | 8 + .../ca/{modules => forms/cms}/about.json | 0 .../ca/{modules => forms/cms}/contact.json | 0 .../ca/{modules => forms/cms}/home.json | 0 .../ca/{modules => forms/cms}/location.json | 0 .../locale/ca/{modules => forms/cms}/why.json | 0 .../{modules => forms/ecomerce}/catalog.json | 0 .../ca/{modules => forms/ecomerce}/order.json | 0 .../{modules => forms/ecomerce}/orders.json | 0 .../{modules => forms/ecomerce}/ticket.json | 0 .../ca/{modules => forms/news}/new.json | 0 .../ca/{modules => forms/news}/news.json | 0 .../locale/ca/modules/agencies.json | 16 - .../locale/es/{modules => forms}/account.json | 2 +- .../es/{modules => forms/admin}/access.json | 0 .../es/{modules => forms/admin}/links.json | 0 .../es/{modules => forms/admin}/users.json | 0 .../es/{modules => forms/admin}/visits.json | 0 .../locale/es/forms/agencies/packages.json | 9 + .../locale/es/forms/agencies/provinces.json | 8 + .../es/{modules => forms/cms}/about.json | 0 .../es/{modules => forms/cms}/contact.json | 0 .../es/{modules => forms/cms}/home.json | 0 .../es/{modules => forms/cms}/location.json | 0 .../locale/es/{modules => forms/cms}/why.json | 0 .../{modules => forms/ecomerce}/catalog.json | 0 .../es/{modules => forms/ecomerce}/order.json | 0 .../{modules => forms/ecomerce}/orders.json | 0 .../{modules => forms/ecomerce}/ticket.json | 0 .../es/{modules => forms/news}/new.json | 0 .../es/{modules => forms/news}/news.json | 0 .../locale/es/modules/agencies.json | 16 - .../locale/fr/{modules => forms}/account.json | 2 +- .../fr/{modules => forms/admin}/access.json | 0 .../fr/{modules => forms/admin}/links.json | 0 .../fr/{modules => forms/admin}/users.json | 0 .../fr/{modules => forms/admin}/visits.json | 0 .../locale/fr/forms/agencies/packages.json | 9 + .../locale/fr/forms/agencies/provinces.json | 8 + .../fr/{modules => forms/cms}/about.json | 0 .../fr/{modules => forms/cms}/contact.json | 0 .../fr/{modules => forms/cms}/home.json | 0 .../fr/{modules => forms/cms}/location.json | 0 .../locale/fr/{modules => forms/cms}/why.json | 0 .../{modules => forms/ecomerce}/catalog.json | 0 .../fr/{modules => forms/ecomerce}/order.json | 0 .../{modules => forms/ecomerce}/orders.json | 0 .../{modules => forms/ecomerce}/ticket.json | 0 .../fr/{modules => forms/news}/new.json | 0 .../fr/{modules => forms/news}/news.json | 0 .../locale/fr/modules/agencies.json | 16 - package/usr/share/hedera-web/module.php | 28 - .../share/hedera-web/modules/about/html.php | 83 --- .../share/hedera-web/modules/account/html.php | 56 -- .../hedera-web/modules/account/style.css | 22 - .../hedera-web/modules/agencies/html.php | 31 -- .../hedera-web/modules/agencies/style.css | 39 -- .../share/hedera-web/modules/contact/html.php | 100 ---- .../hedera-web/modules/contact/style.css | 50 -- .../share/hedera-web/modules/links/html.php | 11 - .../share/hedera-web/modules/links/style.css | 9 - .../hedera-web/modules/location/style.css | 6 - .../usr/share/hedera-web/modules/why/html.php | 5 - .../share/hedera-web/modules/why/style.css | 25 - .../hedera-web/pages/login/background.png | Bin 0 -> 24400 bytes .../usr/share/hedera-web/pages/login/html.php | 51 +- .../share/hedera-web/pages/login/style.css | 116 ++-- .../usr/share/hedera-web/pages/tpv/html.php | 1 + .../hedera-web/pages/update-browser/html.php | 1 + .../usr/share/hedera-web/pages/web/html.php | 22 +- .../usr/share/hedera-web/pages/web/module.js | 12 +- .../usr/share/hedera-web/pages/web/style.css | 190 +++++-- package/usr/share/hedera-web/pages/web/web.js | 510 ++++++++++-------- package/usr/share/hedera-web/rest/image.php | 6 +- package/usr/share/hedera-web/rest/query.php | 4 +- package/usr/share/hedera-web/visits-sync.php | 4 +- package/usr/share/php/vn/hedera/init.php | 6 +- package/usr/share/php/vn/hedera/util.php | 9 + package/usr/share/php/vn/rest/exception.php | 2 +- package/usr/share/php/vn/tpv/tpv.php | 34 +- 180 files changed, 1973 insertions(+), 1080 deletions(-) create mode 100755 package/usr/share/hedera-web/form.php rename package/usr/share/hedera-web/{modules => forms}/account/account.js (100%) create mode 100755 package/usr/share/hedera-web/forms/account/html.php create mode 100755 package/usr/share/hedera-web/forms/account/style.css rename package/usr/share/hedera-web/{modules => forms/admin}/access/access.js (100%) rename package/usr/share/hedera-web/{modules => forms/admin}/access/html.php (100%) rename package/usr/share/hedera-web/{modules => forms/admin}/access/style.css (100%) create mode 100755 package/usr/share/hedera-web/forms/admin/links/html.php rename package/usr/share/hedera-web/{modules => forms/admin}/links/links.js (100%) create mode 100755 package/usr/share/hedera-web/forms/admin/links/style.css rename package/usr/share/hedera-web/{modules => forms/admin}/users/html.php (100%) rename package/usr/share/hedera-web/{modules => forms/admin}/users/style.css (100%) rename package/usr/share/hedera-web/{modules => forms/admin}/users/users.js (100%) rename package/usr/share/hedera-web/{modules => forms/admin}/visits/html.php (100%) rename package/usr/share/hedera-web/{modules => forms/admin}/visits/style.css (100%) rename package/usr/share/hedera-web/{modules => forms/admin}/visits/visits.js (100%) create mode 100755 package/usr/share/hedera-web/forms/agencies/packages/html.php rename package/usr/share/hedera-web/{modules/agencies/agencies.js => forms/agencies/packages/packages.js} (63%) create mode 100755 package/usr/share/hedera-web/forms/agencies/packages/style.css create mode 100755 package/usr/share/hedera-web/forms/agencies/provinces/html.php create mode 100755 package/usr/share/hedera-web/forms/agencies/provinces/provinces.js create mode 100755 package/usr/share/hedera-web/forms/agencies/provinces/style.css rename package/usr/share/hedera-web/{modules => forms/cms}/about/about.js (100%) create mode 100755 package/usr/share/hedera-web/forms/cms/about/html.php rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/2_control.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/4_control.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/agencies.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/auction.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/commercial.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/courses.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/dealer.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/differentiates_us.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/fit.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/glass.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/goods_receive.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/goods_transport.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/palletizing.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/producers.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/store.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/summary.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/trailer.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/training.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/web.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/image/youtube.png (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/about/style.css (54%) rename package/usr/share/hedera-web/{modules => forms/cms}/contact/IndieFlower.ttf (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/contact/captcha.php (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/contact/contact.js (92%) create mode 100755 package/usr/share/hedera-web/forms/cms/contact/html.php rename package/usr/share/hedera-web/{modules => forms/cms}/contact/send-data.php (100%) create mode 100755 package/usr/share/hedera-web/forms/cms/contact/style.css rename package/usr/share/hedera-web/{modules => forms/cms}/home/home.js (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/home/html.php (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/home/style.css (55%) rename package/usr/share/hedera-web/{modules => forms/cms}/location/html.php (100%) rename package/usr/share/hedera-web/{modules => forms/cms}/location/location.js (67%) create mode 100755 package/usr/share/hedera-web/forms/cms/location/style.css create mode 100755 package/usr/share/hedera-web/forms/cms/why/html.php create mode 100755 package/usr/share/hedera-web/forms/cms/why/style.css rename package/usr/share/hedera-web/{modules => forms/cms}/why/why.js (100%) rename package/usr/share/hedera-web/{modules => forms/ecomerce}/catalog/catalog.js (100%) rename package/usr/share/hedera-web/{modules => forms/ecomerce}/catalog/html.php (100%) rename package/usr/share/hedera-web/{modules => forms/ecomerce}/catalog/style.css (100%) rename package/usr/share/hedera-web/{modules => forms/ecomerce}/order/html.php (100%) rename package/usr/share/hedera-web/{modules => forms/ecomerce}/order/order.js (100%) rename package/usr/share/hedera-web/{modules => forms/ecomerce}/order/style.css (100%) rename package/usr/share/hedera-web/{modules => forms/ecomerce}/orders/html.php (99%) rename package/usr/share/hedera-web/{modules => forms/ecomerce}/orders/orders.js (81%) rename package/usr/share/hedera-web/{modules => forms/ecomerce}/orders/style.css (92%) rename package/usr/share/hedera-web/{modules => forms/ecomerce}/ticket/html.php (100%) rename package/usr/share/hedera-web/{modules => forms/ecomerce}/ticket/style.css (100%) rename package/usr/share/hedera-web/{modules => forms/ecomerce}/ticket/ticket.js (100%) rename package/usr/share/hedera-web/{modules => forms/news}/new/html.php (100%) rename package/usr/share/hedera-web/{modules => forms/news}/new/new.js (98%) rename package/usr/share/hedera-web/{modules => forms/news}/new/style.css (100%) rename package/usr/share/hedera-web/{modules => forms/news}/news/html.php (81%) rename package/usr/share/hedera-web/{modules => forms/news}/news/news.js (95%) rename package/usr/share/hedera-web/{modules => forms/news}/news/style.css (100%) create mode 100644 package/usr/share/hedera-web/image/loader-white.gif rename package/usr/share/hedera-web/image/{logo_big.png => logo-big.png} (100%) rename package/usr/share/hedera-web/image/{icon.png => logo-white.png} (100%) create mode 100644 package/usr/share/hedera-web/image/logo-white.svg create mode 100644 package/usr/share/hedera-web/image/logo.svg delete mode 100755 package/usr/share/hedera-web/image/logo_small.png create mode 100644 package/usr/share/hedera-web/image/menu.svg create mode 100644 package/usr/share/hedera-web/image/show.svg rename package/usr/share/hedera-web/locale/ca/{modules => forms}/account.json (82%) rename package/usr/share/hedera-web/locale/ca/{modules => forms/admin}/access.json (100%) rename package/usr/share/hedera-web/locale/ca/{modules => forms/admin}/links.json (100%) rename package/usr/share/hedera-web/locale/ca/{modules => forms/admin}/users.json (100%) rename package/usr/share/hedera-web/locale/ca/{modules => forms/admin}/visits.json (100%) create mode 100755 package/usr/share/hedera-web/locale/ca/forms/agencies/packages.json create mode 100755 package/usr/share/hedera-web/locale/ca/forms/agencies/provinces.json rename package/usr/share/hedera-web/locale/ca/{modules => forms/cms}/about.json (100%) rename package/usr/share/hedera-web/locale/ca/{modules => forms/cms}/contact.json (100%) rename package/usr/share/hedera-web/locale/ca/{modules => forms/cms}/home.json (100%) rename package/usr/share/hedera-web/locale/ca/{modules => forms/cms}/location.json (100%) rename package/usr/share/hedera-web/locale/ca/{modules => forms/cms}/why.json (100%) rename package/usr/share/hedera-web/locale/ca/{modules => forms/ecomerce}/catalog.json (100%) rename package/usr/share/hedera-web/locale/ca/{modules => forms/ecomerce}/order.json (100%) rename package/usr/share/hedera-web/locale/ca/{modules => forms/ecomerce}/orders.json (100%) rename package/usr/share/hedera-web/locale/ca/{modules => forms/ecomerce}/ticket.json (100%) rename package/usr/share/hedera-web/locale/ca/{modules => forms/news}/new.json (100%) rename package/usr/share/hedera-web/locale/ca/{modules => forms/news}/news.json (100%) delete mode 100755 package/usr/share/hedera-web/locale/ca/modules/agencies.json rename package/usr/share/hedera-web/locale/es/{modules => forms}/account.json (83%) rename package/usr/share/hedera-web/locale/es/{modules => forms/admin}/access.json (100%) rename package/usr/share/hedera-web/locale/es/{modules => forms/admin}/links.json (100%) rename package/usr/share/hedera-web/locale/es/{modules => forms/admin}/users.json (100%) rename package/usr/share/hedera-web/locale/es/{modules => forms/admin}/visits.json (100%) create mode 100755 package/usr/share/hedera-web/locale/es/forms/agencies/packages.json create mode 100755 package/usr/share/hedera-web/locale/es/forms/agencies/provinces.json rename package/usr/share/hedera-web/locale/es/{modules => forms/cms}/about.json (100%) rename package/usr/share/hedera-web/locale/es/{modules => forms/cms}/contact.json (100%) rename package/usr/share/hedera-web/locale/es/{modules => forms/cms}/home.json (100%) rename package/usr/share/hedera-web/locale/es/{modules => forms/cms}/location.json (100%) rename package/usr/share/hedera-web/locale/es/{modules => forms/cms}/why.json (100%) rename package/usr/share/hedera-web/locale/es/{modules => forms/ecomerce}/catalog.json (100%) rename package/usr/share/hedera-web/locale/es/{modules => forms/ecomerce}/order.json (100%) rename package/usr/share/hedera-web/locale/es/{modules => forms/ecomerce}/orders.json (100%) rename package/usr/share/hedera-web/locale/es/{modules => forms/ecomerce}/ticket.json (100%) rename package/usr/share/hedera-web/locale/es/{modules => forms/news}/new.json (100%) rename package/usr/share/hedera-web/locale/es/{modules => forms/news}/news.json (100%) delete mode 100755 package/usr/share/hedera-web/locale/es/modules/agencies.json rename package/usr/share/hedera-web/locale/fr/{modules => forms}/account.json (85%) rename package/usr/share/hedera-web/locale/fr/{modules => forms/admin}/access.json (100%) rename package/usr/share/hedera-web/locale/fr/{modules => forms/admin}/links.json (100%) rename package/usr/share/hedera-web/locale/fr/{modules => forms/admin}/users.json (100%) rename package/usr/share/hedera-web/locale/fr/{modules => forms/admin}/visits.json (100%) create mode 100755 package/usr/share/hedera-web/locale/fr/forms/agencies/packages.json create mode 100755 package/usr/share/hedera-web/locale/fr/forms/agencies/provinces.json rename package/usr/share/hedera-web/locale/fr/{modules => forms/cms}/about.json (100%) rename package/usr/share/hedera-web/locale/fr/{modules => forms/cms}/contact.json (100%) rename package/usr/share/hedera-web/locale/fr/{modules => forms/cms}/home.json (100%) rename package/usr/share/hedera-web/locale/fr/{modules => forms/cms}/location.json (100%) rename package/usr/share/hedera-web/locale/fr/{modules => forms/cms}/why.json (100%) rename package/usr/share/hedera-web/locale/fr/{modules => forms/ecomerce}/catalog.json (100%) rename package/usr/share/hedera-web/locale/fr/{modules => forms/ecomerce}/order.json (100%) rename package/usr/share/hedera-web/locale/fr/{modules => forms/ecomerce}/orders.json (100%) rename package/usr/share/hedera-web/locale/fr/{modules => forms/ecomerce}/ticket.json (100%) rename package/usr/share/hedera-web/locale/fr/{modules => forms/news}/new.json (100%) rename package/usr/share/hedera-web/locale/fr/{modules => forms/news}/news.json (100%) delete mode 100755 package/usr/share/hedera-web/locale/fr/modules/agencies.json delete mode 100755 package/usr/share/hedera-web/module.php delete mode 100755 package/usr/share/hedera-web/modules/about/html.php delete mode 100755 package/usr/share/hedera-web/modules/account/html.php delete mode 100755 package/usr/share/hedera-web/modules/account/style.css delete mode 100755 package/usr/share/hedera-web/modules/agencies/html.php delete mode 100755 package/usr/share/hedera-web/modules/agencies/style.css delete mode 100755 package/usr/share/hedera-web/modules/contact/html.php delete mode 100755 package/usr/share/hedera-web/modules/contact/style.css delete mode 100755 package/usr/share/hedera-web/modules/links/html.php delete mode 100755 package/usr/share/hedera-web/modules/links/style.css delete mode 100755 package/usr/share/hedera-web/modules/location/style.css delete mode 100755 package/usr/share/hedera-web/modules/why/html.php delete mode 100755 package/usr/share/hedera-web/modules/why/style.css create mode 100644 package/usr/share/hedera-web/pages/login/background.png diff --git a/configure.php b/configure.php index c91697ac..1331b060 100644 --- a/configure.php +++ b/configure.php @@ -3,6 +3,7 @@ namespace Vn\Hedera; require_once (__DIR__.'/../php-vn-web/configure.php'); +require_once (__DIR__.'/../vn-image/configure.php'); set_include_path ( diff --git a/package/DEBIAN/control b/package/DEBIAN/control index 0c19400b..f0570dfa 100644 --- a/package/DEBIAN/control +++ b/package/DEBIAN/control @@ -1,8 +1,8 @@ Package: hedera-web -Version: 1.0-19 +Version: 1.0-24 Architecture: all Maintainer: Juan Ferrer Toribio -Depends: apache2, php5-mysql +Depends: apache2, php5-mysql, php-vn-web Section: misc Priority: optional Description: Verdnatura's web page diff --git a/package/usr/share/hedera-web/form.php b/package/usr/share/hedera-web/form.php new file mode 100755 index 00000000..43358735 --- /dev/null +++ b/package/usr/share/hedera-web/form.php @@ -0,0 +1,24 @@ + diff --git a/package/usr/share/hedera-web/modules/account/account.js b/package/usr/share/hedera-web/forms/account/account.js similarity index 100% rename from package/usr/share/hedera-web/modules/account/account.js rename to package/usr/share/hedera-web/forms/account/account.js diff --git a/package/usr/share/hedera-web/forms/account/html.php b/package/usr/share/hedera-web/forms/account/html.php new file mode 100755 index 00000000..a51f98e4 --- /dev/null +++ b/package/usr/share/hedera-web/forms/account/html.php @@ -0,0 +1,37 @@ +
+
+ + + + SELECT id, u.name, password, email, mail, c.user_id + FROM user_view u + LEFT JOIN customer_view c + ON u.id = c.user_id + + + +

+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
diff --git a/package/usr/share/hedera-web/forms/account/style.css b/package/usr/share/hedera-web/forms/account/style.css new file mode 100755 index 00000000..2799dd8e --- /dev/null +++ b/package/usr/share/hedera-web/forms/account/style.css @@ -0,0 +1,34 @@ + +#account +{ + margin: 1em; +} +#account .box +{ + max-width: 40em; + padding: 2em; +} +#account div.form +{ + margin: 0 auto; + max-width: 25em; +} +div.form-group +{ + padding: 0.4em; +} +div.form-group label +{ + display: block; + margin-bottom: 0.5em; +} +div.form-group input[type=text], +div.form-group input[type=password] +{ + margin: 0; + width: 100%; +} +div.form-group input[type=password] +{ + margin-bottom: 0.5em; +} diff --git a/package/usr/share/hedera-web/modules/access/access.js b/package/usr/share/hedera-web/forms/admin/access/access.js similarity index 100% rename from package/usr/share/hedera-web/modules/access/access.js rename to package/usr/share/hedera-web/forms/admin/access/access.js diff --git a/package/usr/share/hedera-web/modules/access/html.php b/package/usr/share/hedera-web/forms/admin/access/html.php similarity index 100% rename from package/usr/share/hedera-web/modules/access/html.php rename to package/usr/share/hedera-web/forms/admin/access/html.php diff --git a/package/usr/share/hedera-web/modules/access/style.css b/package/usr/share/hedera-web/forms/admin/access/style.css similarity index 100% rename from package/usr/share/hedera-web/modules/access/style.css rename to package/usr/share/hedera-web/forms/admin/access/style.css diff --git a/package/usr/share/hedera-web/forms/admin/links/html.php b/package/usr/share/hedera-web/forms/admin/links/html.php new file mode 100755 index 00000000..26c25bed --- /dev/null +++ b/package/usr/share/hedera-web/forms/admin/links/html.php @@ -0,0 +1,13 @@ +
+
+ + + SELECT image, name, description, link FROM link + ORDER BY name + + + + + +
+
diff --git a/package/usr/share/hedera-web/modules/links/links.js b/package/usr/share/hedera-web/forms/admin/links/links.js similarity index 100% rename from package/usr/share/hedera-web/modules/links/links.js rename to package/usr/share/hedera-web/forms/admin/links/links.js diff --git a/package/usr/share/hedera-web/forms/admin/links/style.css b/package/usr/share/hedera-web/forms/admin/links/style.css new file mode 100755 index 00000000..62b7023b --- /dev/null +++ b/package/usr/share/hedera-web/forms/admin/links/style.css @@ -0,0 +1,14 @@ + +#cpanel +{ + margin: 1em; +} +#cpanel .box +{ + max-width: 60em; + padding: 2em; +} +#cpanel tbody tr +{ + height: 3.5em; +} diff --git a/package/usr/share/hedera-web/modules/users/html.php b/package/usr/share/hedera-web/forms/admin/users/html.php similarity index 100% rename from package/usr/share/hedera-web/modules/users/html.php rename to package/usr/share/hedera-web/forms/admin/users/html.php diff --git a/package/usr/share/hedera-web/modules/users/style.css b/package/usr/share/hedera-web/forms/admin/users/style.css similarity index 100% rename from package/usr/share/hedera-web/modules/users/style.css rename to package/usr/share/hedera-web/forms/admin/users/style.css diff --git a/package/usr/share/hedera-web/modules/users/users.js b/package/usr/share/hedera-web/forms/admin/users/users.js similarity index 100% rename from package/usr/share/hedera-web/modules/users/users.js rename to package/usr/share/hedera-web/forms/admin/users/users.js diff --git a/package/usr/share/hedera-web/modules/visits/html.php b/package/usr/share/hedera-web/forms/admin/visits/html.php similarity index 100% rename from package/usr/share/hedera-web/modules/visits/html.php rename to package/usr/share/hedera-web/forms/admin/visits/html.php diff --git a/package/usr/share/hedera-web/modules/visits/style.css b/package/usr/share/hedera-web/forms/admin/visits/style.css similarity index 100% rename from package/usr/share/hedera-web/modules/visits/style.css rename to package/usr/share/hedera-web/forms/admin/visits/style.css diff --git a/package/usr/share/hedera-web/modules/visits/visits.js b/package/usr/share/hedera-web/forms/admin/visits/visits.js similarity index 100% rename from package/usr/share/hedera-web/modules/visits/visits.js rename to package/usr/share/hedera-web/forms/admin/visits/visits.js diff --git a/package/usr/share/hedera-web/forms/agencies/packages/html.php b/package/usr/share/hedera-web/forms/agencies/packages/html.php new file mode 100755 index 00000000..7eaa1268 --- /dev/null +++ b/package/usr/share/hedera-web/forms/agencies/packages/html.php @@ -0,0 +1,15 @@ +
+
+

+ + + CALL vn2008.agencia_volume () + + + + + + + +
+
diff --git a/package/usr/share/hedera-web/modules/agencies/agencies.js b/package/usr/share/hedera-web/forms/agencies/packages/packages.js similarity index 63% rename from package/usr/share/hedera-web/modules/agencies/agencies.js rename to package/usr/share/hedera-web/forms/agencies/packages/packages.js index d40a9bca..76bba154 100755 --- a/package/usr/share/hedera-web/modules/agencies/agencies.js +++ b/package/usr/share/hedera-web/forms/agencies/packages/packages.js @@ -1,5 +1,5 @@ -Vn.Agencies = new Class +Vn.Packages = new Class ({ Extends: Vn.Module @@ -10,7 +10,10 @@ Vn.Agencies = new Class ,onShowClick: function (column, agencyId) { - this.get ('agency-id').value = agencyId; + this.hash.set ({ + 'form': 'agencies/provinces', + 'agency': agencyId + }); } }); diff --git a/package/usr/share/hedera-web/forms/agencies/packages/style.css b/package/usr/share/hedera-web/forms/agencies/packages/style.css new file mode 100755 index 00000000..491befd2 --- /dev/null +++ b/package/usr/share/hedera-web/forms/agencies/packages/style.css @@ -0,0 +1,14 @@ +#packages +{ + margin: 1em; +} +#packages .box +{ + max-width: 50em; + margin: 0 auto; + padding: 2em; +} +#packages table.grid +{ + position: relative +} diff --git a/package/usr/share/hedera-web/forms/agencies/provinces/html.php b/package/usr/share/hedera-web/forms/agencies/provinces/html.php new file mode 100755 index 00000000..e23e386f --- /dev/null +++ b/package/usr/share/hedera-web/forms/agencies/provinces/html.php @@ -0,0 +1,21 @@ +
+
+ + + +

+ + + + CALL vn2008.desglose_volume (#agency) + + + + + + + + + +
+
diff --git a/package/usr/share/hedera-web/forms/agencies/provinces/provinces.js b/package/usr/share/hedera-web/forms/agencies/provinces/provinces.js new file mode 100755 index 00000000..7e4d9d01 --- /dev/null +++ b/package/usr/share/hedera-web/forms/agencies/provinces/provinces.js @@ -0,0 +1,8 @@ + +Vn.Provinces = new Class +({ + Extends: Vn.Module + + ,activate: function () {} +}); + diff --git a/package/usr/share/hedera-web/forms/agencies/provinces/style.css b/package/usr/share/hedera-web/forms/agencies/provinces/style.css new file mode 100755 index 00000000..6c8cd1c9 --- /dev/null +++ b/package/usr/share/hedera-web/forms/agencies/provinces/style.css @@ -0,0 +1,14 @@ +#provinces +{ + margin: 1em; +} +#provinces .box +{ + max-width: 50em; + margin: 0 auto; + padding: 2em; +} +#provinces table.grid +{ + position: relative +} diff --git a/package/usr/share/hedera-web/modules/about/about.js b/package/usr/share/hedera-web/forms/cms/about/about.js similarity index 100% rename from package/usr/share/hedera-web/modules/about/about.js rename to package/usr/share/hedera-web/forms/cms/about/about.js diff --git a/package/usr/share/hedera-web/forms/cms/about/html.php b/package/usr/share/hedera-web/forms/cms/about/html.php new file mode 100755 index 00000000..db485fb1 --- /dev/null +++ b/package/usr/share/hedera-web/forms/cms/about/html.php @@ -0,0 +1,85 @@ +
+
+
+

+

+

+ store +

+

+ trailer +

+ dealer + +

+ palletizing +
+
+

+

+ differentiates_us +

+

+
+
+

+

+ commercial +
+
+

+

+ training +

+ courses +

+ youtube +
+
+

+

+ auction +

+ producers +

+

+ goods_transport +

+ + glass +

+ goods_receive +

+ 2_control +

+

+ + glass +

+

+ web +

+ 4_control +

+ + glass +

+

+

+ + glass +

+

+ fit +

+ agencies +

+
+
+

+ + logo_small +

+
+
+
diff --git a/package/usr/share/hedera-web/modules/about/image/2_control.png b/package/usr/share/hedera-web/forms/cms/about/image/2_control.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/2_control.png rename to package/usr/share/hedera-web/forms/cms/about/image/2_control.png diff --git a/package/usr/share/hedera-web/modules/about/image/4_control.png b/package/usr/share/hedera-web/forms/cms/about/image/4_control.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/4_control.png rename to package/usr/share/hedera-web/forms/cms/about/image/4_control.png diff --git a/package/usr/share/hedera-web/modules/about/image/agencies.png b/package/usr/share/hedera-web/forms/cms/about/image/agencies.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/agencies.png rename to package/usr/share/hedera-web/forms/cms/about/image/agencies.png diff --git a/package/usr/share/hedera-web/modules/about/image/auction.png b/package/usr/share/hedera-web/forms/cms/about/image/auction.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/auction.png rename to package/usr/share/hedera-web/forms/cms/about/image/auction.png diff --git a/package/usr/share/hedera-web/modules/about/image/commercial.png b/package/usr/share/hedera-web/forms/cms/about/image/commercial.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/commercial.png rename to package/usr/share/hedera-web/forms/cms/about/image/commercial.png diff --git a/package/usr/share/hedera-web/modules/about/image/courses.png b/package/usr/share/hedera-web/forms/cms/about/image/courses.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/courses.png rename to package/usr/share/hedera-web/forms/cms/about/image/courses.png diff --git a/package/usr/share/hedera-web/modules/about/image/dealer.png b/package/usr/share/hedera-web/forms/cms/about/image/dealer.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/dealer.png rename to package/usr/share/hedera-web/forms/cms/about/image/dealer.png diff --git a/package/usr/share/hedera-web/modules/about/image/differentiates_us.png b/package/usr/share/hedera-web/forms/cms/about/image/differentiates_us.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/differentiates_us.png rename to package/usr/share/hedera-web/forms/cms/about/image/differentiates_us.png diff --git a/package/usr/share/hedera-web/modules/about/image/fit.png b/package/usr/share/hedera-web/forms/cms/about/image/fit.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/fit.png rename to package/usr/share/hedera-web/forms/cms/about/image/fit.png diff --git a/package/usr/share/hedera-web/modules/about/image/glass.png b/package/usr/share/hedera-web/forms/cms/about/image/glass.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/glass.png rename to package/usr/share/hedera-web/forms/cms/about/image/glass.png diff --git a/package/usr/share/hedera-web/modules/about/image/goods_receive.png b/package/usr/share/hedera-web/forms/cms/about/image/goods_receive.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/goods_receive.png rename to package/usr/share/hedera-web/forms/cms/about/image/goods_receive.png diff --git a/package/usr/share/hedera-web/modules/about/image/goods_transport.png b/package/usr/share/hedera-web/forms/cms/about/image/goods_transport.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/goods_transport.png rename to package/usr/share/hedera-web/forms/cms/about/image/goods_transport.png diff --git a/package/usr/share/hedera-web/modules/about/image/palletizing.png b/package/usr/share/hedera-web/forms/cms/about/image/palletizing.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/palletizing.png rename to package/usr/share/hedera-web/forms/cms/about/image/palletizing.png diff --git a/package/usr/share/hedera-web/modules/about/image/producers.png b/package/usr/share/hedera-web/forms/cms/about/image/producers.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/producers.png rename to package/usr/share/hedera-web/forms/cms/about/image/producers.png diff --git a/package/usr/share/hedera-web/modules/about/image/store.png b/package/usr/share/hedera-web/forms/cms/about/image/store.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/store.png rename to package/usr/share/hedera-web/forms/cms/about/image/store.png diff --git a/package/usr/share/hedera-web/modules/about/image/summary.png b/package/usr/share/hedera-web/forms/cms/about/image/summary.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/summary.png rename to package/usr/share/hedera-web/forms/cms/about/image/summary.png diff --git a/package/usr/share/hedera-web/modules/about/image/trailer.png b/package/usr/share/hedera-web/forms/cms/about/image/trailer.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/trailer.png rename to package/usr/share/hedera-web/forms/cms/about/image/trailer.png diff --git a/package/usr/share/hedera-web/modules/about/image/training.png b/package/usr/share/hedera-web/forms/cms/about/image/training.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/training.png rename to package/usr/share/hedera-web/forms/cms/about/image/training.png diff --git a/package/usr/share/hedera-web/modules/about/image/web.png b/package/usr/share/hedera-web/forms/cms/about/image/web.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/web.png rename to package/usr/share/hedera-web/forms/cms/about/image/web.png diff --git a/package/usr/share/hedera-web/modules/about/image/youtube.png b/package/usr/share/hedera-web/forms/cms/about/image/youtube.png similarity index 100% rename from package/usr/share/hedera-web/modules/about/image/youtube.png rename to package/usr/share/hedera-web/forms/cms/about/image/youtube.png diff --git a/package/usr/share/hedera-web/modules/about/style.css b/package/usr/share/hedera-web/forms/cms/about/style.css similarity index 54% rename from package/usr/share/hedera-web/modules/about/style.css rename to package/usr/share/hedera-web/forms/cms/about/style.css index 5cffb31e..b35a31b5 100755 --- a/package/usr/share/hedera-web/modules/about/style.css +++ b/package/usr/share/hedera-web/forms/cms/about/style.css @@ -1,60 +1,56 @@ + #about { - position: relative; - max-width: 50em; - display: block; - margin: 0px auto; + margin: 1em; } -#about h1 +#about .box { - text-align: center; - font-size: 20px; - font-weight: normal; - margin: 20px 0px; - background-color: #F91; - border: #D70 solid 1px; - border-radius: 2px; + max-width: 50em; + margin: 0 auto; + padding: 2em; } #about h2 { text-align: center; - font-size: 15px; - margin: 15px; + font-size: 1.2em; + font-weight: normal; + margin: 1em; } #about h3 { text-align: center; - font-size: 16px; + font-size: 1.2em; + font-weight: normal; + margin: 1em; color: #4A1; - margin: 15px; } #about p { width: 90%; - font-size: 15px; display: block; - margin: 20px auto; + margin: 1em auto; } #about p.summary { - width: 370px; + max-width: 30em; text-align: center; - font-weight: bold; background-color: #FF8; - padding: 30px; - border: #DD6 solid 1px; - border-radius: 2px; - margin: 40px auto; + padding: 1.5em; + border-radius: 0.1em; + box-shadow: 0 0.2em 0.2em #AAA; + margin: 0 auto; + margin-top: 2em; } /* Images */ #about img { + max-width: 90%; text-align: center; - padding: 15px; + padding: 1em; display: block; - margin: 0px auto; + margin: 0 auto; } #about img[alt="producers"], #about img[alt="4_control"], @@ -70,13 +66,13 @@ #about img[alt="glass"] { display: inline; - padding: 0px; - padding-left: 10px; + padding: 0; + padding-left: 0.9em; vertical-align: middle; } #about img[alt="logo_small"] { padding: 0px; - padding-top: 30px; + padding-top: 2.5em; } diff --git a/package/usr/share/hedera-web/modules/contact/IndieFlower.ttf b/package/usr/share/hedera-web/forms/cms/contact/IndieFlower.ttf similarity index 100% rename from package/usr/share/hedera-web/modules/contact/IndieFlower.ttf rename to package/usr/share/hedera-web/forms/cms/contact/IndieFlower.ttf diff --git a/package/usr/share/hedera-web/modules/contact/captcha.php b/package/usr/share/hedera-web/forms/cms/contact/captcha.php similarity index 100% rename from package/usr/share/hedera-web/modules/contact/captcha.php rename to package/usr/share/hedera-web/forms/cms/contact/captcha.php diff --git a/package/usr/share/hedera-web/modules/contact/contact.js b/package/usr/share/hedera-web/forms/cms/contact/contact.js similarity index 92% rename from package/usr/share/hedera-web/modules/contact/contact.js rename to package/usr/share/hedera-web/forms/cms/contact/contact.js index 24e5b88a..0afb52ec 100755 --- a/package/usr/share/hedera-web/modules/contact/contact.js +++ b/package/usr/share/hedera-web/forms/cms/contact/contact.js @@ -14,8 +14,8 @@ Vn.Contact = new Class ,refreshCaptcha: function () { - var url = 'modules/contact/captcha.php'; - Vn.get ('captcha').src = url +'?'+ new Date ().getTime (); + var url = 'forms/cms/contact/captcha.php'; + Vn.get ('captcha-img').src = url +'?'+ new Date ().getTime (); } ,onSubmit: function () diff --git a/package/usr/share/hedera-web/forms/cms/contact/html.php b/package/usr/share/hedera-web/forms/cms/contact/html.php new file mode 100755 index 00000000..73ab4308 --- /dev/null +++ b/package/usr/share/hedera-web/forms/cms/contact/html.php @@ -0,0 +1,58 @@ +
+
+

+ +

+

+ +

+

+ +

+
+
+ + +
+
+ + +
+
+ + +
+
+ +