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
ee9ef7a2
Commit
ee9ef7a2
authored
Nov 20, 2020
by
Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release 1.22.1
parent
f4381606
Changes
14
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
36 additions
and
29 deletions
+36
-29
README.md
README.md
+2
-2
_layout--content.css
wp-content/themes/biuro/css/05-layout/_layout--content.css
+5
-1
_component--jobs-manager.css
...emes/biuro/css/07-components/_component--jobs-manager.css
+4
-0
_component--members.css
...nt/themes/biuro/css/07-components/_component--members.css
+1
-0
core-37788b01fc.min.css
wp-content/themes/biuro/css/core-37788b01fc.min.css
+0
-1
core-7662d27dec.min.css
wp-content/themes/biuro/css/core-7662d27dec.min.css
+1
-0
main-bbc0ec2b25.min.css
wp-content/themes/biuro/css/main-bbc0ec2b25.min.css
+1
-1
header-langing.php
wp-content/themes/biuro/header-langing.php
+3
-3
header.php
wp-content/themes/biuro/header.php
+3
-3
member-placeholder.png
wp-content/themes/biuro/i/member-placeholder.png
+0
-0
single-job.php
wp-content/themes/biuro/single-job.php
+12
-3
style.css
wp-content/themes/biuro/style.css
+1
-1
aside-job.php
wp-content/themes/biuro/template-parts/layout/aside-job.php
+2
-7
teams.php
wp-content/themes/biuro/template-parts/teams/teams.php
+1
-7
No files found.
README.md
View file @
ee9ef7a2
...
...
@@ -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.22.
0
.`
(update version number)
-
build new image
`docker build -t biuro/web:1.22.
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.22.
0
`
-
push image to docker repository -
`docker push biuro/web:1.22.
1
`
## Production
-
update biuro/web image version in .env file (staging or www)
...
...
wp-content/themes/biuro/css/05-layout/_layout--content.css
View file @
ee9ef7a2
...
...
@@ -9,7 +9,7 @@
}
.l-content--position-banner
{
max-width
:
109
6px
;
max-width
:
96
6px
;
margin
:
10px
auto
20px
;
@media
(--min--medium)
{
...
...
@@ -17,6 +17,10 @@
}
}
.l-content--position-banner--wide
{
max-width
:
1096px
;
}
.l-content--position
{
position
:
relative
;
padding
:
10px
10px
0
;
@media
(--min--medium)
{
padding
:
40px
20px
;
...
...
wp-content/themes/biuro/css/07-components/_component--jobs-manager.css
View file @
ee9ef7a2
...
...
@@ -78,6 +78,10 @@
@media
(--min--xxx-small)
{
left
:
30px
;
}
img
{
border-radius
:
50%
;
}
}
.c-jobs-manager--member-name
{
...
...
wp-content/themes/biuro/css/07-components/_component--members.css
View file @
ee9ef7a2
...
...
@@ -23,6 +23,7 @@
margin
:
0
auto
16px
;
border-radius
:
50%
;
background
:
#c4c4c4
;
overflow
:
hidden
;
}
.c-member--info
{
...
...
wp-content/themes/biuro/css/core-37788b01fc.min.css
deleted
100644 → 0
View file @
f4381606
This diff is collapsed.
Click to expand it.
wp-content/themes/biuro/css/core-7662d27dec.min.css
0 → 100644
View file @
ee9ef7a2
This diff is collapsed.
Click to expand it.
wp-content/themes/biuro/css/main-
8bae5e9909
.min.css
→
wp-content/themes/biuro/css/main-
bbc0ec2b25
.min.css
View file @
ee9ef7a2
This source diff could not be displayed because it is too large. You can
view the blob
instead.
wp-content/themes/biuro/header-langing.php
View file @
ee9ef7a2
...
...
@@ -30,7 +30,7 @@
<link
rel=
"preload"
as=
"font"
type=
"font/woff2"
href=
"/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-500.woff2"
crossorigin=
"anonymous"
>
<link
rel=
"preload"
as=
"font"
type=
"font/woff2"
href=
"/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-regular.woff2"
crossorigin=
"anonymous"
>
<style>
<?php
include
'css/core-
37788b01f
c.min.css'
;
?>
</style>
<style>
<?php
include
'css/core-
7662d27de
c.min.css'
;
?>
</style>
<script>
document
.
documentElement
.
classList
.
replace
(
'no-js'
,
'js'
);
...
...
@@ -39,13 +39,13 @@
<link
rel=
"preload"
as=
"font"
type=
"font/woff2"
href=
"/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-300.woff2"
crossorigin=
"anonymous"
>
<link
rel=
"preload"
as=
"font"
type=
"font/woff2"
href=
"/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-700.woff2"
crossorigin=
"anonymous"
>
<link
rel=
"preload"
href=
"/wp-content/themes/biuro/css/main-
8bae5e9909
.min.css"
as=
"style"
onload=
"this.rel='stylesheet'"
>
<link
rel=
"preload"
href=
"/wp-content/themes/biuro/css/main-
bbc0ec2b25
.min.css"
as=
"style"
onload=
"this.rel='stylesheet'"
>
<link
rel=
"preconnect"
href=
"https://www.gstatic.com"
>
<link
rel=
"preconnect"
href=
"https://fonts.gstatic.com"
>
<noscript>
<link
rel=
"stylesheet"
href=
"/wp-content/themes/biuro/css/main-
8bae5e9909
.min.css"
>
<link
rel=
"stylesheet"
href=
"/wp-content/themes/biuro/css/main-
bbc0ec2b25
.min.css"
>
</noscript>
<?php
wp_head
();
?>
...
...
wp-content/themes/biuro/header.php
View file @
ee9ef7a2
...
...
@@ -41,7 +41,7 @@
<link
rel=
"preload"
as=
"font"
type=
"font/woff2"
href=
"/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-500.woff2"
crossorigin=
"anonymous"
>
<link
rel=
"preload"
as=
"font"
type=
"font/woff2"
href=
"/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-regular.woff2"
crossorigin=
"anonymous"
>
<style>
<?php
include
'css/core-
37788b01f
c.min.css'
;
?>
</style>
<style>
<?php
include
'css/core-
7662d27de
c.min.css'
;
?>
</style>
<script>
document
.
documentElement
.
classList
.
replace
(
'no-js'
,
'js'
);
...
...
@@ -50,13 +50,13 @@
<link
rel=
"preload"
as=
"font"
type=
"font/woff2"
href=
"/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-300.woff2"
crossorigin=
"anonymous"
>
<link
rel=
"preload"
as=
"font"
type=
"font/woff2"
href=
"/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-700.woff2"
crossorigin=
"anonymous"
>
<link
rel=
"preload"
href=
"/wp-content/themes/biuro/css/main-
8bae5e9909
.min.css"
as=
"style"
onload=
"this.rel='stylesheet'"
>
<link
rel=
"preload"
href=
"/wp-content/themes/biuro/css/main-
bbc0ec2b25
.min.css"
as=
"style"
onload=
"this.rel='stylesheet'"
>
<link
rel=
"preconnect"
href=
"https://www.gstatic.com"
>
<link
rel=
"preconnect"
href=
"https://fonts.gstatic.com"
>
<noscript>
<link
rel=
"stylesheet"
href=
"/wp-content/themes/biuro/css/main-
8bae5e9909
.min.css"
>
<link
rel=
"stylesheet"
href=
"/wp-content/themes/biuro/css/main-
bbc0ec2b25
.min.css"
>
</noscript>
<?php
...
...
wp-content/themes/biuro/i/member-placeholder.png
0 → 100644
View file @
ee9ef7a2
5.86 KB
wp-content/themes/biuro/single-job.php
View file @
ee9ef7a2
...
...
@@ -33,13 +33,22 @@ get_header();
endif
;
$managers
=
get_the_terms
(
$pod
->
ID
,
'member'
);
$m
anager
=
$managers
[
0
]
;
$m
ember
;
$isManagerVisible
=
$manager
&&
$manager
->
term_id
&&
$biuroSettings
->
field
(
'job_page_contacts'
)
===
'manager'
?
true
:
false
;
foreach
(
$managers
as
&
$term
)
:
$m
=
pods
(
'member'
,
$term
->
term_id
);
if
(
$m
->
field
(
'enabled'
))
:
$member
=
$m
;
break
;
endif
;
endforeach
;
$isManagerVisible
=
$member
&&
$biuroSettings
->
field
(
'job_page_contacts'
)
===
'manager'
?
true
:
false
;
if
(
$recommendPage
&&
$biuroSettings
->
field
(
'job_page_recommend_friend'
)
==
'top'
)
:
?>
<div
class=
"l-content--position-banner"
>
<div
class=
"l-content--position-banner
<?php
echo
$isManagerVisible
?
'l-content--position-banner--wide'
:
''
;
?>
"
>
<a
class=
"c-recommend c-recommend-top"
href=
"
<?php
echo
$recommendPage
;
?>
"
>
<span
class=
"c-recommend--headline"
>
<?php
_e
(
'Recommend a friend - receive <strong>50 Eur!</strong>'
,
'biuro'
);
?>
</span>
<span
class=
"c-recommend--anchor"
>
<?php
_e
(
'Find out more'
,
'biuro'
);
?>
</span>
...
...
wp-content/themes/biuro/style.css
View file @
ee9ef7a2
...
...
@@ -3,6 +3,6 @@ Theme Name: Biuro
Author: Biuro
Author URI: https://www.biuro.lt/
Description: Biuro multiregion theme
Version: 1.22.
0
Version: 1.22.
1
Text Domain: biuro
*/
wp-content/themes/biuro/template-parts/layout/aside-job.php
View file @
ee9ef7a2
...
...
@@ -93,7 +93,7 @@
global
$recommendPage
;
global
$biuroSettings
;
global
$isManagerVisible
;
global
$m
anag
er
;
global
$m
emb
er
;
if
(
$recommendPage
&&
$biuroSettings
->
field
(
'job_page_recommend_friend'
)
==
'aside'
)
:
?>
...
...
@@ -107,7 +107,6 @@
if
(
$biuroSettings
->
field
(
'job_page_contacts'
)
!=
'hidden'
)
:
if
(
$isManagerVisible
)
:
$member
=
pods
(
'member'
,
$manager
->
term_id
);
?>
<div
class=
"c-jobs-manager"
>
<div
class=
"c-jobs-manager--message"
>
...
...
@@ -130,12 +129,8 @@
<picture
class=
"c-jobs-manager--member-photo"
>
<?php
$photo
=
$member
->
field
(
'photo'
);
if
(
$photo
[
'guid'
])
:
?>
<img
src=
"
<?php
echo
$photo
[
'guid'
];
?>
"
alt=
""
loading=
"lazy"
/>
<?php
endif
;
?>
<img
src=
"
<?php
echo
$photo
[
'guid'
]
?
$photo
[
'guid'
]
:
'/wp-content/themes/biuro/i/member-placeholder.png'
;
?>
"
alt=
""
loading=
"lazy"
/>
</picture>
<p
class=
"c-jobs-manager--member-name"
>
<?php
echo
$member
->
field
(
'name'
);
?>
</p>
<p
class=
"c-jobs-manager--member-position"
>
<?php
echo
$member
->
field
(
'position'
);
?>
</p>
...
...
wp-content/themes/biuro/template-parts/teams/teams.php
View file @
ee9ef7a2
...
...
@@ -64,13 +64,7 @@
?>
<div
class=
"c-member"
>
<picture
class=
"c-member--photo"
>
<?php
if
(
$photo
[
'guid'
])
:
?>
<img
src=
"
<?php
echo
$photo
[
'guid'
];
?>
"
alt=
""
loading=
"lazy"
/>
<?php
endif
;
?>
<img
src=
"
<?php
echo
$photo
[
'guid'
]
?
$photo
[
'guid'
]
:
'/wp-content/themes/biuro/i/member-placeholder.png'
;
?>
"
alt=
"
<?php
echo
$member
->
name
;
?>
"
loading=
"lazy"
/>
</picture>
<h4
class=
"c-member--info c-member--name"
title=
"
<?php
echo
$member
->
name
;
?>
"
>
<?php
echo
$member
->
name
;
?>
</h4>
<div
class=
"c-member--info c-member--position"
title=
"
<?php
echo
$position
;
?>
"
>
<?php
echo
$position
;
?>
</div>
...
...
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