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
+13 -14
View File
@@ -12,15 +12,13 @@ block body
+sideNavigation(d)
include /utilities/dictionaries-main-panel-header
- const c = { sideMenu: true, h2: 'Podpodročja', h1: 'Podpodročja', description: 'Podpodročja so namenjena podrobnejšemu razvrščanju terminoloških slovarjev. Administrator mora vsa novo predlagana podpodročja potrditi, preden jih lahko na seznamu vidijo tudi drugi uporabniki portala.', buttons: [{ form: 'dictionary-domain-labels', type: 'disabled', content: 'Shrani' }] }
- const c = { sideMenu: true, h2: t('Podpodročja'), h1: t('Podpodročja'), description: t('Podpodročja so namenjena podrobnejšemu razvrščanju terminoloških slovarjev. Administrator mora vsa novo predlagana podpodročja potrditi, preden jih lahko na seznamu vidijo tudi drugi uporabniki portala.'), buttons: [{ form: 'dictionary-domain-labels', type: 'disabled', content: t('Shrani') }] }
+mainHeader(c)
.content-hold-prerequisites
#offset-main.main-container.mt-2
#offset-main.main-container
if results.length
.d-flex.justify-content-between.mt-4
.d-flex.flex-row.mb-4
include /components/search-and-filter/inline-search
.d-flex.justify-content-end.mt-4
.d-flex
include /utilities/pager
+pager
@@ -31,9 +29,9 @@ block body
table#all-areas-table.table.areas-table.table-responsive
thead
tr
th(scope="col") Vidno
th(scope="col") Podpodročje
th(scope="col") Prevod
th(scope="col")= t('Vidno')
th(scope="col")= t('Podpodročje')
th(scope="col")= t('Prevod')
th(scope="col")
tbody#page-results
each result in results
@@ -53,6 +51,7 @@ block body
name="isApproved"
disabled
)
//- TODO I18n
td.tdata-area= result.nameSl
td.tdata-translation= result.nameEn
td.buttons-group
@@ -66,21 +65,21 @@ block body
data-bs-toggle="modal"
type="button"
)
img(src="/images/red-trash-icon.svg" alt="")
img(src="/images/red-trash-icon.svg" alt=t('Izbriši'))
#input-row.row
.col-sm-3
.subject-name
label.input-name-txt PODPODROČJE
label.input-name-txt= ('PODPODROČJE')
input#area-input.form-control(type="text")
.col-sm-3
.subject-name
label.input-name-txt ANGLEŠKI PREVOD PODPODROČJA
label.input-name-txt= ('ANGLEŠKI PREVOD')
input#translation-input.form-control(type="text")
.col.d-flex.align-items-end.mt-2
button#add-area.btn.btn-primary(type="submit" disabled) Dodaj
button#add-area.btn.btn-primary(type="submit" disabled)= ('Dodaj')
include /common/footer
include /utilities/modal-alert
include /utilities/modal-alert-mixin
+alertModal('unsaved-data', 'Shrani', 'Ne', 'modal-save-btn', 'modal-dont-save-btn', 'Imate neshranjene spremebe. Ali jih želite shraniti?')
include /common/footer
+alertModal('unsaved-data', t('Shrani'), t('Ne'), 'modal-save-btn', 'modal-dont-save-btn', t('Imate neshranjene spremebe. Ali jih želite shraniti?'))