Fix most glaring bugs and vulnerabilities
This commit is contained in:
@@ -70,14 +70,14 @@ block body
|
||||
#input-row.row
|
||||
.col-sm-3
|
||||
.subject-name
|
||||
label.input-name-txt= ('PODPODROČJE')
|
||||
label.input-name-txt= t('PODPODROČJE')
|
||||
input#area-input.form-control(type="text")
|
||||
.col-sm-3
|
||||
.subject-name
|
||||
label.input-name-txt= ('ANGLEŠKI PREVOD')
|
||||
label.input-name-txt= t('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)= t('Dodaj')
|
||||
include /common/footer
|
||||
|
||||
include /utilities/modal-alert
|
||||
|
||||
@@ -43,7 +43,7 @@ block body
|
||||
.d-flex.align-content-center.mb-0.me-3.mt-2.mt-sm-0
|
||||
a.btn.p-0.image-link(
|
||||
type="link"
|
||||
href=`/admin/povezava/${link.id}/urejanje`
|
||||
href=`/admin/povezave/${link.id}/urejanje`
|
||||
)
|
||||
img(src="/images/u_edit-alt.svg" alt="Uredi")
|
||||
span.normal-gray.ms-1= t('Uredi')
|
||||
@@ -95,7 +95,7 @@ block body
|
||||
.d-flex.align-content-center.mb-0.me-3.mt-2.mt-sm-0
|
||||
a.btn.p-0.image-link(
|
||||
type="link"
|
||||
href=`/admin/povezava/${link.id}/urejanje`
|
||||
href=`/admin/povezave/${link.id}/urejanje`
|
||||
)
|
||||
img(src="/images/u_edit-alt.svg" alt="Uredi")
|
||||
span.normal-gray.ms-1= t('Uredi')
|
||||
|
||||
@@ -12,8 +12,7 @@ block body
|
||||
+sideNavigation(d)
|
||||
|
||||
include /utilities/dictionaries-main-panel-header
|
||||
//- TODO I18n
|
||||
- const c = { sideMenu: true, h2: dictionary.nameSl, h1: t('Osnovni podatki'), description: t('Izpolnite polja in na kratko opišite vsebino terminološkega slovarja.'), helpLink: { linkHref: '/pomoc#help-edit-dict', linkText: t('Več ...') }, buttons: [{ type: 'disabled', content: t('Shrani'), form: 'admin-description' }] }
|
||||
- const c = { sideMenu: true, h2: dictionary[`name${capitalize(determinedLanguage)}`], h1: t('Osnovni podatki'), description: t('Izpolnite polja in na kratko opišite vsebino terminološkega slovarja.'), helpLink: { linkHref: '/pomoc#help-edit-dict', linkText: t('Več ...') }, buttons: [{ type: 'disabled', content: t('Shrani'), form: 'admin-description' }] }
|
||||
+mainHeader(c)
|
||||
include /utilities/dictionary-description-mixin
|
||||
+dictionary-description(dictionary.id)
|
||||
|
||||
@@ -12,8 +12,7 @@ block body
|
||||
+sideNavigation(d)
|
||||
|
||||
include /utilities/dictionaries-main-panel-header
|
||||
//- TODO I18n
|
||||
- const c = { sideMenu: true, h2: dictionary.nameSl, h1: t('Struktura slovarskega sestavka'), description: t('V tem razdelku lahko določite elemente slovarskega sestavka. Z izbiro elementov se vam prikazuje podoba slovarskega sestavka. Izbiro lahko tudi med urejanjem vsebine kadarkoli spremenite.'), helpLink: { linkHref: '/pomoc#help-structure-dict', linkText: t('Več ...') }, buttons: [{ type: 'disabled', content: t('Shrani'), form: 'form-dictionary-structure' }] }
|
||||
- const c = { sideMenu: true, h2: dictionary[`name${capitalize(determinedLanguage)}`], h1: t('Struktura slovarskega sestavka'), description: t('V tem razdelku lahko določite elemente slovarskega sestavka. Z izbiro elementov se vam prikazuje podoba slovarskega sestavka. Izbiro lahko tudi med urejanjem vsebine kadarkoli spremenite.'), helpLink: { linkHref: '/pomoc#help-structure-dict', linkText: t('Več ...') }, buttons: [{ type: 'disabled', content: t('Shrani'), form: 'form-dictionary-structure' }] }
|
||||
+mainHeader(c)
|
||||
.content-hold-prerequisites
|
||||
#offset-main.main-container
|
||||
|
||||
@@ -12,7 +12,7 @@ block body
|
||||
+sideNavigation(d)
|
||||
|
||||
include /utilities/dictionaries-main-panel-header
|
||||
- const c = { sideMenu: true, h2: dictionary.nameSl, h1: t('Uporabniki'), description: t('V tem razdelku lahko določite uporabniške vloge posameznega uporabnika in urejate njegove podatke.'), buttons: [{ type: 'disabled', content: t('Shrani'), form: 'admin-dictionary-users' }] }
|
||||
- const c = { sideMenu: true, h2: dictionary.name, h1: t('Uporabniki'), description: t('V tem razdelku lahko določite uporabniške vloge posameznega uporabnika in urejate njegove podatke.'), buttons: [{ type: 'disabled', content: t('Shrani'), form: 'admin-dictionary-users' }] }
|
||||
+mainHeader(c)
|
||||
.content-hold-prerequisites
|
||||
#offset-main.main-container.mt-1
|
||||
|
||||
@@ -36,7 +36,7 @@ block body
|
||||
tr
|
||||
td= result.userName
|
||||
td= result.email
|
||||
td= result.status
|
||||
td= t(`userStatus${result.status}`)
|
||||
td
|
||||
a.image-link(
|
||||
type="link"
|
||||
|
||||
Reference in New Issue
Block a user