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
808ef4a6
Commit
808ef4a6
authored
Apr 09, 2019
by
Simonas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI changes
parent
d52de7bf
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
2126 additions
and
2100 deletions
+2126
-2100
data-006.sql
docker/mariadb/data-006.sql
+0
-2087
data-007.sql
docker/mariadb/data-007.sql
+2091
-0
biuro-sections.php
wp-content/plugins/biuro-sections/biuro-sections.php
+3
-1
_component--jobs-pagination.css
...s/biuro/css/07-components/_component--jobs-pagination.css
+1
-1
main-8c9c954583.min.css
wp-content/themes/biuro/css/main-8c9c954583.min.css
+0
-3
main-dcf0970343.min.css
wp-content/themes/biuro/css/main-dcf0970343.min.css
+3
-0
header.php
wp-content/themes/biuro/header.php
+2
-2
searchform.php
wp-content/themes/biuro/searchform.php
+7
-2
jobs-list.php
wp-content/themes/biuro/template-parts/jobs/jobs-list.php
+19
-4
No files found.
docker/mariadb/data-006.sql
deleted
100644 → 0
View file @
d52de7bf
This diff is collapsed.
Click to expand it.
docker/mariadb/data-007.sql
0 → 100644
View file @
808ef4a6
This diff is collapsed.
Click to expand it.
wp-content/plugins/biuro-sections/biuro-sections.php
View file @
808ef4a6
...
...
@@ -74,13 +74,15 @@ class Biuro_Sections extends WP_Widget {
<input
class=
"widefat"
id=
"
<?php
echo
esc_attr
(
$this
->
get_field_id
(
'img'
.
$i
)
);
?>
"
name=
"
<?php
echo
esc_attr
(
$this
->
get_field_name
(
'img'
.
$i
)
);
?>
"
type=
"text"
value=
"
<?php
echo
esc_attr
(
$
{
'img'
.
$i
}
);
?>
"
/>
</p>
<p>
<label
for=
"
<?php
echo
esc_attr
(
$this
->
get_field_id
(
'description'
.
$i
)
);
?>
"
>
<?php
_e
(
'
Sec
tion'
,
'biuro'
);
?><?php
echo
' '
.
$i
.
':'
;
?>
</label>
<label
for=
"
<?php
echo
esc_attr
(
$this
->
get_field_id
(
'description'
.
$i
)
);
?>
"
>
<?php
_e
(
'
Descrip
tion'
,
'biuro'
);
?><?php
echo
' '
.
$i
.
':'
;
?>
</label>
<textarea
class=
"widefat"
id=
"
<?php
echo
esc_attr
(
$this
->
get_field_id
(
'description'
.
$i
)
);
?>
"
name=
"
<?php
echo
esc_attr
(
$this
->
get_field_name
(
'description'
.
$i
)
);
?>
"
rows=
"4"
>
<?php
echo
wp_kses_post
(
$
{
'description'
.
$i
}
);
?>
</textarea>
</p>
<p>
<label
for=
"
<?php
echo
esc_attr
(
$this
->
get_field_id
(
'content'
.
$i
)
);
?>
"
>
<?php
_e
(
'Section'
,
'biuro'
);
?><?php
echo
' '
.
$i
.
':'
;
?>
</label>
<textarea
class=
"widefat"
id=
"
<?php
echo
esc_attr
(
$this
->
get_field_id
(
'content'
.
$i
)
);
?>
"
name=
"
<?php
echo
esc_attr
(
$this
->
get_field_name
(
'content'
.
$i
)
);
?>
"
rows=
"4"
>
<?php
echo
wp_kses_post
(
$
{
'content'
.
$i
}
);
?>
</textarea>
</p>
<hr>
<?php
endfor
;
?>
...
...
wp-content/themes/biuro/css/07-components/_component--jobs-pagination.css
View file @
808ef4a6
...
...
@@ -4,7 +4,7 @@
/* critical:end */
.pods-pagination-paginate
{
display
:
block
;
padding-bottom
:
1em
;
text-align
:
center
;
}
.pods-pagination-paginate
{
display
:
block
;
padding-bottom
:
1em
;
}
.page-numbers
{
margin
:
0
1px
;
padding
:
1px
;
&.current
{
font-weight
:
var
(
--typo--weight-bold
);
}
...
...
wp-content/themes/biuro/css/main-8c9c954583.min.css
deleted
100644 → 0
View file @
d52de7bf
This diff is collapsed.
Click to expand it.
wp-content/themes/biuro/css/main-dcf0970343.min.css
0 → 100644
View file @
808ef4a6
This diff is collapsed.
Click to expand it.
wp-content/themes/biuro/header.php
View file @
808ef4a6
...
...
@@ -33,14 +33,14 @@ define('cityID', $cityID);
<style>
<?php
include
'css/core-a25434ed1d.min.css'
;
?>
</style>
<link
rel=
"preload"
href=
"/wp-content/themes/biuro/css/main-
8c9c95458
3.min.css"
as=
"style"
onload=
"this.rel='stylesheet'"
>
<link
rel=
"preload"
href=
"/wp-content/themes/biuro/css/main-
dcf097034
3.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_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
>
<noscript>
<link
rel=
"stylesheet"
href=
"/wp-content/themes/biuro/css/main-
8c9c95458
3.min.css"
>
<link
rel=
"stylesheet"
href=
"/wp-content/themes/biuro/css/main-
dcf097034
3.min.css"
>
</noscript>
<?php
wp_head
();
?>
...
...
wp-content/themes/biuro/searchform.php
View file @
808ef4a6
...
...
@@ -153,8 +153,13 @@
endforeach
;
endif
;
usort
(
$options
,
function
(
$a
,
$b
)
{
return
$a
[
'total'
]
<
$b
[
'total'
];
usort
(
$options
,
function
(
$a
,
$b
)
{
$t
=
$b
[
'total'
]
-
$a
[
'total'
];
if
(
$t
)
:
return
$t
;
endif
;
return
$a
[
'name'
]
>
$b
[
'name'
];
});
?>
<datalist
id=
"search-queries"
>
...
...
wp-content/themes/biuro/template-parts/jobs/jobs-list.php
View file @
808ef4a6
...
...
@@ -15,7 +15,7 @@ global $jobs;
<table
cellspacing=
"0"
cellpadding=
"0"
class=
"c-jobs-list"
>
<tr>
<th
class=
"c-jobs-list--head"
>
Pozicija
</th>
<th
class=
"c-jobs-list--head"
>
Pozicija
</th>
<th
class=
"c-jobs-list--head"
>
Vietovė
</th>
<th
class=
"c-jobs-list--head"
>
Galioja iki
</th>
</tr>
...
...
@@ -32,7 +32,22 @@ global $jobs;
</a>
</td>
<td
class=
"c-jobs-list--col c-jobs-list--col-city"
>
<?php
echo
$jobs
->
display
(
'city'
);
?>
<?php
$cities
=
$jobs
->
field
(
'city'
);
$count
=
0
;
foreach
(
$cities
as
$city
)
:
if
(
$count
)
:
echo
', '
;
endif
;
echo
$city
[
'name'
];
$count
++
;
endforeach
;
// echo $jobs->display( 'city' );
?>
</td>
<td
class=
"c-jobs-list--col c-jobs-list--col-valid"
>
<?php
echo
date_i18n
(
get_option
(
'date_format'
),
strtotime
(
$jobs
->
field
(
'valid'
)
)
);
?>
...
...
@@ -49,8 +64,8 @@ global $jobs;
if
(
!
is_front_page
()
)
:
echo
$jobs
->
pagination
(
array
(
'type'
=>
'paginate'
,
'prev_text'
=>
'
‹ '
.
pll__
(
'Previous'
)
,
'next_text'
=>
pll__
(
'Next'
)
.
' ›
'
'prev_text'
=>
'
'
,
'next_text'
=>
'
'
)
);
endif
;
...
...
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