Commit 5a46cb9a authored by Skirmantas's avatar Skirmantas

Merge branch 'master' into design

parents d5199fad a8456448
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAzetqNBji64xs7wZ2t4rji78aKdTgrjhYQ2RJz9q/zQ1EvwGi9DTmU/ASeR0Y
3sKh/kHEQyDS07/0LnYM9iKp8gUCTiKd+ehOIKoXp3pcTq/6BPu6TplsXToGmvKS1YiNpSRaW2VA
1vt429TOZcOEEvyFbm3E71G8/ebcgZpnOP/Bo4ubEVpH9jyXSdDmr62SumhU5z6dPUv9WzZvE0Vl
t3+LUZetFm8mk8Gz+j5WAhUKdZt7Ud68iPnHSHFN9g/C4pWkjUiuJqUbq1WU4J1jYtuRz77I2JaT
NA6mAMn48+oz8ZmlzCGGBzjb9mITfKmngUc9AeIZ+O7sKAQE09tuXQIDAQABAoIBAAqrnEE+2ONj
z3FDYHt6Uvg22uA4C7x7Zvd3BuwiZbX2bg2HxC3rX9QRqKNmApfodgR62/Suir42QCz4KQvIGA5W
fBwYZx9ADmxa5AblrErXi5kegjT4dkkObLEyyLEP9mcMTzJVONrrBQQ/LsLPMtTZCQED5ySPk7+E
awC8Q4UMg9z4+Dbpcduy1wDNWiOIXOVxgbQHQwC4lVej8EX/DCmkdC8N0xr7/R9D4lg1WEAfLMcu
r2fjrL0nHoXL93pzzNhHlBp8Ax6j28mrUktDdfOL3lKWhUUtsf6581K/fqA1Mw2FK+j4Cq3fkl5u
HxT0bSnjq34IvAISmTUjNss1L4ECgYEA9rJeiecl7lMMq+Gouo+oRcuuM4GpPwfDtssAZqqlbBzp
9KB1eNIMMWnq5Pd3O5vtikeGDPFLlzyRennJNfmI7k6+aGYQL+bRcPd5prlKq8UAfaCTVg4JOTHO
ex4uJ0ZIMeZp6UjfkoRNXILSLGaGbs99dTx3j6dETK19qrb4UQUCgYEA1a9hJHjHcHe2zUfdxiQN
tgff4t0392NlcapZBFfKVALeHrg4DZwzTsZCCEt4Xm8+WWgEpt78VS32pbCeDAtbKU1AI5LbzVoj
Fokb25C6DQZZlMC+6Gk8TVAMwLGMVl/Z2NSXqCYWjqfWrIe6TfpvDDHgSoHbKLZ7o2sdbKAOB3kC
gYEApZLd5MyhJq3S6WHRbzWQCRhFWQiDYWyCrSLeqAmMcV2OoMM5VNgVmuyt3PNCsV1cNtz+WZ1x
0JW0RnGK3JEYmGl9XnByGNRgaeOPYJkoRtU4GRk3CiDti9ej7/o3m+CN///Xwd1JQPtPOPIMwgQl
4iWc3Jyy2lW3f4dJutSHIUkCgYEAy/p+YLJqr5GXjp3rthj0fa9GqOlDY4QeckKKdvrWyRtzrR9t
YpCY6bmXjxN786l9exswVZrGhQk7SS8vr4+nleWING0cJQrGM9zuGsos0AIfwT+8/V53kdW4Vrkl
nc4hxjoqCvlQzxyocEmgLo/BMYLq+DS9YD/SBk1Z6TdgLQECgYBj7eQzAr34H/VfU4c1s/w69zhl
UUV04p1gHroZ8Cl4ccw9rwnbFET5p3KJuRXyoNXbIQv27NEIYUqdiD0JKMh1qp+D9aYsSBEjXdZK
eWmO+cgOIPHurFTbQkAokKiZY82fVnquB1J6H/JE1tNLPDKk9ODawiZHx2h7Fm1WmiVtvw==
-----END RSA PRIVATE KEY-----
PuTTY-User-Key-File-2: ssh-rsa
Encryption: aes256-cbc
Comment: imported-openssh-key
Public-Lines: 6
AAAAB3NzaC1yc2EAAAADAQABAAABAQDN62o0GOLrjGzvBna3iuOLvxop1OCuOFhD
ZEnP2r/NDUS/AaL0NOZT8BJ5HRjewqH+QcRDINLTv/Qudgz2IqnyBQJOIp356E4g
qhenelxOr/oE+7pOmWxdOgaa8pLViI2lJFpbZUDW+3jb1M5lw4QS/IVubcTvUbz9
5tyBmmc4/8Gji5sRWkf2PJdJ0OavrZK6aFTnPp09S/1bNm8TRWW3f4tRl60WbyaT
wbP6PlYCFQp1m3tR3ryI+cdIcU32D8LilaSNSK4mpRurVZTgnWNi25HPvsjYlpM0
DqYAyfjz6jPxmaXMIYYHONv2YhN8qaeBRz0B4hn47uwoBATT225d
Private-Lines: 14
BlKry36tkpFpXcyX9r/kMEVOHARF75awrdl2O16K4pCKdidYr6gFkmMcIXviBLHz
M1eVDtZ8IZitQw9c6fKtabxM2QWXHK7c/WTX2CVr7Yp88kA2jVpHPz61a+YefSGA
eyV/sCzjzf9Rk+95aC6BmlZNOEXEjNvLkuD40/ORf73/N3OKsGOSiMJPGadLgwTA
KgiMBS2JaH30RL+Q82/L3GWPrRoDSr5oEYo6is5C3RCdzYPa3mB657T5Uxsufm3x
GLCYAhbRQWea/PAqNBl92iu4S9wG4w60pOpGAkgGGVa6lauQAU7C4OXhUtD6XdaV
Brb0+KRrtZ7ZIZ/13r4okoBS4a1w1zDBTlwX8+JKt/8pR0aXgNXrxUyyDR5Qi9/p
OzEX2tL6ZYn8XZZsiAcRlpnBS9lkwkY7Mt5K3wonRSJEJ981cz6a8dL51KhUxU2z
/eFcEAKUF243saKh0Hd/4LWnTH8LseNZWtrJpoRo1YXOeV++LDFWbiatkUL87/K6
dr3FXhBT+qpFByyWBzZNqL+5M3E9YIdYNoo0dr18lkKsBbyy5LRS8QMKljiqchOR
SQgasmI1rgOC/0PHwiu2lXF1AK7cbreKCky1I0HLZRPei+jaNlzTJ/bekb/RAWl6
f3gvpHjYgjr99zGAuk9e9a1jRIb7Q6EvwMwJN+ePqlj9M/BxrJZ8f8Bav4k9Gj41
JIPDUiiSwX9CjfgB9HOFHewJtGAofcAjm2WQFBHkCgWYStBQKJXpaDjOtP7WDOIv
pAAF/pvcFqgeLcHuA5uU9e/jnTvF9XTjdJAbIXRFvykPxNGdI3a79Z7v0oTDCscr
HXzEuxMfDKINBfOFE/TXnHnXEFS3ktcYXls/i9M12SnyHW4oxrl6VIBRf9dWqP/B
Private-MAC: a6d61bcbb141b3f7d2dd0d92f404d7f1e0e4dfa7
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAzetqNBji64xs7wZ2t4rji78aKdTgrjhYQ2RJz9q/zQ1EvwGi9DTmU/ASeR0Y
3sKh/kHEQyDS07/0LnYM9iKp8gUCTiKd+ehOIKoXp3pcTq/6BPu6TplsXToGmvKS1YiNpSRaW2VA
1vt429TOZcOEEvyFbm3E71G8/ebcgZpnOP/Bo4ubEVpH9jyXSdDmr62SumhU5z6dPUv9WzZvE0Vl
t3+LUZetFm8mk8Gz+j5WAhUKdZt7Ud68iPnHSHFN9g/C4pWkjUiuJqUbq1WU4J1jYtuRz77I2JaT
NA6mAMn48+oz8ZmlzCGGBzjb9mITfKmngUc9AeIZ+O7sKAQE09tuXQIDAQABAoIBAAqrnEE+2ONj
z3FDYHt6Uvg22uA4C7x7Zvd3BuwiZbX2bg2HxC3rX9QRqKNmApfodgR62/Suir42QCz4KQvIGA5W
fBwYZx9ADmxa5AblrErXi5kegjT4dkkObLEyyLEP9mcMTzJVONrrBQQ/LsLPMtTZCQED5ySPk7+E
awC8Q4UMg9z4+Dbpcduy1wDNWiOIXOVxgbQHQwC4lVej8EX/DCmkdC8N0xr7/R9D4lg1WEAfLMcu
r2fjrL0nHoXL93pzzNhHlBp8Ax6j28mrUktDdfOL3lKWhUUtsf6581K/fqA1Mw2FK+j4Cq3fkl5u
HxT0bSnjq34IvAISmTUjNss1L4ECgYEA9rJeiecl7lMMq+Gouo+oRcuuM4GpPwfDtssAZqqlbBzp
9KB1eNIMMWnq5Pd3O5vtikeGDPFLlzyRennJNfmI7k6+aGYQL+bRcPd5prlKq8UAfaCTVg4JOTHO
ex4uJ0ZIMeZp6UjfkoRNXILSLGaGbs99dTx3j6dETK19qrb4UQUCgYEA1a9hJHjHcHe2zUfdxiQN
tgff4t0392NlcapZBFfKVALeHrg4DZwzTsZCCEt4Xm8+WWgEpt78VS32pbCeDAtbKU1AI5LbzVoj
Fokb25C6DQZZlMC+6Gk8TVAMwLGMVl/Z2NSXqCYWjqfWrIe6TfpvDDHgSoHbKLZ7o2sdbKAOB3kC
gYEApZLd5MyhJq3S6WHRbzWQCRhFWQiDYWyCrSLeqAmMcV2OoMM5VNgVmuyt3PNCsV1cNtz+WZ1x
0JW0RnGK3JEYmGl9XnByGNRgaeOPYJkoRtU4GRk3CiDti9ej7/o3m+CN///Xwd1JQPtPOPIMwgQl
4iWc3Jyy2lW3f4dJutSHIUkCgYEAy/p+YLJqr5GXjp3rthj0fa9GqOlDY4QeckKKdvrWyRtzrR9t
YpCY6bmXjxN786l9exswVZrGhQk7SS8vr4+nleWING0cJQrGM9zuGsos0AIfwT+8/V53kdW4Vrkl
nc4hxjoqCvlQzxyocEmgLo/BMYLq+DS9YD/SBk1Z6TdgLQECgYBj7eQzAr34H/VfU4c1s/w69zhl
UUV04p1gHroZ8Cl4ccw9rwnbFET5p3KJuRXyoNXbIQv27NEIYUqdiD0JKMh1qp+D9aYsSBEjXdZK
eWmO+cgOIPHurFTbQkAokKiZY82fVnquB1J6H/JE1tNLPDKk9ODawiZHx2h7Fm1WmiVtvw==
-----END RSA PRIVATE KEY-----
...@@ -112,10 +112,10 @@ Can't share C drive ...@@ -112,10 +112,10 @@ Can't share C drive
- docker load --input ourdemo.tar - docker load --input ourdemo.tar
- docker build -t biuro/web:0.0.10 . - docker build -t biuro/web:0.0.13 .
- docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs - docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs
- sudo docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs - sudo docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs
- docker push biuro/web:0.0.9 - docker push biuro/web:0.0.13
- sudo chown -R www-data:www-data wordpress/wp-content/plugins - sudo chown -R www-data:www-data wordpress/wp-content/plugins
......
...@@ -147,13 +147,15 @@ services: ...@@ -147,13 +147,15 @@ services:
wp core update --force; wp core update --force;
wp core update-db --network; wp core update-db --network;
wp option update permalink_structure "/%postname%/" --skip-themes --skip-plugins; wp option update permalink_structure "/%postname%/" --skip-themes --skip-plugins;
wp option update timezone_string "Manual Offsets/UTC+2"; # wp option update timezone_string "Manual Offsets/UTC+2";
wp option update date_format "Y-m-d"; # wp option update date_format "Y-m-d";
wp option update time_format "H:i"; wp option update time_format "H:i";
wp plugin install permalink-manager --force --activate-network; # wp plugin install permalink-manager --force --activate-network;
wp plugin install pods --activate-network; wp plugin install pods --activate-network;
wp plugin install polylang --activate-network; wp plugin install polylang --activate-network;
wp plugin install wordpress-seo --activate-network; wp plugin install wordpress-seo --activate-network;
wp plugin install loco-translate --activate-network;
wp plugin install google-sitemap-generator --activate-network;
wp plugin update --all; wp plugin update --all;
wp plugin activate akismet --network; wp plugin activate akismet --network;
wp plugin activate biuro-contacts --network; wp plugin activate biuro-contacts --network;
......
...@@ -23,7 +23,6 @@ location /wp-json/api/v1/contacts { ...@@ -23,7 +23,6 @@ location /wp-json/api/v1/contacts {
try_files $uri $uri/ /index.php?$args; try_files $uri $uri/ /index.php?$args;
auth_basic "Basic auth"; auth_basic "Basic auth";
auth_basic_user_file /etc/nginx/.htpasswd; auth_basic_user_file /etc/nginx/.htpasswd;
# auth_basic_user_file /var/www/html/.htpasswd;
} }
location ~ \.php$ { location ~ \.php$ {
......
...@@ -5,6 +5,42 @@ ...@@ -5,6 +5,42 @@
# rewrite ^/darbo-pasiulymai$ / permanent; # rewrite ^/darbo-pasiulymai$ / permanent;
# rewrite ^/darbo-pasiulymai/(.*)$ /? permanent; # rewrite ^/darbo-pasiulymai/(.*)$ /? permanent;
# rewrite ^/darbo-pasiulymai/?type=$ /contacts/job-seekers/ permanent;
location ^~ /darbo-pasiulymai/ {
try_files $uri $uri/ /index.php?$args;
if ($args ~* "/?start=0") { rewrite ^ /darbo-pasiulymai/? permanent; }
if ($args ~* "/?start=9") { rewrite ^ /darbo-pasiulymai/? permanent; }
if ($args ~* "/?start=18") { rewrite ^ /darbo-pasiulymai/?pg=2? permanent; }
if ($args ~* "/?start=27") { rewrite ^ /darbo-pasiulymai/?pg=2? permanent; }
if ($args ~* "/?start=36") { rewrite ^ /darbo-pasiulymai/?pg=2? permanent; }
if ($args ~* "/?start=45") { rewrite ^ /darbo-pasiulymai/?pg=3? permanent; }
if ($args ~* "/?start=54") { rewrite ^ /darbo-pasiulymai/?pg=3? permanent; }
if ($args ~* "/?start=63") { rewrite ^ /darbo-pasiulymai/?pg=3? permanent; }
if ($args ~* "/?start=72") { rewrite ^ /darbo-pasiulymai/?pg=3? permanent; }
if ($args ~* "/?start=81") { rewrite ^ /darbo-pasiulymai/?pg=4? permanent; }
if ($args ~* "/?start=90") { rewrite ^ /darbo-pasiulymai/?pg=4? permanent; }
if ($args ~* "/?start=99") { rewrite ^ /darbo-pasiulymai/?pg=4? permanent; }
if ($args ~* "/?start=108") { rewrite ^ /darbo-pasiulymai/?pg=5? permanent; }
if ($args ~* "/?start=117") { rewrite ^ /darbo-pasiulymai/?pg=5? permanent; }
if ($args ~* "/?start=126") { rewrite ^ /darbo-pasiulymai/?pg=6? permanent; }
}
location ^~ /job-offers/ {
try_files $uri $uri/ /index.php?$args;
if ($args ~* "/?type=[0-9]+") { rewrite ^ /job-offers/? permanent; }
}
location ^~ /obyavleniya-o-rabote/ {
try_files $uri $uri/ /index.php?$args;
if ($args ~* "/?type=[0-9]+") { rewrite ^ /naem-personala-v-litve/? permanent; }
}
rewrite ^/employers/staf-search-and-selection-in-lithuania/?$ /employers/staff-search-and-selection-in-lithuania/ permanent; rewrite ^/employers/staf-search-and-selection-in-lithuania/?$ /employers/staff-search-and-selection-in-lithuania/ permanent;
# Biuro SEO issues # Biuro SEO issues
...@@ -24,9 +60,9 @@ rewrite ^/darbo-paieska/atvesk-drauga-gauk-dovanu/?$ /darbo-pasiulymai/ permanen ...@@ -24,9 +60,9 @@ rewrite ^/darbo-paieska/atvesk-drauga-gauk-dovanu/?$ /darbo-pasiulymai/ permanen
# rewrite ^/darbo-paieska/vasarosdarbubankas/?$ / permanent; # rewrite ^/darbo-paieska/vasarosdarbubankas/?$ / permanent;
rewrite ^/darbo-paieska/vasarosdarbubankas/?$ /darbo-pasiulymai/ permanent; rewrite ^/darbo-paieska/vasarosdarbubankas/?$ /darbo-pasiulymai/ permanent;
rewrite ^/darbo-paieska/?$ /darbo-pasiulymai/ permanent; rewrite ^/darbo-paieska/?$ /darbuotojams/laikinas-darbas/ permanent;
rewrite ^/darbo-paieska/laikinas-darbas/?$ /darbo-pasiulymai/ permanent; rewrite ^/darbo-paieska/laikinas-darbas/?$ /darbuotojams/laikinas-darbas/ permanent;
rewrite ^/darbo-paieska/siulo-darba/?$ /darbuotojams/siulo-darba/ permanent; rewrite ^/darbo-paieska/siulo-darba/?$ /darbuotojams/nuolatinis-darbas/ permanent;
rewrite ^/darbo-paieska/papildomas-darbas/?$ /darbuotojams/duk/ permanent; rewrite ^/darbo-paieska/papildomas-darbas/?$ /darbuotojams/duk/ permanent;
rewrite ^/darbo-paieska/klauskite\;/?$ /darbuotojams/kontaktai/ permanent; rewrite ^/darbo-paieska/klauskite\;/?$ /darbuotojams/kontaktai/ permanent;
rewrite ^/darbo-paieska/klauskite/?$ /darbuotojams/kontaktai/ permanent; rewrite ^/darbo-paieska/klauskite/?$ /darbuotojams/kontaktai/ permanent;
...@@ -39,20 +75,20 @@ rewrite ^/cv/?$ /darbuotojams/kontaktai/ permanent; ...@@ -39,20 +75,20 @@ rewrite ^/cv/?$ /darbuotojams/kontaktai/ permanent;
rewrite ^/darbdaviams/?$ /darbdaviams/pardaviminis-puslapis-lt/ permanent; rewrite ^/darbdaviams/?$ /darbdaviams/pardaviminis-puslapis-lt/ permanent;
rewrite ^/personalo-nuoma/vasarosdarbubankas/?$ /darbdaviams/pardaviminis-puslapis-lt/ permanent; rewrite ^/personalo-nuoma/vasarosdarbubankas/?$ /darbdaviams/pardaviminis-puslapis-lt/ permanent;
rewrite ^/personalo-nuoma/?$ /darbdaviams/pardaviminis-puslapis-lt/ permanent; rewrite ^/personalo-nuoma/?$ /darbdaviams/personalo-nuoma/permanent;
rewrite ^/personalo-nuoma/laikinas-idarbinimas/?$ /darbdaviams/pardaviminis-puslapis-lt/ permanent; rewrite ^/personalo-nuoma/laikinas-idarbinimas/?$ /darbdaviams/personalo-nuoma/ permanent;
rewrite ^/personalo-nuoma/specialistu-nuoma/?$ /darbdaviams/specialistu-nuoma/ permanent; rewrite ^/personalo-nuoma/specialistu-nuoma/?$ /darbdaviams/specialistu-nuoma/ permanent;
rewrite ^/personalo-nuoma/personalo-paieska-atranka/?$ /darbdaviams/personalo-paieska-ir-atranka/ permanent; rewrite ^/personalo-nuoma/personalo-paieska-atranka/?$ /darbdaviams/personalo-paieska-atranka/ permanent;
rewrite ^/kontaktai/personalo-nuomai/?$ /darbdaviams/kontaktai/ permanent; rewrite ^/kontaktai/personalo-nuomai/?$ /darbdaviams/kontaktai/ permanent;
rewrite ^/personalo-nuoma/siuskite-uzklausa/?$ /darbdaviams/kontaktai/ permanent; rewrite ^/personalo-nuoma/siuskite-uzklausa/?$ /darbdaviams/kontaktai/ permanent;
# --- Apie Mus # --- Apie Mus
rewrite ^/personalo-nuomos-paslaugos/?$ /apie-mus/ permanent; rewrite ^/personalo-nuomos-paslaugos/?$ /apie-mus/ permanent;
rewrite ^/personalo-nuomos-paslaugos/idarbinimo-agentura/?$ /apie-mus/ permanent; rewrite ^/personalo-nuomos-paslaugos/idarbinimo-agentura/?$ /apie-mus/ permanent;
rewrite ^/personalo-nuomos-paslaugos/darbuotoju-paieska-ir-atranka/?$ /tarptautinis-tinklas/ permanent; rewrite ^/personalo-nuomos-paslaugos/darbuotoju-paieska-ir-atranka/?$ /apie-biuro/tarptautinis-tinklas/ permanent;
rewrite ^/personalo-nuomos-paslaugos/naryste-lietuvoje/?$ /naryste-lietuvoje/ permanent; rewrite ^/personalo-nuomos-paslaugos/naryste-lietuvoje/?$ /apie-biuro/naryste-lietuvoje/ permanent;
rewrite ^/personalo-nuomos-paslaugos/etikos-kodeksas/?$ /etikos-kodeksas/ permanent; rewrite ^/personalo-nuomos-paslaugos/etikos-kodeksas/?$ /etikos-kodeksas/ permanent;
rewrite ^/personalo-nuomos-paslaugos/antikorupcines-priemones/?$ /antikorupcines-priemones/ permanent; rewrite ^/personalo-nuomos-paslaugos/antikorupcines-priemones/?$ /apie-biuro/antikorupcines-priemones/ permanent;
...@@ -64,16 +100,27 @@ rewrite ^/about-biuro/?$ /about-biuro/staffing-agency-in-lithuania/ permanent; ...@@ -64,16 +100,27 @@ rewrite ^/about-biuro/?$ /about-biuro/staffing-agency-in-lithuania/ permanent;
rewrite ^/home/?$ / permanent; rewrite ^/home/?$ / permanent;
rewrite ^/contacts/?$ /contacts/job-seekers/ permanent; rewrite ^/contacts/?$ /contacts/job-seekers/ permanent;
rewrite ^/rabotnikam/?$ /rabotnikam/vremennoe-trudoustrojstvo-v-litve/ permanent; rewrite ^/rabotnikam/?$ /rabotnikam/vremennoe-trudoustrojstvo-v-litve/ permanent;
rewrite ^/rabotnikam/zadavajte-voprosy/?$ /rabotnikam/chavo/ permanent;
rewrite ^/o-biuro/?$ /o-biuro/agenstvo-po-naemu-personala-v-litve/ permanent; rewrite ^/o-biuro/?$ /o-biuro/agenstvo-po-naemu-personala-v-litve/ permanent;
rewrite ^/kontakty/?$ /kontakty/rabotnikam/ permanent; rewrite ^/kontakty/?$ /kontakty/rabotnikam/ permanent;
rewrite ^/rabotodatelyam/?$ /rabotodatelyam/vremennye-rabochie-v-litve/ permanent; rewrite ^/rabotodatelyam/?$ /rabotodatelyam/vremennye-rabochie-v-litve/ permanent;
rewrite ^/rabotodatelyam/agenstvo-po-trudoustrojstvu-v-litve/?$ /rabotodatelyam/vremennye-rabochie-v-litve/ permanent;
rewrite ^/kontaktanagaben/?$ /kontaktanagaben/personalo-nuomai-de-DE/ permanent; rewrite ^/kontaktanagaben/?$ /kontaktanagaben/personalo-nuomai-de-DE/ permanent;
rewrite ^/fuer-arbeitnehmer/?$ /fuer-arbeitnehmer/befristete-beschaeftigung/ permanent; rewrite ^/fuer-arbeitnehmer/?$ /fuer-arbeitnehmer/befristete-beschaeftigung/ permanent;
rewrite ^/fuer-arbeitgeber/?$ /fuer-arbeitgeber/befristete-beschaeftigung/ permanent; rewrite ^/fuer-arbeitgeber/?$ /fuer-arbeitgeber/befristete-beschaeftigung/ permanent;
rewrite ^/ueber-biuro/?$ /ueber-biuro/ueber-die-arbeitsvermittlungsagentur/ permanent; rewrite ^/ueber-biuro/?$ /ueber-biuro/ueber-die-arbeitsvermittlungsagentur/ permanent;
rewrite ^/assets/(.*)CODE-OF-CONDUCT-LT.pdf$ /wp-content/uploads/2018/10/CODE-OF-CONDUCT-LT.pdf permanent; rewrite ^/assets/(.*)CODE-OF-CONDUCT-LT.pdf$ /wp-content/uploads/2018/10/CODE-OF-CONDUCT-LT.pdf permanent;
rewrite ^/assets/(.*)CODE-OF-CONDUCT-EN.pdf$ /wp-content/uploads/2018/10/CODE-OF-CONDUCT-EN.pdf permanent; rewrite ^/assets/(.*)CODE-OF-CONDUCT-EN.pdf$ /wp-content/uploads/2018/10/CODE-OF-CONDUCT-EN.pdf permanent;
......
msgid ""
msgstr ""
"Project-Id-Version: Biuro Contacts\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-29 08:13+0000\n"
"PO-Revision-Date: 2019-04-29 08:17+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Lithuanian\n"
"Language: lt-LT\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10 >= 2 "
"&&(n%100<10||n%100 >= 20)? 1 : 2);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/\n"
"X-Loco-Version: 2.2.2; wp-5.1.1"
#: public/class-biuro-contacts-public.php:149
msgid "This field is required"
msgstr ""
#: public/class-biuro-contacts-public.php:162
msgid "Phone or email field is required"
msgstr ""
#: public/class-biuro-contacts-public.php:173
msgid "Incorrect phone number"
msgstr ""
#: public/class-biuro-contacts-public.php:183
msgid "Email or phone field is required"
msgstr ""
#: public/class-biuro-contacts-public.php:190
msgid "Email format is incorrect"
msgstr ""
#: public/class-biuro-contacts-public.php:205
msgid "You have to agree with conditions"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-1.php:29
#: public/partials/biuro-contacts-public--employers--step-1.php:29
#: public/partials/biuro-contacts-public--position--step-2.php:29
msgid "Name, surname"
msgstr "Vardas, pavardė"
#: public/partials/biuro-contacts-public--employees--step-1.php:46
#: public/partials/biuro-contacts-public--employers--step-1.php:46
#: public/partials/biuro-contacts-public--position--step-2.php:46
msgid "Phone no."
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-1.php:63
#: public/partials/biuro-contacts-public--employers--step-1.php:63
#: public/partials/biuro-contacts-public--position--step-2.php:63
msgid "Email address"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-1.php:76
#: public/partials/biuro-contacts-public--employees--step-2.php:45
#: public/partials/biuro-contacts-public--employers--step-1.php:76
#: public/partials/biuro-contacts-public--employers--step-2.php:47
msgid "Submit"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-1.php:88
#: public/partials/biuro-contacts-public--employers--step-1.php:88
#: public/partials/biuro-contacts-public--position--step-2.php:103
msgid ""
"Rem possimus, delectus unde enim dolores doloribus, recusandae a veritatis "
"ducimus repudiandae iste eos voluptatum architecto mollitia?"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-2.php:23
#: public/partials/biuro-contacts-public--employers--step-2.php:23
#: public/partials/biuro-contacts-public--position--step-2.php:75
msgid "City"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-2.php:30
#: public/partials/biuro-contacts-public--employers--step-2.php:30
#: public/partials/biuro-contacts-public--position--step-2.php:82
msgid "Message"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-2.php:37
#: public/partials/biuro-contacts-public--position--step-2.php:89
msgid "CV"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-2.php:52
#: public/partials/biuro-contacts-public--employers--step-2.php:54
#: public/partials/biuro-contacts-public--position--step-2.php:115
msgid "Noster apster lorem ipsum dolor sit amet, consectetur adipisicing elit?"
msgstr ""
#: public/partials/biuro-contacts-public--position--step-1.php:24
#: public/partials/biuro-contacts-public--position--step-2.php:121
msgid "Apply"
msgstr ""
#. Name of the plugin
msgid "Biuro Contacts"
msgstr ""
#. Description of the plugin
msgid ""
"This is a short description of what the plugin does. It's displayed in the "
"WordPress admin area."
msgstr ""
#. URI of the plugin
#. Author URI of the plugin
msgid "https://www.biuro.lt"
msgstr ""
#. Author of the plugin
msgid "Biuro"
msgstr ""
...@@ -146,7 +146,7 @@ class Biuro_Contacts_Public { ...@@ -146,7 +146,7 @@ class Biuro_Contacts_Public {
public static function validate( $str, $key, $value, $post ) { public static function validate( $str, $key, $value, $post ) {
$empty = ['status' => '', 'message' => '']; $empty = ['status' => '', 'message' => ''];
$success = ['status' => 'success', 'message' => '']; $success = ['status' => 'success', 'message' => ''];
$required = ['status' => 'error', 'message' => __('This field is required', 'biuro')]; $required = ['status' => 'error', 'message' => __('This field is required', 'biuro-contacts')];
// if ($str == 'employees' || $str == 'position'): // if ($str == 'employees' || $str == 'position'):
...@@ -159,7 +159,7 @@ class Biuro_Contacts_Public { ...@@ -159,7 +159,7 @@ class Biuro_Contacts_Public {
if (!$value && !is_email($post['email'])): if (!$value && !is_email($post['email'])):
return [ return [
'status' => 'error', 'status' => 'error',
'message' => __('Phone or email field is required', 'biuro') 'message' => __('Phone or email field is required', 'biuro-contacts')
]; ];
endif; endif;
...@@ -170,7 +170,7 @@ class Biuro_Contacts_Public { ...@@ -170,7 +170,7 @@ class Biuro_Contacts_Public {
if ( strlen($value) < 6): if ( strlen($value) < 6):
return [ return [
'status' => 'error', 'status' => 'error',
'message' => __('Incorrect phone number', 'biuro') 'message' => __('Incorrect phone number', 'biuro-contacts')
]; ];
endif; endif;
...@@ -180,14 +180,14 @@ class Biuro_Contacts_Public { ...@@ -180,14 +180,14 @@ class Biuro_Contacts_Public {
if (!$post['phone'] && !$value): if (!$post['phone'] && !$value):
return [ return [
'status' => 'error', 'status' => 'error',
'message' => __('Email or phone field is required', 'biuro') 'message' => __('Email or phone field is required', 'biuro-contacts')
]; ];
endif; endif;
if (!$post['phone'] && !is_email($value)): if (!$post['phone'] && !is_email($value)):
return [ return [
'status' => 'error', 'status' => 'error',
'message' => __('Email format is incorrect', 'biuro') 'message' => __('Email format is incorrect', 'biuro-contacts')
]; ];
else: else:
...@@ -202,7 +202,7 @@ class Biuro_Contacts_Public { ...@@ -202,7 +202,7 @@ class Biuro_Contacts_Public {
if ($value != "1"): if ($value != "1"):
return [ return [
'status' => 'error', 'status' => 'error',
'message' => __('You have to agree with conditions', 'biuro') 'message' => __('You have to agree with conditions', 'biuro-contacts')
]; ];
endif; endif;
...@@ -310,11 +310,11 @@ class Biuro_Contacts_Public { ...@@ -310,11 +310,11 @@ class Biuro_Contacts_Public {
unset($_SESSION['employees--step']); unset($_SESSION['employees--step']);
if ($_POST['submit'] == "1"): if ($_POST['s'] == "1"):
static::set_sessions('employees', $_POST); static::set_sessions('employees', $_POST);
elseif ($_POST['submit'] == "2" && $_SESSION['employees--id']): elseif ($_POST['s'] == "2" && $_SESSION['employees--id']):
$data = [ $data = [
'city' => static::getValue('city', $_POST['city']), 'city' => static::getValue('city', $_POST['city']),
...@@ -386,7 +386,7 @@ class Biuro_Contacts_Public { ...@@ -386,7 +386,7 @@ class Biuro_Contacts_Public {
$str = 'employers'; $str = 'employers';
if ($_POST['submit'] == "1"): if ($_POST['s'] == "1"):
$canSubmit = true; $canSubmit = true;
$data = [ $data = [
...@@ -419,7 +419,7 @@ class Biuro_Contacts_Public { ...@@ -419,7 +419,7 @@ class Biuro_Contacts_Public {
// static::set_sessions('employers', $_POST); // static::set_sessions('employers', $_POST);
elseif ($_POST['submit'] == "2"): elseif ($_POST['s'] == "2"):
$data = [ $data = [
'city' => static::getValue('city', $_POST['city']), 'city' => static::getValue('city', $_POST['city']),
...@@ -497,11 +497,11 @@ class Biuro_Contacts_Public { ...@@ -497,11 +497,11 @@ class Biuro_Contacts_Public {
// unset($_SESSION['position--step']); // unset($_SESSION['position--step']);
if ($_POST['submit'] == "1"): if ($_POST['s'] == "1"):
$_SESSION['position--step'] = 2; $_SESSION['position--step'] = 2;
elseif ($_POST['submit'] == "2"): elseif ($_POST['s'] == "2"):
$_SESSION['position--step'] = 2; $_SESSION['position--step'] = 2;
......
...@@ -26,7 +26,7 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -26,7 +26,7 @@ if ( ! defined( 'WPINC' ) ) die;
$nameMessage = $_SESSION['employees--name-message']; $nameMessage = $_SESSION['employees--name-message'];
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-name"><?php _e('Name, surname', 'biuro'); ?></label> <label class="c-form--label" for="form-name"><?php _e('Name, surname', 'biuro-contacts'); ?></label>
<div class="c-form--input-wrap <?php if ($nameStatus) { echo "c-form--input-wrap--$nameStatus"; } ?>"> <div class="c-form--input-wrap <?php if ($nameStatus) { echo "c-form--input-wrap--$nameStatus"; } ?>">
<input type="text" class="c-form--input" id="form-name" name="name" value="<?php echo $nameValue; ?>" <?php if ($nameStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?>> <input type="text" class="c-form--input" id="form-name" name="name" value="<?php echo $nameValue; ?>" <?php if ($nameStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?>>
</div> </div>
...@@ -43,7 +43,7 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -43,7 +43,7 @@ if ( ! defined( 'WPINC' ) ) die;
$phoneMessage = $_SESSION['employees--phone-message']; $phoneMessage = $_SESSION['employees--phone-message'];
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-phone"><?php _e('Phone no.', 'biuro'); ?></label> <label class="c-form--label" for="form-phone"><?php _e('Phone no.', 'biuro-contacts'); ?></label>
<div class="c-form--input-wrap <?php if ($phoneStatus) { echo "c-form--input-wrap--$phoneStatus"; } ?>"> <div class="c-form--input-wrap <?php if ($phoneStatus) { echo "c-form--input-wrap--$phoneStatus"; } ?>">
<input type="tel" class="c-form--input" id="form-phone" name="phone" value="<?php echo $phoneValue; ?>" <?php if ($nameStatus != 'error' && $phoneStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?>> <input type="tel" class="c-form--input" id="form-phone" name="phone" value="<?php echo $phoneValue; ?>" <?php if ($nameStatus != 'error' && $phoneStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?>>
</div> </div>
...@@ -60,7 +60,7 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -60,7 +60,7 @@ if ( ! defined( 'WPINC' ) ) die;
$emailMessage = $_SESSION['employees--email-message']; $emailMessage = $_SESSION['employees--email-message'];
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-email"><?php _e('Email address', 'biuro'); ?></label> <label class="c-form--label" for="form-email"><?php _e('Email address', 'biuro-contacts'); ?></label>
<div class="c-form--input-wrap <?php if ($emailStatus) { echo "c-form--input-wrap--$emailStatus"; } ?>"> <div class="c-form--input-wrap <?php if ($emailStatus) { echo "c-form--input-wrap--$emailStatus"; } ?>">
<input type="email" class="c-form--input" id="form-email" name="email" value="<?php echo $emailValue; ?>"> <input type="email" class="c-form--input" id="form-email" name="email" value="<?php echo $emailValue; ?>">
</div> </div>
...@@ -73,7 +73,7 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -73,7 +73,7 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--submit-wrap"> <div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="submit" value="1"><?php _e('Submit', 'biuro'); ?></button> <button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="1"><?php _e('Submit', 'biuro-contacts'); ?></button>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
...@@ -85,7 +85,7 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -85,7 +85,7 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--checkbox-wrap"> <div class="c-form--checkbox-wrap">
<input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($agreeStatus) { echo "c-form--checkbox--$agreeStatus"; } ?>" name="agree" value="1" <?php if ($agreeValue): ?> checked="checked"<?php endif; ?>> <input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($agreeStatus) { echo "c-form--checkbox--$agreeStatus"; } ?>" name="agree" value="1" <?php if ($agreeValue): ?> checked="checked"<?php endif; ?>>
<label class="c-form--label-checkbox" for="form-agree"><?php _e('Rem possimus, delectus unde enim dolores doloribus, recusandae a veritatis ducimus repudiandae iste eos voluptatum architecto mollitia?', 'biuro'); ?></label> <label class="c-form--label-checkbox" for="form-agree"><?php _e('Rem possimus, delectus unde enim dolores doloribus, recusandae a veritatis ducimus repudiandae iste eos voluptatum architecto mollitia?', 'biuro-contacts'); ?></label>
</div> </div>
<?php if ($agreeMessage): ?> <?php if ($agreeMessage): ?>
<div class="c-form--validation c-form--validation-<?php echo $agreeStatus; ?>"> <div class="c-form--validation c-form--validation-<?php echo $agreeStatus; ?>">
......
...@@ -20,21 +20,21 @@ ...@@ -20,21 +20,21 @@
if ( ! defined( 'WPINC' ) ) die; if ( ! defined( 'WPINC' ) ) die;
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-city"><?php _e('City', 'biuro'); ?></label> <label class="c-form--label" for="form-city"><?php _e('City', 'biuro-contacts'); ?></label>
<div class="c-form--input-wrap"> <div class="c-form--input-wrap">
<input type="text" class="c-form--input" id="form-city" name="city" value="" autofocus="autofocus"> <input type="text" class="c-form--input" id="form-city" name="city" value="" autofocus="autofocus">
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-message"><?php _e('Message', 'biuro'); ?></label> <label class="c-form--label" for="form-message"><?php _e('Message', 'biuro-contacts'); ?></label>
<div class="c-form--textarea-wrap"> <div class="c-form--textarea-wrap">
<textarea name="message" id="form-message" cols="30" rows="3" class="c-form--textarea"></textarea> <textarea name="message" id="form-message" cols="30" rows="3" class="c-form--textarea"></textarea>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-cv"><?php _e('CV', 'biuro'); ?></label> <label class="c-form--label" for="form-cv"><?php _e('CV', 'biuro-contacts'); ?></label>
<div class="c-form--input-wrap"> <div class="c-form--input-wrap">
<input type="file" class="c-form--input" id="form-cv" name="cv" value=""> <input type="file" class="c-form--input" id="form-cv" name="cv" value="">
</div> </div>
...@@ -42,13 +42,13 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -42,13 +42,13 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--submit-wrap"> <div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="submit" value="2"><?php _e('Submit', 'biuro'); ?></button> <button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2"><?php _e('Submit', 'biuro-contacts'); ?></button>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--checkbox-wrap"> <div class="c-form--checkbox-wrap">
<input id="form-confirm" type="checkbox" class="c-form--checkbox" name="confirm" value="1"> <input id="form-confirm" type="checkbox" class="c-form--checkbox" name="confirm" value="1">
<label class="c-form--label-checkbox" for="form-confirm"><?php _e('Noster apster lorem ipsum dolor sit amet, consectetur adipisicing elit?', 'biuro'); ?></label> <label class="c-form--label-checkbox" for="form-confirm"><?php _e('Noster apster lorem ipsum dolor sit amet, consectetur adipisicing elit?', 'biuro-contacts'); ?></label>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
if ( ! defined( 'WPINC' ) ) die; if ( ! defined( 'WPINC' ) ) die;
?> ?>
<form action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post" enctype="multipart/form-data" class="c-form c-form--employees"> <form name="form-employees" action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post" enctype="multipart/form-data" class="c-form c-form--employees">
<?php <?php
......
...@@ -26,7 +26,7 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -26,7 +26,7 @@ if ( ! defined( 'WPINC' ) ) die;
$nameMessage = $_SESSION['employers--name-message']; $nameMessage = $_SESSION['employers--name-message'];
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-name"><?php _e('Name, surname', 'biuro'); ?></label> <label class="c-form--label" for="form-name"><?php _e('Name, surname', 'biuro-contacts'); ?></label>
<div class="c-form--input-wrap <?php if ($nameStatus) { echo "c-form--input-wrap--$nameStatus"; } ?>"> <div class="c-form--input-wrap <?php if ($nameStatus) { echo "c-form--input-wrap--$nameStatus"; } ?>">
<input type="text" class="c-form--input" id="form-name" name="name" value="<?php echo $nameValue; ?>" <?php if ($nameStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?>> <input type="text" class="c-form--input" id="form-name" name="name" value="<?php echo $nameValue; ?>" <?php if ($nameStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?>>
</div> </div>
...@@ -43,7 +43,7 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -43,7 +43,7 @@ if ( ! defined( 'WPINC' ) ) die;
$phoneMessage = $_SESSION['employers--phone-message']; $phoneMessage = $_SESSION['employers--phone-message'];
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-phone"><?php _e('Phone no.', 'biuro'); ?></label> <label class="c-form--label" for="form-phone"><?php _e('Phone no.', 'biuro-contacts'); ?></label>
<div class="c-form--input-wrap <?php if ($phoneStatus) { echo "c-form--input-wrap--$phoneStatus"; } ?>"> <div class="c-form--input-wrap <?php if ($phoneStatus) { echo "c-form--input-wrap--$phoneStatus"; } ?>">
<input type="tel" class="c-form--input" id="form-phone" name="phone" value="<?php echo $phoneValue; ?>" <?php if ($nameStatus != 'error' && $phoneStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?>> <input type="tel" class="c-form--input" id="form-phone" name="phone" value="<?php echo $phoneValue; ?>" <?php if ($nameStatus != 'error' && $phoneStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?>>
</div> </div>
...@@ -60,7 +60,7 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -60,7 +60,7 @@ if ( ! defined( 'WPINC' ) ) die;
$emailMessage = $_SESSION['employers--email-message']; $emailMessage = $_SESSION['employers--email-message'];
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-email"><?php _e('Email address', 'biuro'); ?></label> <label class="c-form--label" for="form-email"><?php _e('Email address', 'biuro-contacts'); ?></label>
<div class="c-form--input-wrap <?php if ($emailStatus) { echo "c-form--input-wrap--$emailStatus"; } ?>"> <div class="c-form--input-wrap <?php if ($emailStatus) { echo "c-form--input-wrap--$emailStatus"; } ?>">
<input type="email" class="c-form--input" id="form-email" name="email" value="<?php echo $emailValue; ?>"> <input type="email" class="c-form--input" id="form-email" name="email" value="<?php echo $emailValue; ?>">
</div> </div>
...@@ -73,7 +73,7 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -73,7 +73,7 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--submit-wrap"> <div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="submit" value="1"><?php _e('Submit', 'biuro'); ?></button> <button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="1"><?php _e('Submit', 'biuro-contacts'); ?></button>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
...@@ -85,7 +85,7 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -85,7 +85,7 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--checkbox-wrap"> <div class="c-form--checkbox-wrap">
<input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($agreeStatus) { echo "c-form--checkbox--$agreeStatus"; } ?>" name="agree" value="1" <?php if ($agreeValue): ?> checked="checked"<?php endif; ?>> <input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($agreeStatus) { echo "c-form--checkbox--$agreeStatus"; } ?>" name="agree" value="1" <?php if ($agreeValue): ?> checked="checked"<?php endif; ?>>
<label class="c-form--label-checkbox" for="form-agree"><?php _e('Rem possimus, delectus unde enim dolores doloribus, recusandae a veritatis ducimus repudiandae iste eos voluptatum architecto mollitia?', 'biuro'); ?></label> <label class="c-form--label-checkbox" for="form-agree"><?php _e('Rem possimus, delectus unde enim dolores doloribus, recusandae a veritatis ducimus repudiandae iste eos voluptatum architecto mollitia?', 'biuro-contacts'); ?></label>
</div> </div>
<?php if ($agreeMessage): ?> <?php if ($agreeMessage): ?>
<div class="c-form--validation c-form--validation-<?php echo $agreeStatus; ?>"> <div class="c-form--validation c-form--validation-<?php echo $agreeStatus; ?>">
......
...@@ -20,14 +20,14 @@ ...@@ -20,14 +20,14 @@
if ( ! defined( 'WPINC' ) ) die; if ( ! defined( 'WPINC' ) ) die;
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-city"><?php _e('City', 'biuro'); ?></label> <label class="c-form--label" for="form-company"><?php _e('Company', 'biuro-contacts'); ?></label>
<div class="c-form--input-wrap"> <div class="c-form--input-wrap">
<input type="text" class="c-form--input" id="form-city" name="city" value=""> <input type="text" class="c-form--input" id="form-company" name="company" value="">
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-message"><?php _e('Message', 'biuro'); ?></label> <label class="c-form--label" for="form-message"><?php _e('Message', 'biuro-contacts'); ?></label>
<div class="c-form--textarea-wrap"> <div class="c-form--textarea-wrap">
<textarea name="message" id="form-message" cols="30" rows="3" class="c-form--textarea"></textarea> <textarea name="message" id="form-message" cols="30" rows="3" class="c-form--textarea"></textarea>
</div> </div>
...@@ -35,7 +35,7 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -35,7 +35,7 @@ if ( ! defined( 'WPINC' ) ) die;
<?php /* <?php /*
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-cv"><?php _e('CV', 'biuro'); ?></label> <label class="c-form--label" for="form-cv"><?php _e('CV', 'biuro-contacts'); ?></label>
<div class="c-form--input-wrap"> <div class="c-form--input-wrap">
<input type="file" class="c-form--input" id="form-cv" name="cv" value=""> <input type="file" class="c-form--input" id="form-cv" name="cv" value="">
</div> </div>
...@@ -44,13 +44,13 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -44,13 +44,13 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--submit-wrap"> <div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="submit" value="2"><?php _e('Submit', 'biuro'); ?></button> <button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2"><?php _e('Submit', 'biuro-contacts'); ?></button>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--checkbox-wrap"> <div class="c-form--checkbox-wrap">
<input id="form-confirm" type="checkbox" class="c-form--checkbox" name="confirm" value="1"> <input id="form-confirm" type="checkbox" class="c-form--checkbox" name="confirm" value="1">
<label class="c-form--label-checkbox" for="form-confirm"><?php _e('Noster apster lorem ipsum dolor sit amet, consectetur adipisicing elit?', 'biuro'); ?></label> <label class="c-form--label-checkbox" for="form-confirm"><?php _e('Noster apster lorem ipsum dolor sit amet, consectetur adipisicing elit?', 'biuro-contacts'); ?></label>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
if ( ! defined( 'WPINC' ) ) die; if ( ! defined( 'WPINC' ) ) die;
?> ?>
<form action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post" enctype="multipart/form-data" class="c-form c-form--employers"> <form name="form-employers" action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post" enctype="multipart/form-data" class="c-form c-form--employers">
<?php <?php
......
...@@ -21,6 +21,6 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -21,6 +21,6 @@ if ( ! defined( 'WPINC' ) ) die;
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="submit" value="1"><?php _e('Candidate', 'biuro'); ?></button> <button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="1"><?php _e('Apply', 'biuro-contacts'); ?></button>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
...@@ -26,9 +26,9 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -26,9 +26,9 @@ if ( ! defined( 'WPINC' ) ) die;
$nameMessage = $_SESSION['position--name-message']; $nameMessage = $_SESSION['position--name-message'];
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-name"><?php _e('Name, surname', 'biuro'); ?></label> <label class="c-form--label" for="form-name"><?php _e('Name, surname', 'biuro-contacts'); ?></label>
<div class="c-form--input-wrap <?php if ($nameStatus) { echo "c-form--input-wrap--$nameStatus"; } ?>"> <div class="c-form--input-wrap <?php if ($nameStatus) { echo "c-form--input-wrap--$nameStatus"; } ?>">
<input type="text" class="c-form--input" id="form-name" name="name" value="<?php echo $nameValue; ?>" <?php if ($nameStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?>> <input type="text" class="c-form--input" id="form-name" name="name" value="<?php echo $nameValue; ?>" <?php if ($nameStatus == 'error' || !$nameValue): ?> autofocus="autofocus" <?php endif; ?>>
</div> </div>
<?php if ($nameMessage): ?> <?php if ($nameMessage): ?>
<div class="c-form--validation c-form--validation-<?php echo $nameStatus; ?>"> <div class="c-form--validation c-form--validation-<?php echo $nameStatus; ?>">
...@@ -43,7 +43,7 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -43,7 +43,7 @@ if ( ! defined( 'WPINC' ) ) die;
$phoneMessage = $_SESSION['position--phone-message']; $phoneMessage = $_SESSION['position--phone-message'];
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-phone"><?php _e('Phone no.', 'biuro'); ?></label> <label class="c-form--label" for="form-phone"><?php _e('Phone no.', 'biuro-contacts'); ?></label>
<div class="c-form--input-wrap <?php if ($phoneStatus) { echo "c-form--input-wrap--$phoneStatus"; } ?>"> <div class="c-form--input-wrap <?php if ($phoneStatus) { echo "c-form--input-wrap--$phoneStatus"; } ?>">
<input type="tel" class="c-form--input" id="form-phone" name="phone" value="<?php echo $phoneValue; ?>" <?php if ($nameStatus != 'error' && $phoneStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?>> <input type="tel" class="c-form--input" id="form-phone" name="phone" value="<?php echo $phoneValue; ?>" <?php if ($nameStatus != 'error' && $phoneStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?>>
</div> </div>
...@@ -60,7 +60,7 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -60,7 +60,7 @@ if ( ! defined( 'WPINC' ) ) die;
$emailMessage = $_SESSION['position--email-message']; $emailMessage = $_SESSION['position--email-message'];
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-email"><?php _e('Email address', 'biuro'); ?></label> <label class="c-form--label" for="form-email"><?php _e('Email address', 'biuro-contacts'); ?></label>
<div class="c-form--input-wrap <?php if ($emailStatus) { echo "c-form--input-wrap--$emailStatus"; } ?>"> <div class="c-form--input-wrap <?php if ($emailStatus) { echo "c-form--input-wrap--$emailStatus"; } ?>">
<input type="email" class="c-form--input" id="form-email" name="email" value="<?php echo $emailValue; ?>"> <input type="email" class="c-form--input" id="form-email" name="email" value="<?php echo $emailValue; ?>">
</div> </div>
...@@ -72,21 +72,21 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -72,21 +72,21 @@ if ( ! defined( 'WPINC' ) ) die;
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-city"><?php _e('City', 'biuro'); ?></label> <label class="c-form--label" for="form-city"><?php _e('City', 'biuro-contacts'); ?></label>
<div class="c-form--input-wrap"> <div class="c-form--input-wrap">
<input type="text" class="c-form--input" id="form-city" name="city" value=""> <input type="text" class="c-form--input" id="form-city" name="city" value="">
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-message"><?php _e('Message', 'biuro'); ?></label> <label class="c-form--label" for="form-message"><?php _e('Message', 'biuro-contacts'); ?></label>
<div class="c-form--textarea-wrap"> <div class="c-form--textarea-wrap">
<textarea name="message" id="form-message" cols="30" rows="3" class="c-form--textarea"></textarea> <textarea name="message" id="form-message" cols="30" rows="3" class="c-form--textarea"></textarea>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-cv"><?php _e('CV', 'biuro'); ?></label> <label class="c-form--label" for="form-cv"><?php _e('CV', 'biuro-contacts'); ?></label>
<div class="c-form--input-wrap"> <div class="c-form--input-wrap">
<input type="file" class="c-form--input" id="form-cv" name="cv" value=""> <input type="file" class="c-form--input" id="form-cv" name="cv" value="">
</div> </div>
...@@ -100,7 +100,7 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -100,7 +100,7 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--checkbox-wrap"> <div class="c-form--checkbox-wrap">
<input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($agreeStatus) { echo "c-form--checkbox--$agreeStatus"; } ?>" name="agree" value="1" <?php if ($agreeValue): ?> checked="checked"<?php endif; ?>> <input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($agreeStatus) { echo "c-form--checkbox--$agreeStatus"; } ?>" name="agree" value="1" <?php if ($agreeValue): ?> checked="checked"<?php endif; ?>>
<label class="c-form--label-checkbox" for="form-agree"><?php _e('Rem possimus, delectus unde enim dolores doloribus, recusandae a veritatis ducimus repudiandae iste eos voluptatum architecto mollitia?', 'biuro'); ?></label> <label class="c-form--label-checkbox" for="form-agree"><?php _e('Rem possimus, delectus unde enim dolores doloribus, recusandae a veritatis ducimus repudiandae iste eos voluptatum architecto mollitia?', 'biuro-contacts'); ?></label>
</div> </div>
<?php if ($agreeMessage): ?> <?php if ($agreeMessage): ?>
<div class="c-form--validation c-form--validation-<?php echo $agreeStatus; ?>"> <div class="c-form--validation c-form--validation-<?php echo $agreeStatus; ?>">
...@@ -112,12 +112,12 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -112,12 +112,12 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--checkbox-wrap"> <div class="c-form--checkbox-wrap">
<input id="form-confirm" type="checkbox" class="c-form--checkbox" name="confirm" value="1"> <input id="form-confirm" type="checkbox" class="c-form--checkbox" name="confirm" value="1">
<label class="c-form--label-checkbox" for="form-confirm"><?php _e('Noster apster lorem ipsum dolor sit amet, consectetur adipisicing elit?', 'biuro'); ?></label> <label class="c-form--label-checkbox" for="form-confirm"><?php _e('Noster apster lorem ipsum dolor sit amet, consectetur adipisicing elit?', 'biuro-contacts'); ?></label>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--submit-wrap"> <div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="submit" value="2"><?php _e('Candidate', 'biuro'); ?></button> <button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2"><?php _e('Apply', 'biuro-contacts'); ?></button>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
if ( ! defined( 'WPINC' ) ) die; if ( ! defined( 'WPINC' ) ) die;
?> ?>
<form action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post" enctype="multipart/form-data" class="c-form c-form--position"> <form name="form-position" action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post" enctype="multipart/form-data" class="c-form <?php if ($_SESSION['position--step']): ?>c-form--position<?php endif; ?>">
<?php <?php
......
<?php
/**
* The main template file
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Biuro
* @since 1.0
* @version 1.0
*/
get_header(); ?>
<div id="content" class="l-content--main">
<main id="main" class="l-main">
<div class="c-404">
<p class="c-404--heading">404</p>
<p class="c-404--message"><?php _e('Sorry, the page you are looking for does not exist!', 'biuro'); ?></p>
<p>
<a href="<?php echo pll_home_url(); ?>" class="o-btn c-btn--main"><?php _e('Return to homepage', 'biuro'); ?></a>
</p>
</div>
<?php
/*
<div class="c-404">
<p class="c-404--heading">404</p>
<p class="c-404--message">Atsiprašome, bet puslapis kurio jūs ieškote neegzistuoja!</p>
<p>
<a href="<?php echo pll_home_url(); ?>" class="o-btn c-btn--main">Grįžti į pagrindinį puslapį</a>
</p>
</div>
*/
?>
</main><!-- .l-main -->
</div><!-- #content -->
<?php get_footer();
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
flex: 0 0 280px; flex: 0 0 280px;
} }
} }
.l-aside--position { .l-aside--position { background-color: #F6F9FF;
@media (--min--small) { @media (--min--small) {
flex: 0 0 420px; padding-left: 100px; flex: 0 0 400px; padding: 70px 40px;
} }
} }
......
...@@ -11,14 +11,17 @@ ...@@ -11,14 +11,17 @@
.l-content--position { position: relative; padding: 40px 20px; .l-content--position { position: relative; padding: 40px 20px;
&:before { content: ''; position: absolute; top: 0; left: 0; height: 244px; width: 100%; background: linear-gradient(358.45deg, #3C7E9E 0%, #1FB299 100%); } &:before { content: ''; position: absolute; top: 0; left: 0; height: 244px; width: 100%; background: linear-gradient(358.45deg, #3C7E9E 0%, #1FB299 100%); }
} }
.l-content--position-inner { position: relative; display: flex; max-width: 970px; padding: 50px 70px; margin: 0 auto 140px; border-radius: 3px; background-color: #FFFFFF; box-shadow: 0 1px 47px 0 #ECF5FF; } .l-content--position-inner { position: relative; display: flex; max-width: 970px; margin: 0 auto 140px; border-radius: 3px; background-color: #FFFFFF; box-shadow: 0 1px 47px 0 #ECF5FF;
.l-main { padding: 70px 55px 40px 57px; }
}
.l-content--heading { display: block; padding-top: 40px; padding-bottom: 25px; .l-content--heading { display: block; padding-top: 40px; padding-bottom: 25px;
h1 { margin: 0; padding: 0; color: #2A3644; font-size: 25px; font-weight: 500; line-height: 29px;
@media (--min--small) { @media (--min--small) {
padding-left: 300px; padding-left: 320px;
}
} }
h1 { margin: 0; padding: 0; color: #2A3644; font-size: 25px; font-weight: 500; line-height: 29px; }
} }
.l-content--main { width: 100%; flex: 1 1 auto; max-width: 1070px; padding: 35px 20px 90px; margin: 0 auto; .l-content--main { width: 100%; flex: 1 1 auto; max-width: 1070px; padding: 35px 20px 90px; margin: 0 auto;
......
...@@ -7,6 +7,7 @@ c-: Signify that something is a Component. This is a concrete, implementation-sp ...@@ -7,6 +7,7 @@ c-: Signify that something is a Component. This is a concrete, implementation-sp
========================================================================== */ ========================================================================== */
@import 'vendor/swiper.css'; @import 'vendor/swiper.css';
@import '_component--404.css';
@import '_component--awesomplete.css'; @import '_component--awesomplete.css';
@import '_component--breadcrumbs.css'; @import '_component--breadcrumbs.css';
@import '_component--btn.css'; @import '_component--btn.css';
......
/* ------------- Component: awesomplete ------------- */
/* critical:start */
/* critical:end */
.c-404 { text-align: center; padding: 200px 0; }
.c-404--heading { height: 128px; margin: 0; padding: 0; color: #069980; font-size: 109px; font-weight: 500; line-height: 128px; }
.c-404--message { margin-bottom: 40px; }
/*
.c-404--heading {
background: -webkit-linear-gradient(138.69deg,#4eacd9,#2fb8a1)
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
*/
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
.c-btn--alt { padding: 10px 15px; color: #004ED4; background: #e8f0ff; color: #004ED4; .c-btn--alt { padding: 10px 15px; color: #004ED4; background: #e8f0ff; color: #004ED4;
&:after { float: right; margin: 6px 0 0 35px; content: ''; width: 7px; height: 7px; border: 1px solid #004ED4; border-width: 2px 2px 0 0; transform: rotate(45deg); } &:after { float: right; margin: 6px 0 0 35px; content: ''; width: 7px; height: 7px; border: 1px solid #004ED4; border-width: 2px 2px 0 0; transform: rotate(45deg); }
&:hover { background-color: #DDE6F5; }
} }
.c-btn--fill { width: 100%; } .c-btn--fill { width: 100%; }
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
.c-divisions { display: flex; flex-wrap: wrap; } .c-divisions { display: flex; flex-wrap: wrap; }
.c-division { flex: 0 0 auto; height: 30px; margin: 0 10px 10px 0; padding: 0 20px; border-radius: 3px; background-color: #E8F0FF; color: gray; font-weight: 500; line-height: 30px; white-space: nowrap; text-decoration: none; } .c-division { flex: 0 0 auto; height: 30px; margin: 0 10px 10px 0; padding: 0 20px; border-radius: 3px; background-color: #E8F0FF; color: #004ED4; font-weight: 500; line-height: 30px; white-space: nowrap; text-decoration: none; }
a.c-division { color: #004ED4; } /*a.c-division { color: #004ED4; }*/
/* critical:end */ /* critical:end */
...@@ -4,9 +4,11 @@ ...@@ -4,9 +4,11 @@
.c-form { } .c-form { }
.c-form--employees { padding: 38px 35px 20px; border-radius: 3px; background-color: #ffffff; box-shadow: 0 1px 47px 0 #ECF5FF; } .c-form--employees { padding: 38px 35px 20px; border-radius: 3px; background-color: #ffffff; box-shadow: 0 1px 31px -23px #6A7481; }
.c-form--employers { padding: 38px 35px 20px; border-radius: 3px; background-color: #ffffff; box-shadow: 0 1px 47px 0 #ECF5FF; } .c-form--employers { padding: 38px 35px 20px; border-radius: 3px; background-color: #ffffff; box-shadow: 0 1px 31px -23px #6A7481; }
.c-form--position { margin: -40px -15px 0; padding: 38px 35px 20px; border-radius: 3px; background-color: #ffffff; box-shadow: 0 1px 31px -23px #6A7481; }
.c-form--row { position: relative; margin-bottom: 20px; } .c-form--row { position: relative; margin-bottom: 20px; }
......
...@@ -26,6 +26,6 @@ ...@@ -26,6 +26,6 @@
ul { margin: 0; padding: 0; list-style: none; } ul { margin: 0; padding: 0; list-style: none; }
li { line-height: 28px; } li { line-height: 28px; }
a { overflow: hidden; text-decoration: none; a { overflow: hidden; text-decoration: none;
&:hover { color: var(--color--green); } &:hover { text-decoration: underline; }
} }
} }
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
.pods-pagination-paginate { display: flex; margin-bottom: 90px; } .pods-pagination-paginate { display: flex; margin-bottom: 90px; }
.page-numbers { width: 46px; height: 46px; background: #fff; margin-right: 1px; text-decoration: none; text-align: center; line-height: 46px; color: #1FB299; font-size: 16px; .page-numbers { width: 46px; height: 46px; background: #fff; margin-right: 1px; text-decoration: none; text-align: center; line-height: 46px; color: #1FB299; font-size: 16px;
&:hover { background: var(--color--green-darker); color: #FFFFFF; }
&.current { background: #1FB299; color: #FFFFFF; } &.current { background: #1FB299; color: #FFFFFF; }
} }
.next { .next {
......
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
.c-jobs-section--item { line-height: 33px; } .c-jobs-section--item { line-height: 33px; }
.c-jobs-section--anchor { color: #939393; font-size: 14px; text-decoration: none; } .c-jobs-section--anchor { color: #939393; font-size: 14px; text-decoration: none;
&:hover { text-decoration: underline; }
}
.c-jobs-section--expand { display: block; color: #004ED4; font-size: 14px; font-weight: 500; margin-top: 10px; padding: 5px 0; text-decoration: none; } .c-jobs-section--expand { display: block; color: #004ED4; font-size: 14px; font-weight: 500; margin-top: 10px; padding: 5px 0; text-decoration: none; }
...@@ -11,7 +11,13 @@ ...@@ -11,7 +11,13 @@
/* critical:end */ /* critical:end */
.c-jobs--table { width: 100%; margin: 0 0 20px; } .c-jobs--table { width: 100%; margin: 0 0 20px;
tr {
&:hover {
td { background: #F8FBFF; }
}
}
}
.c-jobs--col { background: #fff; vertical-align: middle; border-bottom: 1px solid var(--color--gray-light); color: #868C93; padding-top: 10px; padding-bottom: 10px; } .c-jobs--col { background: #fff; vertical-align: middle; border-bottom: 1px solid var(--color--gray-light); color: #868C93; padding-top: 10px; padding-bottom: 10px; }
...@@ -19,10 +25,11 @@ ...@@ -19,10 +25,11 @@
.c-jobs--col-city { white-space: nowrap; padding-right: 5px; padding-left: 5px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; } .c-jobs--col-city { white-space: nowrap; padding-right: 5px; padding-left: 5px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.c-jobs--col-valid { color: #19C5A7; white-space: nowrap; padding-right: 15px; padding-left: 5px; } .c-jobs--col-valid { color: #19C5A7; white-space: nowrap; padding-right: 15px; padding-left: 5px; width: 100px; }
.c-jobs--anchor { display: block; padding: 10px 0; color: #004ED4; font-weight: 500; line-height: 18px; text-decoration: none; .c-jobs--anchor { display: block; padding: 10px 0; color: #004ED4; font-weight: 500; line-height: 18px; text-decoration: none;
&:visited { color: #6B7888; } &:hover { text-decoration: underline; }
&:visited { color: #551B89; }
} }
.c-jobs--more { margin-bottom: 70px; } .c-jobs--more { margin-bottom: 70px; }
...@@ -48,4 +48,4 @@ ...@@ -48,4 +48,4 @@
.c-nav--lang-anchor-de { background-image: url(/wp-content/themes/biuro/i/lang/de.png); } .c-nav--lang-anchor-de { background-image: url(/wp-content/themes/biuro/i/lang/de.png); }
.c-nav--lang-anchor-ru { background-image: url(/wp-content/themes/biuro/i/lang/ru.png); } .c-nav--lang-anchor-ru { background-image: url(/wp-content/themes/biuro/i/lang/ru.png); }
.c-nav--lang-anchor-lv { background-image: url(/wp-content/themes/biuro/i/lang/lv.png); } .c-nav--lang-anchor-lv { background-image: url(/wp-content/themes/biuro/i/lang/lv.png); }
.c-nav--lang-anchor-ee { background-image: url(/wp-content/themes/biuro/i/lang/ee.png); } .c-nav--lang-anchor-et { background-image: url(/wp-content/themes/biuro/i/lang/et.png); }
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
.c-search--keyword { } .c-search--keyword { }
.l-section--front-page { .l-section--front-page {
.c-search { height: 70px; } .c-search { height: 70px; box-shadow: 6px 10px 48px 0 #D4DBE4; }
.c-search--input { height: 70px; line-height: 70px; } .c-search--input { height: 70px; line-height: 70px; }
} }
......
...@@ -12,12 +12,23 @@ ...@@ -12,12 +12,23 @@
.c-share--option { height: 36px; flex: 0 0 50px; border-radius: 3px; margin: 0 3px; text-decoration: none; display: flex; align-items: center; justify-content: center; } .c-share--option { height: 36px; flex: 0 0 50px; border-radius: 3px; margin: 0 3px; text-decoration: none; display: flex; align-items: center; justify-content: center; }
.c-share--option-facebook { background-color: #4367B0; }
.c-share--option-messenger { background-color: #1983FA; } .c-share--option-facebook { background-color: #4367B0;
&:hover { background-color: #2F4F90; }
}
.c-share--option-email { background-color: #2A3644; } .c-share--option-messenger { background-color: #1983FA;
&:hover { background-color: #1B6FCC; }
}
.c-share--option-copy { background-color: #858585; } .c-share--option-email { background-color: #2A3644;
&:hover { background-color: #000000; }
}
.c-share--option-phone { background-color: #25D366; } .c-share--option-copy { background-color: #858585;
&:hover { background-color: #5C5C5C; }
}
.c-share--option-phone { background-color: #25D366;
&:hover { background-color: #1BAF52; }
}
...@@ -19,4 +19,4 @@ ...@@ -19,4 +19,4 @@
} }
.is-nav--main-anchor-active { border-bottom-color: var(--color--blue-dark); opacity: 1; } .is-nav--main-anchor-active { border-bottom-color: var(--color--blue-dark); opacity: 1; }
.is-nav--sub-anchor-active { color: var(--color--green-darker); } .is-nav--sub-anchor-active { color: #19C5A7; }
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -104,7 +104,7 @@ document.querySelectorAll('.js-job-action').forEach(function (node) { ...@@ -104,7 +104,7 @@ document.querySelectorAll('.js-job-action').forEach(function (node) {
}); });
</script> </script>
<script src="/wp-content/themes/biuro/js/main-2b4d2ad0.min.js" async></script> <script src="/wp-content/themes/biuro/js/main-d16b21ee.min.js" async></script>
<?php wp_footer(); ?> <?php wp_footer(); ?>
</body> </body>
</html> </html>
...@@ -305,15 +305,15 @@ function init_biuro_theme() { ...@@ -305,15 +305,15 @@ function init_biuro_theme() {
) )
); );
if (function_exists('pll_register_string')) : // if (function_exists('pll_register_string')) :
pll_register_string('biuro-job-search', 'Job search', 'Biuro'); // pll_register_string('biuro-job-search', 'Job search', 'Biuro');
pll_register_string('biuro-clear', 'Clear', 'Biuro'); // pll_register_string('biuro-clear', 'Clear', 'Biuro');
pll_register_string('biuro-language', 'Language', 'Biuro'); // pll_register_string('biuro-language', 'Language', 'Biuro');
pll_register_string('biuro-next', 'Next ', 'Biuro'); // pll_register_string('biuro-next', 'Next ', 'Biuro');
pll_register_string('biuro-previous', 'Previous', 'Biuro'); // pll_register_string('biuro-previous', 'Previous', 'Biuro');
pll_register_string('biuro-home', 'Home page', 'Biuro'); // pll_register_string('biuro-home', 'Home page', 'Biuro');
endif; // endif;
} }
add_action('init', 'init_biuro_theme'); add_action('init', 'init_biuro_theme');
......
...@@ -32,16 +32,16 @@ define('cityID', $cityID); ...@@ -32,16 +32,16 @@ define('cityID', $cityID);
?> ?>
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
<style><?php include 'css/core-09a3c5bc76.min.css'; ?></style> <style><?php include 'css/core-709583638a.min.css'; ?></style>
<link rel="preload" href="/wp-content/themes/biuro/css/main-1b4736af34.min.css" as="style" onload="this.rel='stylesheet'"> <link rel="preload" href="/wp-content/themes/biuro/css/main-10660ecc9b.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preload" href="/wp-content/themes/biuro/fonts/pt_sans_narrow.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="/wp-content/themes/biuro/fonts/pt_sans_narrow.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/wp-content/themes/biuro/fonts/pt_sans_narrow_bold.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="/wp-content/themes/biuro/fonts/pt_sans_narrow_bold.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/wp-content/themes/biuro/fonts/bebas-neue.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="/wp-content/themes/biuro/fonts/bebas-neue.woff2" as="font" type="font/woff2" crossorigin>
<noscript> <noscript>
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-1b4736af34.min.css"> <link rel="stylesheet" href="/wp-content/themes/biuro/css/main-10660ecc9b.min.css">
</noscript> </noscript>
<?php wp_head(); ?> <?php wp_head(); ?>
...@@ -107,15 +107,22 @@ global $post; ...@@ -107,15 +107,22 @@ global $post;
get_template_part( 'template-parts/menus/menu', 'main' ); get_template_part( 'template-parts/menus/menu', 'main' );
?> ?>
</nav> </nav>
<a href="tel:+37064902392" class="c-phone"> <a href="tel:+37064902392" class="c-phone">
<svg xmlns="http://www.w3.org/2000/svg" width="21px" height="22px" viewBox="0 0 21 22"> <svg xmlns="http://www.w3.org/2000/svg" width="21px" height="22px" viewBox="0 0 21 22">
<path d="M20.0073662,1.61350199 C20.5897947,1.74475969 20.9999499,2.26157937 20.9999499,2.86039004 C20.9999499,13.2496151 12.5794702,21.6249937 2.23534623,21.6249937 C1.63653556,21.6249937 1.11971588,21.2148385 0.984372653,20.6283244 L0.0328044109,16.4980528 C-0.106624349,15.8951166 0.205077636,15.2798837 0.775209486,15.0337905 L5.2212686,13.1265685 C5.74217381,12.9009831 6.35740672,13.0527486 6.71833535,13.4916227 L8.52714413,15.7023356 C11.3695122,14.3078077 13.6786783,11.994556 15.0732063,9.15627347 L12.8624533,7.34750474 C12.4236192,6.98653606 12.2718538,6.37130315 12.4974392,5.850438 L14.4046612,1.4002533 C14.6507543,0.830121445 15.2700728,0.51841946 15.873009,0.65784822 L20.0073662,1.61350199 Z M2.25993953,20.3124969 C11.8780807,20.3002002 19.6751564,12.5072501 19.6833675,2.88910892 L15.598197,1.9457518 L13.7114827,6.35079539 L16.6974051,8.79121926 C14.7122776,13.0240297 12.4112825,15.3331958 8.16208992,17.3265745 L5.72166605,14.3406521 L1.3165824,16.2273664 L2.25993953,20.3124969 Z"></path> <path d="M20.0073662,1.61350199 C20.5897947,1.74475969 20.9999499,2.26157937 20.9999499,2.86039004 C20.9999499,13.2496151 12.5794702,21.6249937 2.23534623,21.6249937 C1.63653556,21.6249937 1.11971588,21.2148385 0.984372653,20.6283244 L0.0328044109,16.4980528 C-0.106624349,15.8951166 0.205077636,15.2798837 0.775209486,15.0337905 L5.2212686,13.1265685 C5.74217381,12.9009831 6.35740672,13.0527486 6.71833535,13.4916227 L8.52714413,15.7023356 C11.3695122,14.3078077 13.6786783,11.994556 15.0732063,9.15627347 L12.8624533,7.34750474 C12.4236192,6.98653606 12.2718538,6.37130315 12.4974392,5.850438 L14.4046612,1.4002533 C14.6507543,0.830121445 15.2700728,0.51841946 15.873009,0.65784822 L20.0073662,1.61350199 Z M2.25993953,20.3124969 C11.8780807,20.3002002 19.6751564,12.5072501 19.6833675,2.88910892 L15.598197,1.9457518 L13.7114827,6.35079539 L16.6974051,8.79121926 C14.7122776,13.0240297 12.4112825,15.3331958 8.16208992,17.3265745 L5.72166605,14.3406521 L1.3165824,16.2273664 L2.25993953,20.3124969 Z"></path>
</svg> +370 649 02392 </svg> +370 649 02392
</a> </a>
<?php
<button class="o-btn c-btn--main c-btn--header"><?php _e('Get a job offer', 'biuro'); ?></button> <!-- Gauk darbo pasiūlymą --> if ( get_post_meta( $post->ID, 'section', true) == 'employers'):
?>
<a href="/darbdaviams/kontaktai-darbdaviams/" class="o-btn c-btn--main c-btn--header"><?php _e('Get an offer', 'biuro'); ?></a> <!-- Gaukite pasiūlymą -->
<?php
else:
?>
<a href="/darbuotojams/kontaktai/" class="o-btn c-btn--main c-btn--header"><?php _e('Get a job offer', 'biuro'); ?></a> <!-- Gaukite darbo pasiūlymą -->
<?php
endif;
?>
<div class="c-nav--lang-wrap"> <div class="c-nav--lang-wrap">
<?php <?php
get_template_part( 'template-parts/menus/menu', 'language' ); get_template_part( 'template-parts/menus/menu', 'language' );
......
...@@ -101,10 +101,6 @@ function setMarkers (map, positions) { ...@@ -101,10 +101,6 @@ function setMarkers (map, positions) {
var info; var info;
var bounds = new window.google.maps.LatLngBounds(); var bounds = new window.google.maps.LatLngBounds();
map.mapTypes.set('biuro', new window.google.maps.StyledMapType(mapStyles, { name: 'Biuro' }));
map.setMapTypeId('biuro');
for (var i = 0; i < positions.length; i++) { for (var i = 0; i < positions.length; i++) {
const position = positions[i]; const position = positions[i];
const pos = new window.google.maps.LatLng(position.lat, position.lng); const pos = new window.google.maps.LatLng(position.lat, position.lng);
...@@ -148,6 +144,10 @@ function initRegionsMap (node) { ...@@ -148,6 +144,10 @@ function initRegionsMap (node) {
mapTypeIds: [window.google.maps.MapTypeId.ROADMAP, window.google.maps.MapTypeId.HYBRID, 'biuro'] mapTypeIds: [window.google.maps.MapTypeId.ROADMAP, window.google.maps.MapTypeId.HYBRID, 'biuro']
}); });
map.mapTypes.set('biuro', new window.google.maps.StyledMapType(mapStyles, { name: 'Biuro' }));
map.setMapTypeId('biuro');
window.google.maps.event.addListenerOnce(map, 'bounds_changed', function () { window.google.maps.event.addListenerOnce(map, 'bounds_changed', function () {
if (this.getZoom() > 15) { if (this.getZoom() > 15) {
this.setZoom(14); this.setZoom(14);
...@@ -173,6 +173,10 @@ function initDivisionsMap (node, data) { ...@@ -173,6 +173,10 @@ function initDivisionsMap (node, data) {
mapTypeIds: [window.google.maps.MapTypeId.ROADMAP, window.google.maps.MapTypeId.HYBRID, 'biuro'] mapTypeIds: [window.google.maps.MapTypeId.ROADMAP, window.google.maps.MapTypeId.HYBRID, 'biuro']
}); });
map.mapTypes.set('biuro', new window.google.maps.StyledMapType(mapStyles, { name: 'Biuro' }));
map.setMapTypeId('biuro');
window.google.maps.event.addListenerOnce(map, 'bounds_changed', function () { window.google.maps.event.addListenerOnce(map, 'bounds_changed', function () {
if (this.getZoom() > 15) { if (this.getZoom() > 15) {
this.setZoom(14); this.setZoom(14);
...@@ -307,3 +311,32 @@ document.querySelectorAll('.js-expand-jobs-section').forEach((node) => { ...@@ -307,3 +311,32 @@ document.querySelectorAll('.js-expand-jobs-section').forEach((node) => {
node.remove(); node.remove();
}); });
}); });
const initiatePositionForm = () => {
const button = document.querySelector('[name="s"][value="1"]');
if (button) {
button.click();
return;
}
const input = document.querySelector('[name="name"]');
if (input) {
input.focus();
}
}
if (document.querySelector('.js-inititate-position-form')) {
document.querySelector('.js-inititate-position-form').addEventListener('click', initiatePositionForm);
}
if (document.querySelector('.js-focus-form')) {
document.querySelector('.js-focus-form').addEventListener('click', () => {
const input = document.querySelector('.c-form input:first-of-type');
if (input) {
input.focus();
}
});
}
...@@ -41,9 +41,9 @@ get_header(); ?> ...@@ -41,9 +41,9 @@ get_header(); ?>
</div> </div>
</div> </div>
<div id="content"> <div id="content" class="l-main">
<div id="content" class="l-content l-content--heading"> <div class="l-content l-content--heading">
<?php <?php
if ( !is_search() ): if ( !is_search() ):
...@@ -134,7 +134,7 @@ get_header(); ?> ...@@ -134,7 +134,7 @@ get_header(); ?>
$params = array( $params = array(
'orderby' => 'date DESC', 'orderby' => 'date DESC',
'where' => $where, 'where' => $where,
'limit' => 21 'limit' => 20
); );
$jobs = pods( 'job', $params ); $jobs = pods( 'job', $params );
......
...@@ -61,10 +61,11 @@ ...@@ -61,10 +61,11 @@
if ($o): if ($o):
return $o; return $o;
endif; endif;
$t = $b['total'] - $a['total'];
if ($t): // $t = $b['total'] - $a['total'];
return $t; // if ($t):
endif; // return $t;
// endif;
return $a['name'] > $b['name']; return $a['name'] > $b['name'];
}); });
......
...@@ -39,7 +39,7 @@ get_header(); ...@@ -39,7 +39,7 @@ get_header();
$pod = pods( 'job', get_the_id() ); $pod = pods( 'job', get_the_id() );
if ($pod->field( 'salary_from' ) > 0 || $pod->field( 'salary_to' ) > 0): if (!is_array($pod->field( 'salary_from' )) && $pod->field( 'salary_from' ) > 0 || !is_array($pod->field( 'salary_to' )) && $pod->field( 'salary_to' ) > 0):
?> ?>
<p> <p>
<?php <?php
...@@ -59,6 +59,8 @@ get_header(); ...@@ -59,6 +59,8 @@ get_header();
</p> </p>
<?php <?php
endif; endif;
$validPosition = date_i18n( 'Y-m-d', strtotime( $pod->field( 'valid' ) ) ) > date('Y-m-d') ? true : false;
?> ?>
<p> <p>
<?php _e('Published', 'biuro'); ?>: <?php echo date_i18n( get_option( 'date_format' ), strtotime( $pod->field( 'post_date' ) ) ); ?> <?php _e('Published', 'biuro'); ?>: <?php echo date_i18n( get_option( 'date_format' ), strtotime( $pod->field( 'post_date' ) ) ); ?>
...@@ -66,15 +68,24 @@ get_header(); ...@@ -66,15 +68,24 @@ get_header();
<?php _e('Valid till', 'biuro'); ?>: <?php echo date_i18n( get_option( 'date_format' ), strtotime( $pod->field( 'valid' ) ) ); ?> <?php _e('Valid till', 'biuro'); ?>: <?php echo date_i18n( get_option( 'date_format' ), strtotime( $pod->field( 'valid' ) ) ); ?>
</p> </p>
<?php
if ($validPosition):
?>
<div class="c-job--action"> <div class="c-job--action">
<button type="submit" class="js-toggle-position-form o-btn c-btn--main c-btn--fill" name="submit" value="1" data-id="action--form"><?php _e('Candidate', 'biuro'); ?></button> <button type="submit" class="js-inititate-position-form o-btn c-btn--main c-btn--fill" name="submit" value="1" data-id="action--form"><?php _e('Apply', 'biuro'); ?></button>
</div> </div>
<?php
endif;
?>
</main><!-- .l-main --> </main><!-- .l-main -->
<aside class="l-aside--position"> <aside class="l-aside--position">
<?php <?php
if ($validPosition):
get_template_part( 'template-parts/layout/aside', 'job' ); get_template_part( 'template-parts/layout/aside', 'job' );
else:
get_template_part( 'template-parts/layout/aside', 'job-inactive' );
endif;
?> ?>
</aside><!-- .l-aside --> </aside><!-- .l-aside -->
......
...@@ -19,6 +19,17 @@ ...@@ -19,6 +19,17 @@
</symbol> </symbol>
<symbol id="ico--job-fb" viewBox="0 0 56 56"> <symbol id="ico--job-fb" viewBox="0 0 56 56">
</symbol> </symbol>
<symbol id="ico--phone" viewBox="0 0 19 20">
<path fill="#2A3644" d="M18.102,1.269C18.629,1.388,19,1.856,19,2.398c0,9.4-7.619,16.977-16.977,16.977 c-0.542,0-1.009-0.371-1.132-0.902L0.03,14.736c-0.126-0.546,0.156-1.102,0.672-1.325l4.023-1.726 c0.471-0.204,1.028-0.067,1.354,0.33l1.637,2c2.572-1.262,4.661-3.355,5.923-5.923l-2-1.636c-0.397-0.327-0.534-0.883-0.33-1.354 l1.726-4.026c0.223-0.516,0.783-0.798,1.328-0.672L18.102,1.269z M2.045,18.188c8.702-0.011,15.757-7.062,15.764-15.764L14.113,1.57 l-1.707,3.986l2.702,2.208c-1.796,3.83-3.878,5.919-7.722,7.722l-2.208-2.702l-3.986,1.707L2.045,18.188z"/>
</symbol>
<symbol id="ico--email" viewBox="0 0 20 15">
<path fill="#2A3644" d="M17.641,0.75c0.983,0,1.781,0.798,1.781,1.781v10.688c0,0.983-0.798,1.781-1.781,1.781H2.203 c-0.983,0-1.781-0.798-1.781-1.781V2.531c0-0.983,0.798-1.781,1.781-1.781H17.641z M2.203,1.938c-0.327,0-0.594,0.267-0.594,0.594 v1.536C2.422,4.754,3.584,5.7,7.198,8.569c0.623,0.497,1.863,1.696,2.724,1.681c0.861,0.015,2.097-1.184,2.724-1.681 c3.614-2.869,4.776-3.815,5.589-4.501V2.531c0-0.327-0.267-0.594-0.594-0.594H2.203z M17.641,13.813 c0.327,0,0.594-0.267,0.594-0.594V5.611c-0.846,0.694-2.182,1.766-4.85,3.885c-0.779,0.623-2.112,1.952-3.462,1.941 C8.564,11.445,7.22,10.105,6.46,9.497c-2.668-2.119-4.004-3.191-4.85-3.885v7.607c0,0.327,0.267,0.594,0.594,0.594H17.641z"/>
</symbol>
<symbol id="ico--address" viewBox="0 0 15 21">
<path fill="#2A3644" d="M7.5,4.25c2.068,0,3.75,1.682,3.75,3.75s-1.682,3.75-3.75,3.75S3.75,10.068,3.75,8 S5.432,4.25,7.5,4.25z M7.5,10.5C8.878,10.5,10,9.379,10,8S8.878,5.5,7.5,5.5C6.121,5.5,5,6.622,5,8C5,9.379,6.121,10.5,7.5,10.5z M7.5,0.5C11.642,0.5,15,3.858,15,8c0,3.024-1.054,3.868-6.729,12.096c-0.373,0.538-1.169,0.538-1.542,0C1.054,11.868,0,11.024,0,8 C0,3.858,3.358,0.5,7.5,0.5z M7.5,19.013c5.442-7.87,6.25-8.494,6.25-11.013c0-1.669-0.65-3.239-1.831-4.419 C10.739,2.4,9.169,1.75,7.5,1.75S4.261,2.4,3.081,3.581C1.9,4.761,1.25,6.331,1.25,8C1.25,10.519,2.059,11.144,7.5,19.013z"/>
</symbol>
</svg> </svg>
<div class="c-share"> <div class="c-share">
...@@ -52,22 +63,22 @@ ...@@ -52,22 +63,22 @@
<ul> <ul>
<li> <li>
<a class="gtm-b2c-phone-click" href="tel: 8 379 99254"> <a class="gtm-b2c-phone-click" href="tel: 8 379 99254">
<svg xmlns="http://www.w3.org/2000/svg" width="19px" height="20px" viewBox="0 0 19 20" class="c-ico--phone"> <svg width="19px" height="20px" class="c-ico--phone">
<path fill="#2A3644" d="M18.102,1.269C18.629,1.388,19,1.856,19,2.398c0,9.4-7.619,16.977-16.977,16.977 c-0.542,0-1.009-0.371-1.132-0.902L0.03,14.736c-0.126-0.546,0.156-1.102,0.672-1.325l4.023-1.726 c0.471-0.204,1.028-0.067,1.354,0.33l1.637,2c2.572-1.262,4.661-3.355,5.923-5.923l-2-1.636c-0.397-0.327-0.534-0.883-0.33-1.354 l1.726-4.026c0.223-0.516,0.783-0.798,1.328-0.672L18.102,1.269z M2.045,18.188c8.702-0.011,15.757-7.062,15.764-15.764L14.113,1.57 l-1.707,3.986l2.702,2.208c-1.796,3.83-3.878,5.919-7.722,7.722l-2.208-2.702l-3.986,1.707L2.045,18.188z"/> <use xlink:href="#ico--phone"></use>
</svg> 8 379 99254 </svg> 8 379 99254
</a> </a>
</li> </li>
<li> <li>
<a class="gtm-b2c-email-click" href="mailto:kaunascv@biuro.lt"> <a class="gtm-b2c-email-click" href="mailto:kaunascv@biuro.lt">
<svg xmlns="http://www.w3.org/2000/svg"width="20px" height="15px" viewBox="0 0 20 15" class="c-ico--email"> <svg width="20px" height="15px" class="c-ico--email">
<path fill="#2A3644" d="M17.641,0.75c0.983,0,1.781,0.798,1.781,1.781v10.688c0,0.983-0.798,1.781-1.781,1.781H2.203 c-0.983,0-1.781-0.798-1.781-1.781V2.531c0-0.983,0.798-1.781,1.781-1.781H17.641z M2.203,1.938c-0.327,0-0.594,0.267-0.594,0.594 v1.536C2.422,4.754,3.584,5.7,7.198,8.569c0.623,0.497,1.863,1.696,2.724,1.681c0.861,0.015,2.097-1.184,2.724-1.681 c3.614-2.869,4.776-3.815,5.589-4.501V2.531c0-0.327-0.267-0.594-0.594-0.594H2.203z M17.641,13.813 c0.327,0,0.594-0.267,0.594-0.594V5.611c-0.846,0.694-2.182,1.766-4.85,3.885c-0.779,0.623-2.112,1.952-3.462,1.941 C8.564,11.445,7.22,10.105,6.46,9.497c-2.668-2.119-4.004-3.191-4.85-3.885v7.607c0,0.327,0.267,0.594,0.594,0.594H17.641z"/> <use xlink:href="#ico--email"></use>
</svg> kaunascv@biuro.lt </svg> kaunascv@biuro.lt
</a> </a>
</li> </li>
<li> <li>
<a href="https://maps.google.com/?q=Gedimino g. 47 - 301, Kaunas" target="_blank" rel="noopener"> <a href="https://maps.google.com/?q=Gedimino g. 47 - 301, Kaunas" target="_blank" rel="noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="15px" height="21px" viewBox="0 0 15 21" class="c-ico--address"> <svg width="15px" height="21px" class="c-ico--address">
<path fill="#2A3644" d="M7.5,4.25c2.068,0,3.75,1.682,3.75,3.75s-1.682,3.75-3.75,3.75S3.75,10.068,3.75,8 S5.432,4.25,7.5,4.25z M7.5,10.5C8.878,10.5,10,9.379,10,8S8.878,5.5,7.5,5.5C6.121,5.5,5,6.622,5,8C5,9.379,6.121,10.5,7.5,10.5z M7.5,0.5C11.642,0.5,15,3.858,15,8c0,3.024-1.054,3.868-6.729,12.096c-0.373,0.538-1.169,0.538-1.542,0C1.054,11.868,0,11.024,0,8 C0,3.858,3.358,0.5,7.5,0.5z M7.5,19.013c5.442-7.87,6.25-8.494,6.25-11.013c0-1.669-0.65-3.239-1.831-4.419 C10.739,2.4,9.169,1.75,7.5,1.75S4.261,2.4,3.081,3.581C1.9,4.761,1.25,6.331,1.25,8C1.25,10.519,2.059,11.144,7.5,19.013z"/> <use xlink:href="#ico--address"></use>
</svg> Gedimino g. 47 – 301, Kaunas </svg> Gedimino g. 47 – 301, Kaunas
</a> </a>
</li> </li>
......
...@@ -5,15 +5,15 @@ if ( !function_exists('yoast_breadcrumb') || is_front_page() || is_search() ) : ...@@ -5,15 +5,15 @@ if ( !function_exists('yoast_breadcrumb') || is_front_page() || is_search() ) :
return; return;
endif; endif;
if ( cityID ) : // if ( cityID ) :
$page = get_term_meta( cityID, 'page-id', true); // $page = get_term_meta( cityID, 'page-id', true);
if ( $page ) : // if ( $page ) :
yoast_breadcrumb('<div class="c-breadcrumbs"><a href="' . pll_home_url() . '">' . pll__('Home page') . '</a> › ' . get_the_title( $page['ID'] ) . ' ','</div>'); // yoast_breadcrumb('<div class="c-breadcrumbs"><a href="' . pll_home_url() . '">' . pll__('Home page') . '</a> › ' . get_the_title( $page['ID'] ) . ' ','</div>');
endif; // endif;
else: // else:
yoast_breadcrumb('<div class="c-breadcrumbs"><a href="' . pll_home_url() . '">' . pll__('Home page') . '</a> › ','</div>'); // yoast_breadcrumb('<div class="c-breadcrumbs"><a href="' . pll_home_url() . '">' . pll__('Home page') . '</a> › ','</div>');
endif; // endif;
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
return true; return true;
endif; endif;
return ( get_post_meta( $childID, 'divisions-page', true )&& pods( 'division' )->find( array( 'limit' => 1, 'where'=>"page-id.ID = " . $ID ) )->total() ) ? true : false; return ( get_post_meta( $childID, 'divisions-page', true ) && pods( 'division' )->find( array( 'limit' => 1, 'where'=>"page-id.ID = " . $ID ) )->total() ) ? true : false;
} }
foreach( $menu_items as $menu_item ): foreach( $menu_items as $menu_item ):
......
...@@ -23,11 +23,11 @@ if ( is_search() ) : ...@@ -23,11 +23,11 @@ if ( is_search() ) :
$term = get_term_by( 'name', $searchQuery['s'], 'field' ); $term = get_term_by( 'name', $searchQuery['s'], 'field' );
if ( !$term ) { if ( !$term ) :
$term = get_term_by( 'name', $searchQuery['s'], 'type' ); $term = get_term_by( 'name', $searchQuery['s'], 'type' );
} endif;
if ( $term ) { if ( $term ) :
$page = get_term_meta( $term->term_id, 'page-id', true); $page = get_term_meta( $term->term_id, 'page-id', true);
if ( $page ) : if ( $page ) :
...@@ -36,12 +36,14 @@ if ( is_search() ) : ...@@ -36,12 +36,14 @@ if ( is_search() ) :
<?php <?php
return; return;
endif; endif;
}
endif; endif;
else:
?> ?>
<meta name="robots" content="noindex" /> <meta name="robots" content="noindex" />
<?php <?php
endif;
elseif ( get_post_type() == 'page' ): elseif ( get_post_type() == 'page' ):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment