First full release

This commit is contained in:
Luka Romih
2023-03-10 12:50:23 +01:00
parent 257f3c354f
commit 9867875ef2
285 changed files with 10980 additions and 4692 deletions
+10 -5
View File
@@ -18,9 +18,14 @@ block body
.ps-lg-5.pe-lg-4
.p-squeeze-lg.text-center
img.mx-auto(src="/images/search-error.svg" alt="Search Error")
h1.text-blue-info-title Ni zadetkov
p.pb-5.mt-5.px-10-large.text-center Vaše iskanje ni bilo uspešno. Vpišite novo iskalno poizvedbo in poizkusite znova.
//- p.mt-5.px-20-large.h-41
button.btn.btn-secondary.d-inline-block.h-41.mx-2 Opcija A
button.btn.btn-primary.d-inline-block.h-41.mx-2 Opcija B
h1.text-blue-info-title #{ t("Ni zadetkov") }
p.pb-5.mt-5.px-10-large.text-center #{ t("Vaše iskanje ni bilo uspešno. Vpišite novo iskalno poizvedbo in poizkusite znova.") }
//- p.mt-5.px-20-large.h-41px
button.btn.btn-secondary.d-inline-block.h-41px.mx-2 Opcija A
button.btn.btn-primary.d-inline-block.h-41px.mx-2 Opcija B
.mt-4.row
.col.d-flex.justify-content-center
if (consultancyHits > 0)
#consulancy-results-container
include /components/search-and-filter/consultancy-results-content
include /common/footer
@@ -4,6 +4,7 @@ block pageSpecificScipts
script(nonce=cspNonce src="/javascripts/search-results.js")
script(nonce=cspNonce src="/javascripts/search-results-content.js")
script(nonce=cspNonce src="/javascripts/comments.js")
script(nonce=cspNonce src="/javascripts/collapsable-comments.js")
block body
section#fixed-top-section
@@ -16,7 +17,7 @@ block body
//- include /utilities/dictionaries-main-panel-header
include /utilities/dictionary-info-panel
- const c = { sideMenu: true, h2: '', h1: finalData.dictName, description: '', buttons: [{ type: 'link', url: `/iskanje?q=*&d=${dictId}`, content: 'Išči po slovarju' }] }
- const c = { sideMenu: true, h2: '', h1: finalData.dictName, description: '', buttons: [{ type: 'link', url: `/iskanje?q=*&d=${dictId}`, content: t('Išči po slovarju') }] }
+mainHeader(c)
//- empty header for code to work
@@ -32,13 +33,14 @@ block body
//- span SL
//- .col-md-9
.col
span!= finalData.description ? finalData.description : 'Ta slovar nima opisa'
span!= finalData.description ? finalData.description : t('Ta slovar nima opisa')
//- .col-md-2
.result-comment-section
.comments-content.col-12.col-md-12.py-md-3.bd-content
.comments-content.col-12.col-md-12.pt-md-3.bd-content
#offset-main
include /utilities/comments-with-pager
//- include /utilities/comments-with-pager
include /utilities/comments-with-collapsable-pager
include /common/footer
include /common/footer
+7 -4
View File
@@ -4,6 +4,7 @@ block pageSpecificScipts
script(nonce=cspNonce src="/javascripts/search-results.js")
script(nonce=cspNonce src="/javascripts/search-results-content.js")
script(nonce=cspNonce src="/javascripts/comments.js")
script(nonce=cspNonce src="/javascripts/collapsable-comments.js")
block body
section#fixed-top-section
@@ -21,7 +22,7 @@ block body
#offset-main.main-container.ps-1.mt-2
#chevrons-left.d-flex
.header-container-divider-left
h1#site-heading O terminu
h1#site-heading #{ t("O terminu") }
hr#disposable-break.mt-0
.d-flex.mb-4.w-100.flex-column
@@ -42,8 +43,10 @@ block body
+entryPreview
.result-comment-section
.comments-content.col-12.col-md-12.py-md-3.bd-content
.comments-content.col-12.col-md-12.pt-md-3.mb-0.pb-0.bd-content
#offset-main
include /utilities/comments-with-pager
//- include /utilities/comments-with-pager
include /utilities/comments-with-collapsable-pager
//- +pager
include /common/footer
include /common/footer
+2 -2
View File
@@ -19,9 +19,9 @@ block body
#offset-padding.offset-padding.header-section-root
.content-hold-prerequisites.mt-4
#offset-main.main-container.ps-1.mt-2
#offset-main.main-container.ps-1
.d-flex.mb-4.w-100
include /components/search-and-filter/result-panel
+result-panel(entries)
include /common/footer
include /common/footer
@@ -1,3 +1,5 @@
//- TODO MARK FOR DELETION
extends /layout
block pageSpecificScipts