Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dev.biuro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Biuro
dev.biuro
Commits
c1a02d62
Commit
c1a02d62
authored
Sep 30, 2021
by
Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release 1.29.1
parent
a9060217
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
10 deletions
+16
-10
README.md
README.md
+2
-2
footer.php
wp-content/themes/biuro/footer.php
+5
-1
front-page.php
wp-content/themes/biuro/front-page.php
+3
-3
header.php
wp-content/themes/biuro/header.php
+3
-1
single-job.php
wp-content/themes/biuro/single-job.php
+2
-2
style.css
wp-content/themes/biuro/style.css
+1
-1
No files found.
README.md
View file @
c1a02d62
...
...
@@ -20,9 +20,9 @@
## Production
-
build CSS & JS assets -
`C:\web\dev.biuro\ npm run build`
-
build new image
`docker build -t biuro/web:1.29.
0
.`
(update version number)
-
build new image
`docker build -t biuro/web:1.29.
1
.`
(update version number)
-
login to biuro docker account
`docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs`
-
push image to docker repository -
`docker push biuro/web:1.29.
0
`
-
push image to docker repository -
`docker push biuro/web:1.29.
1
`
## Production
-
update biuro/web image version in .env file (staging or www)
...
...
wp-content/themes/biuro/footer.php
View file @
c1a02d62
...
...
@@ -156,6 +156,10 @@
<script
src=
"/wp-content/themes/biuro/js/vendor/modernizr-custom.js"
async
defer
></script>
<?php
wp_footer
();
?>
<?php
if
(
get_post_meta
(
get_the_ID
(),
'load-scripts'
,
true
)
==
true
)
:
wp_footer
();
endif
;
?>
</body>
</html>
wp-content/themes/biuro/front-page.php
View file @
c1a02d62
...
...
@@ -142,7 +142,7 @@
<source
type=
"image/webp"
media=
"(max-width: 959px)"
srcset=
"/wp-content/themes/biuro/i/newsletter/newsletter-sm.webp"
>
<source
type=
"image/webp"
srcset=
"/wp-content/themes/biuro/i/newsletter/newsletter.webp"
>
<source
media=
"(max-width: 959px)"
srcset=
"/wp-content/themes/biuro/i/newsletter/newsletter-sm.png"
>
<img
loading=
"lazy"
src
set
=
"/wp-content/themes/biuro/i/newsletter/newsletter.png"
alt=
""
width=
"278"
height=
"345"
>
<img
loading=
"lazy"
src=
"/wp-content/themes/biuro/i/newsletter/newsletter.png"
alt=
""
width=
"278"
height=
"345"
>
</picture>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"95px"
height=
"95px"
viewBox=
"0 0 95 95"
class=
"c-newsletter--ico"
>
<path
fill=
"#FFFFFF"
d=
"M91.769,30.525L66.673,10.365C62.572,7.086,55.56,0,47.5,0 c-7.735,0-14.473,6.516-18.72,9.997l-0.453,0.367C23.788,13.973,4.007,29.883,3.25,30.505C1.456,31.98,0,35.063,0,37.385v48.709 C0,91.012,3.987,95,8.906,95h77.188C91.013,95,95,91.012,95,86.094V37.389C95,35.075,93.552,32,91.769,30.525z M86,84.889 C86,85.502,85.502,86,84.889,86H10.111C9.498,86,9,85.502,9,84.889v-46.95c0-0.335,0.151-0.653,0.412-0.864l24.5-19.674 C37.274,14.716,43.131,9,47.5,9c4.294,0,10.092,5.567,13.381,8.235l14.762,11.839c4.544,3.653,8.645,6.955,9.945,8.006 c0.199,0.161,0.365,0.477,0.403,0.749L86,37.943V84.889z M80.495,49.352c0.784,0.98,0.64,2.431-0.322,3.227L67.077,63.385 C62.887,66.833,55.976,74,48,74c-7.881,0-14.762-7.014-18.861-10.435L15.828,52.579l0,0c-0.962-0.796-1.106-2.247-0.322-3.227 l2.817-3.521c0.771-0.964,2.152-1.11,3.098-0.328l13.027,10.75c3.241,2.664,9.179,8.625,13.553,8.625 c4.172,0,9.705-5.379,13.112-8.257L74.58,45.503l0,0c0.946-0.782,2.327-0.636,3.098,0.328L80.495,49.352z"
/>
...
...
@@ -162,10 +162,10 @@
<?php
wp_nonce_field
(
'newsletters_post_nonce'
,
'_wpnonce_newsletters'
);
?>
</form>
<div
class=
"c-newsletter--privacy"
>
<?php
_e
(
'We process your personal data to send you newsletters. More information at <a href="https://biuro.eu/privacy-en.html" target="_blank" rel="noopener">Personal Data Protection Policy.</a>'
,
'biuro'
);
?>
</div>
</div>
<!-- .c-newsletter--content -->
</div>
</div>
<!-- .c-newsletter--inner -->
</div>
</div>
<!-- .c-newsletter -->
<?php
...
...
wp-content/themes/biuro/header.php
View file @
c1a02d62
...
...
@@ -63,7 +63,9 @@
</noscript>
<?php
if
(
get_post_meta
(
get_the_ID
(),
'load-scripts'
,
true
)
==
true
)
:
wp_head
();
endif
;
if
(
get_post_type
()
==
'page'
)
:
$langs
=
pll_the_languages
(
array
(
...
...
wp-content/themes/biuro/single-job.php
View file @
c1a02d62
...
...
@@ -318,9 +318,9 @@ get_header();
?>
<meta
itemprop=
"minValue"
content=
"
<?php
echo
$pod
->
field
(
'salary_from'
);
?>
"
/>
<meta
itemprop=
"maxValue"
content=
"
<?php
echo
$pod
->
field
(
'salary_to'
);
?>
"
/>
<?php
elseif
(
$pod
->
field
(
'salary_from'
)
>
0
)
:
?>
<meta
itemprop=
"value"
content=
"
<?php
echo
intval
(
$pod
->
field
(
'salary_from'
));
?>
"
/>
?>
<meta
itemprop=
"value"
content=
<?php
echo
intval
(
$pod
->
field
(
'salary_from'
));
?>
/
>
<?php
elseif
(
$pod
->
field
(
'salary_to'
)
>
0
)
:
?>
<meta
itemprop=
"value"
content=
"
<?php
echo
intval
(
$pod
->
field
(
'salary_to'
));
?>
"
/>
?>
<meta
itemprop=
"value"
content=
<?php
echo
intval
(
$pod
->
field
(
'salary_to'
));
?>
/
>
<?php
endif
;
?>
</div>
<?php
...
...
wp-content/themes/biuro/style.css
View file @
c1a02d62
...
...
@@ -3,6 +3,6 @@ Theme Name: Biuro
Author: Biuro
Author URI: https://www.biuro.lt/
Description: Biuro multiregion theme
Version: 1.29.
0
Version: 1.29.
1
Text Domain: biuro
*/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment