Commit 164c836a authored by Simonas's avatar Simonas

fixes

parent cce002c8
...@@ -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;
......
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;
......
...@@ -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="s" 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="s" 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 -->
...@@ -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="s" 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="s" 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 -->
...@@ -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="s" 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,7 +26,7 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -26,7 +26,7 @@ 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' || !$nameValue): ?> 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>
...@@ -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="s" 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 name="form-position" 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
......
...@@ -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,7 +11,11 @@ ...@@ -11,7 +11,11 @@
.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;
@media (--min--small) { @media (--min--small) {
......
...@@ -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-e6f2c7d4.min.js" async></script> <script src="/wp-content/themes/biuro/js/main.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-3c4944c2d7.min.css'; ?></style> <style><?php include 'css/core.min.css'; ?></style>
<link rel="preload" href="/wp-content/themes/biuro/css/main-84005976e1.min.css" as="style" onload="this.rel='stylesheet'"> <link rel="preload" href="/wp-content/themes/biuro/css/main.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-84005976e1.min.css"> <link rel="stylesheet" href="/wp-content/themes/biuro/css/main.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' );
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -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);
...@@ -308,7 +312,6 @@ document.querySelectorAll('.js-expand-jobs-section').forEach((node) => { ...@@ -308,7 +312,6 @@ document.querySelectorAll('.js-expand-jobs-section').forEach((node) => {
}); });
}); });
const initiatePositionForm = () => { const initiatePositionForm = () => {
const button = document.querySelector('[name="s"][value="1"]'); const button = document.querySelector('[name="s"][value="1"]');
...@@ -327,3 +330,13 @@ const initiatePositionForm = () => { ...@@ -327,3 +330,13 @@ const initiatePositionForm = () => {
if (document.querySelector('.js-inititate-position-form')) { if (document.querySelector('.js-inititate-position-form')) {
document.querySelector('.js-inititate-position-form').addEventListener('click', initiatePositionForm); 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();
}
});
}
This diff is collapsed.
...@@ -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
...@@ -72,7 +72,7 @@ get_header(); ...@@ -72,7 +72,7 @@ get_header();
if ($validPosition): if ($validPosition):
?> ?>
<div class="c-job--action"> <div class="c-job--action">
<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('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 <?php
endif; endif;
......
...@@ -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