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
+11 -11
View File
@@ -12,26 +12,26 @@ block body
+sideNavigation(d)
include /utilities/dictionaries-main-panel-header
- const c = { sideMenu: true, h2: 'Uporabniki', h1: 'Portal', description: 'V tem razdelku lahko določite glavne administratorske pravice na terminološkem portalu.', buttons: [{ type: 'disabled', content: 'Shrani', form: 'form-user-roles' }] }
- const c = { sideMenu: true, h2: t('Uporabniki'), h1: t('Portal'), description: t('V tem razdelku lahko določite glavne administratorske pravice na terminološkem portalu.'), buttons: [{ type: 'disabled', content: t('Shrani'), form: 'form-user-roles' }] }
+mainHeader(c)
.content-hold-prerequisites.mt-4
#offset-main.main-container.mt-1
span.users-subtitle-txt.ms-0.mt-3 Uporabniške pravice/vloge
span.users-subtitle-txt.ms-0.mt-3= t('Uporabniške pravice/vloge')
form#form-user-roles(method="post")
table#user-roles-table.table-users.table-borderless.align-middle.mt-3
thead
tr
th.col-2
span.user-rights-column-title Uporabnik
span.user-rights-column-title= t('Uporabnik')
th.col-2
span.user-rights-column-title Skrbnik portala
span.user-rights-column-title= t('Skrbnik portala')
th.col-2
span.user-rights-column-title.ms-xxl-4 Skrbnik slovarjev
span.user-rights-column-title.ms-xxl-4= t('Skrbnik slovarjev')
th.col-2
span.user-rights-column-title.ms-xxl-4 Skrbnik svetovalnice
span.user-rights-column-title.ms-xxl-4= t('Skrbnik svetovalnice')
th.col-1.justify-content-center
span.hidden-text Izbriši polje
span.hidden-text= t('Izbriši polje')
each el in users
tbody.user-data.pb-xl-2
tr
@@ -96,7 +96,7 @@ block body
form#form-add-user.container-xl.new-user-input.mt-4.ps-0.ms-0(
action="/api/v1/users/addUser"
)
span.new-user-info NOV UPORABNIK
span.new-user-info= t('NOV UPORABNIK')
.row.d-flex.justify-content-lg-start.align-items-center.mt-2.ms-0.ps-0
.col-lg-6.ms-0.ps-0.me-2
input.name-input.d-inline.form-control.ms-0.ps-0(
@@ -105,10 +105,10 @@ block body
autocomplete="off"
)
.col.ms-xl-4.ms-0.ps-0.d-flex.justify-content-start.mt-2.mt-lg-0
button.btn.btn-primary Dodaj
button.btn.btn-primary= t('Dodaj')
include /common/footer
include /utilities/modal-alert
include /utilities/modal-response
+responseModal
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?'))