window.config = {
firmotronPath: 'https://firmotron.pl',
firmotronPublicPath: 'https://firmotron.pl',
imagePath: 'https://firmotron.pl/public/data',
footerPath: 'https://firmotron.pl/api/footer',
socketPath: 'https://firmotron.pl/socket.io/socket.io.js',
socketControllerPath: 'https://firmotron.pl/public/scripts/socket.js',
alias: '#page-',
query: '&query-',
colors: { system: { context: { info: 'green', error: 'red', black: '' } } },
redirectAlias: '#redirect:',
jsonAlias: undefined,
title: '@{ @C.dictionary.config.titles.iframe }@',
waitCode: '\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
',
pages: [
{ '404': true, name: '404', title: 'p404', dir: 'errors' },
{ '500': true, name: '500', title: 'p500', dir: 'errors' },
{
name: 'login',
default: true,
menu: false,
title: 'login',
controller: 'before_login/login',
dir: 'before_login'
},
{
name: 'register',
menu: false,
title: 'register',
dir: 'before_login'
},
{
name: 'register-resender',
menu: false,
title: 'registerResender',
dir: 'before_login'
},
{
name: 'email-resender-sended',
menu: false,
title: 'emailResenderSended',
dir: 'before_login'
},
{
name: 'register-confirm',
menu: false,
title: 'registerConfirm',
controller: 'before_login/register-confirm',
dir: 'before_login'
},
{
name: 'email-register-sended',
menu: false,
title: 'emailRegisterSended',
dir: 'before_login'
},
{
name: 'image-chooser',
title: 'imageChooser',
controller: 'panel/image-chooser',
dir: 'panel',
data: { images: [] }
},
{
name: 'email-settings',
default: false,
title: 'email-settings',
controller: 'settings/email-settings',
dir: 'settings'
},
{
name: 'bank-settings',
default: false,
title: 'bank-settings',
controller: 'settings/bank-settings',
dir: 'settings'
},
{
name: 'settings',
default: false,
title: 'settings',
controller: 'settings/settings',
dir: 'settings'
},
{
name: 'image-gallery',
title: 'settings',
controller: 'settings/image-gallery',
dir: 'settings',
data: { images: [] }
},
{
name: 'password-change',
title: 'passwordChange',
controller: 'settings/password-change',
dir: 'settings'
},
{
name: 'password-reminder',
title: 'passwordReminder',
dir: 'before_login'
},
{
name: 'password-reset',
title: 'passwordReset',
controller: 'before_login/password-reset',
dir: 'before_login'
},
{
name: 'password-reset-confirm',
title: 'passwordResetConfirm',
dir: 'before_login'
},
{
name: 'email-reminder-sended',
title: 'emailReminderSended',
dir: 'before_login'
},
{
name: 'login',
title: 'login',
controller: 'login/login',
dir: 'login'
},
{
name: 'stations',
title: 'stations',
controller: 'stations/stations',
dir: 'stations',
data: { stations: [] }
},
{
name: 'station',
title: 'station',
controller: 'stations/station',
dir: 'stations',
data: { station: { members: [] }, members: [], categories: [] }
},
{
name: 'station-edit',
title: 'stationEdit',
controller: 'stations/station-edit',
dir: 'stations',
data: { station: {} },
dialog: true
},
{
name: 'orders',
title: 'orders',
controller: 'orders/orders',
dir: 'orders',
data: { stations: [] }
},
{
name: 'order-edit',
title: 'orderEdit',
controller: 'orders/order-edit',
dir: 'orders',
data: { station: {} },
dialog: true
},
{
name: 'offerts',
title: 'offerts',
controller: 'offerts/offerts',
dir: 'offerts',
data: { stations: [] }
},
{
name: 'offert-edit',
title: 'offertEdit',
controller: 'offerts/offert-edit',
dir: 'offerts',
data: { station: {} },
dialog: true
},
{
name: 'products',
title: 'products',
controller: 'products/products',
dir: 'products',
data: { stations: [] }
},
{
name: 'product-edit',
title: 'productEdit',
controller: 'products/product-edit',
dir: 'products',
data: { station: {} },
dialog: true
},
{
name: 'mails',
title: 'mails',
controller: 'mails/mails',
dir: 'mails',
data: { stations: [] }
},
{
name: 'mail-edit',
title: 'mailEdit',
controller: 'mails/mail-edit',
dir: 'mails',
data: { station: {} },
dialog: true
},
{
name: 'customers',
title: 'customers',
controller: 'customers/customers',
dir: 'customers',
data: { stations: [] }
},
{
name: 'customer-edit',
title: 'customerEdit',
controller: 'customers/customer-edit',
dir: 'customers',
data: { station: {} },
dialog: true
},
{
name: 'date_ranges',
title: 'dateRanges',
controller: 'date_ranges/date_ranges',
dir: 'date_ranges',
data: { stations: [] }
},
{
name: 'date_range-edit',
title: 'dateRange',
controller: 'date_ranges/date_range-edit',
dir: 'date_ranges',
data: { station: {} },
dialog: true
}
],
menu: {
'title-link': '#page-',
title: 'Main Menu',
options: [
{
link: '#page-stations',
text: 'stations',
active: false,
disabled: false
},
{
link: '#page-offerts',
text: 'offerts',
active: false,
disabled: false
},
{
link: '#page-date_ranges',
text: 'date_ranges',
active: false,
disabled: false
},
{
link: '#page-products',
text: 'products',
active: false,
disabled: false
},
{
link: '#page-orders',
text: 'orders',
active: false,
disabled: false
},
{
link: '#page-customers',
text: 'customers',
active: false,
disabled: false
}
]
},
libs: [
{
type: 'listeners',
listeners: [
{ alias: 'logout', controller: 'before_login/logout' },
{
alias: 'login-post',
controller: 'before_login/login-post',
method: 'POST'
},
{
alias: 'register-post',
controller: 'before_login/register-post',
method: 'POST'
},
{
alias: 'register-resender-post',
controller: 'before_login/register-resender-post',
method: 'POST'
},
{
alias: 'password-reminder-post',
controller: 'before_login/password-reminder-post',
method: 'POST'
},
{
alias: 'password-reset-post',
controller: 'before_login/password-reset-post',
method: 'POST'
},
{ alias: 'image/:image', controller: 'image-manager/image' },
{
alias: 'password-change-post',
controller: 'settings/password-change-post',
method: 'POST'
},
{
alias: 'email-settings-post',
controller: 'settings/email-settings-post',
method: 'POST'
},
{
alias: 'bank-settings-post',
controller: 'settings/bank-settings-post',
method: 'POST'
},
{
alias: 'avatar-set-post',
controller: 'settings/avatar-set-post',
method: 'POST'
},
{
alias: 'customizer-post',
controller: 'panel/customizer-post',
method: 'POST'
},
{
alias: 'image-upload-post',
controller: 'image-manager/image-upload-post',
method: 'POST'
},
{
alias: 'image-change-private-post',
controller: 'image-manager/image-change-private-post',
method: 'POST'
},
{
alias: 'image-remove-post',
controller: 'image-manager/image-remove-post',
method: 'POST'
},
{ alias: 'preview', controller: 'login/login', method: 'GET' },
{
alias: 'station-edit-post',
controller: 'stations/station-edit-post',
method: 'POST'
},
{
alias: 'station-offerts-post',
controller: 'stations/station-offerts-post',
method: 'POST'
},
{
alias: 'station-date-ranges-post',
controller: 'stations/station-date-ranges-post',
method: 'POST'
},
{
alias: 'product-edit-post',
controller: 'products/product-edit-post',
method: 'POST'
},
{
alias: 'mail-edit-post',
controller: 'mails/mail-edit-post',
method: 'POST'
},
{
alias: 'customer-edit-post',
controller: 'customers/customer-edit-post',
method: 'POST'
},
{
alias: 'order-edit-post',
controller: 'orders/order-edit-post',
method: 'POST'
},
{
alias: 'order-redirect',
controller: 'orders/order-redirect'
},
{
alias: 'order-turnuses-post',
controller: 'orders/order-turnuses-post',
method: 'POST'
},
{
alias: 'order-stations-post',
controller: 'orders/order-stations-post',
method: 'POST'
},
{
alias: 'order-offerts-post',
controller: 'orders/order-offerts-post',
method: 'POST'
},
{
alias: 'order-products-post',
controller: 'orders/order-products-post',
method: 'POST'
},
{
alias: 'offert-edit-post',
controller: 'offerts/offert-edit-post',
method: 'POST'
},
{
alias: 'offert-stations-post',
controller: 'offerts/offert-stations-post',
method: 'POST'
},
{
alias: 'date_range-edit-post',
controller: 'date_ranges/date_range-edit-post',
method: 'POST'
},
{
alias: 'date_range-stations-post',
controller: 'date_ranges/date_range-stations-post',
method: 'POST'
},
{
alias: 'preview/:preview/:file',
controller: 'documents/preview'
},
{ alias: 'preview/:preview', controller: 'documents/preview' },
{
alias: 'get-from-gus',
controller: 'gus/get-from-gus',
method: 'POST'
},
{
alias: 'edit-interval',
controller: 'others/edit-interval',
method: 'POST'
},
{
alias: 'countries-list-post',
controller: 'others/countries-list-post',
method: 'POST'
},
{
alias: 'status-payment-post',
controller: 'others/status-payment-post',
method: 'POST'
}
]
},
{
name: 'system',
type: 'listeners',
listeners: [
{ alias: 'preview.css', file: 'system/css/preview.css' },
{ alias: 'tables.css', file: 'system/css/tables.css' },
{ alias: 'global.css', file: 'system/css/global.css' },
{
alias: 'global.js',
file: 'system/js/global.js',
babel: true
},
{ alias: 'sep.css', file: 'system/css/sep.css' },
{ alias: 'iframe.css', file: 'system/css/iframe.css' },
{
alias: 'iframe.js',
file: 'system/js/iframe.js',
babel: true
},
{
alias: 'context.js',
file: 'system/js/context.js',
babel: true
},
{
alias: 'config.js',
file: 'system/js/configTemplate.js',
parse: true,
data: {
config: [Circular *1],
___lang: 'pl_PL',
___context: {
dictionary: {
config: {
titles: {
p404: 'Page not found',
p500: 'Internal server error',
iframe: '',
stations: 'Lista stanowisk',
dateRanges: 'Lista wykluczeń',
offerts: 'Lista ofert',
orders: 'Lista zamówień',
customers: 'Lista zamawiających',
products: 'Lista produktów',
mails: 'Lista szablonów wiadomości',
event: 'Szczegóły wydarzenia',
login: 'Logowanie',
register: 'Rejestracja',
registerResender: 'Wyślij ponownie link aktywacyjny',
emailResenderSended: 'Przesłano email',
registerConfirm: 'Aktywacja konta',
emailRegisterSended: 'Przesłano email',
admin: 'Panel Adminsitratora',
imageChooser: 'Wybierz obraz',
settings: 'Ustawienia',
imageGallery: 'Galeria',
passwordChange: 'Zmiana hasła',
passwordReminder: 'Resetowanie hasła',
passwordReset: 'Resetowanie hasła',
passwordResetConfirm: 'Resetowanie hasła',
emailReminderSended: 'Przesłano email',
index: '',
gallery: ''
},
menu: {
stations: 'stanowiska',
offerts: 'oferty',
date_ranges: 'wykluczenia',
products: 'produkty',
orders: 'zamówienia',
customers: 'zamawiający'
}
},
system: {
iframe: { logoutButtonText: 'Wyloguj' },
context: { serwerError: 'Wewnętrzny błąd serwera' }
},
templates: {
dialogs: {
eventRemoveConfirm: {
mainMessage: 'Czy na pewno usunąć to wydarzenie?'
},
eventMemberRemoveConfirm: {
mainMessage: 'Czy na pewno usunąć tego uczestnika?'
},
eventDocumentRemoveConfirm: {
mainMessage: 'Czy na pewno usunąć ten dokument?'
},
eventsListItemRemoveConfirm: {
mainMessage: 'Czy na pewno usunąć to wydarzenie?'
}
}
},
pages: {
p404: { mainMessage: 'Nie odnaleziono strony :/' },
p500: { mainMessage: 'Wewnętrzny błąd serwera :/' },
emailRegisterSent: {
mainMessage: 'Na podany adres email został wysłany link aktywacyjny!'
},
emailReminderSent: {
mainMessage: 'Na podany adres email został wysłany link resetujący hasło!'
},
emailResenderSent: {
mainMessage: 'Na podany adres email został wysłany link aktywacyjny!'
},
login: {
title: 'Logowanie',
loginInputLabel: 'Login:',
passwordInputLabel: 'Hasło:',
submitButtonText: 'Zaloguj się',
registerLinkText: 'Nie masz konta? Zarejestruj się.',
passwordRemiderLinkText: 'Nie pamiętasz hasła? Kliknij tutaj.',
registerResenderLinkText: 'Nie dotarł do ciebie link aktywacyjny? Kliknij tutaj aby wysłać go ponownie.',
script: {
incorrectLoginData: 'Niepoprawne dane logowania'
}
},
passwordReminder: {
title: 'Resetowanie hasła',
emailInputLabel: 'Wprowadź email podany przy rejestracji konta:',
submitButtonText: 'Prześlij link resetujący',
script: { incorrectEmail: 'Niepoprawny adress email' }
},
passwordResetConfirm: {
mainMessage: 'Zresetowano hasło, następuje przekierowanie na stronę logowania.'
},
passwordReset: {
title: 'Resetowanie hasła',
passwordInputLabel: 'Wprowadź hasło:',
passwordRepeatInputLabel: 'Powtórz hasło:',
submitButtonText: 'Resetuj hasło',
script: {
incorrectPassword: 'Hasło powinno zawierać 8 znaków, duże i małe litery, co najmniej jedną cyfrę i symbol, nie powinno też zawierać spacji!',
incorrectRepeatPassword: 'Podane hasła nie są identyczne',
incorrectLink: 'Link do resetowania hasła wygasł'
}
},
registerConfirm: {
mainMessage: 'Aktywowano konto, następuje przekierowanie na stronę logowania.'
},
registerResender: {
title: 'Podaj adres email, aby ponownie przesłać link aktywacyjny konto',
emailInputLabel: 'Email:',
submitButtonText: 'Wyślij',
script: { incorrectEmail: 'Niepoprawny adress email' }
},
register: {
title: 'Rejestracja',
loginInputLabel: 'Login:',
emailInputLabel: 'Email:',
passwordInputLabel: 'Wprowadź hasło:',
passwordRepeatInputLabel: 'Powtórz hasło:',
submitButtonText: 'Zarejestruj się',
script: {
loginIsAlreadyInUse: 'Podany login jest zajęty',
emailIsAlreadyInUse: 'Podany email jest zajęty',
incorrectEmail: 'Podany email jest niepoprawny',
incorrectPassword: 'Hasło powinno zawierać 8 znaków, duże i małe litery, co najmniej jedną cyfrę i symbol, nie powinno też zawierać spacji!',
incorrectRepeatPassword: 'Podane hasła nie są identyczne'
}
},
user: {
inviteToContactsListButtonText: 'Zaproś do listy kontaktów',
userIsInContactsListDisabledButtonText: 'Użytkownik znajduje się na twojej liście kontaktów',
userIsInvitedToContactsListDisabledButtonText: 'Zaproszenie do listy kontaktów zostało wysłane',
script: {
sendedInvite: 'Wysłano zaproszenie do listy kontaktów'
}
},
imageGallery: {
privateCheckboxLabel: 'Prywatne',
removeImageButtonText: 'Usuń',
chooseImageAsButtonText: 'Wybierz jako avatar',
addImageInputLabel: 'Dodaj nowy obraz:',
submitButtonText: 'Prześlij',
script: {
changedPrivateMode: 'Zmieniono ustawienia prywatności obrazu',
removedImage: 'Usunięto obraz'
}
},
passwordChange: {
title: 'Zmiana hasła',
passwordOldInputLabel: 'Wprowadź stare hasło: ',
passwordNewInputLabel: 'Wprowadź nowe hasło: ',
passwordRepeatInputLabel: 'Powtórz nowe hasło: ',
submitButtonText: 'Zmień hasło',
script: {
incorrectPassword: 'Hasło powinno zawierać 8 znaków, duże i małe litery, co najmniej jedną cyfrę i symbol, nie powinno też zawierać spacji!',
incorrectOldPassword: 'Stare hasło jest niepoprawne',
incorrectRepeatPassword: 'Podane hasła nie są identyczne',
changedPassword: 'Hasło zostało zmienione'
}
},
settings: {
passwordChangeLinkText: 'Zmień hasło',
imageGalleryLinkText: 'Zarządzaj galerią'
},
stations: {
title: 'Lista stanowisk',
addEventButtonText: 'Dodaj stanowisko',
editEventButtonText: 'Edytuj stanowisko',
removeEventButtonText: 'Usuń wydarzenie',
script: {}
},
date_ranges: {
title: 'Lista wykluczeń',
addEventButtonText: 'Dodaj wykluczenie',
editEventButtonText: 'Edytuj wykluczenie',
removeEventButtonText: 'Usuń wykluczenie',
script: {}
},
offerts: {
title: 'Lista ofert',
addEventButtonText: 'Dodaj ofertę',
editEventButtonText: 'Edytuj ofertę',
removeEventButtonText: 'Usuń ofertę',
script: {}
},
orders: {
title: 'Lista zamówień',
addEventButtonText: 'Dodaj zamówienie',
editEventButtonText: 'Edytuj zamówienie',
removeEventButtonText: 'Usuń zamówienie',
script: {}
},
products: {
title: 'Lista produktów',
addEventButtonText: 'Dodaj produkt',
editEventButtonText: 'Edytuj produkt',
removeEventButtonText: 'Usuń produkt',
script: {}
},
mails: {
title: 'Lista szablonów wiadomości',
addEventButtonText: 'Dodaj szablon wiadomości',
editEventButtonText: 'Edytuj szablon wiadomości',
removeEventButtonText: 'Usuń szablon wiadomości',
script: {}
},
customers: {
title: 'Lista zamawiających',
addEventButtonText: 'Dodaj zamawiającego',
editEventButtonText: 'Edytuj zamawiającego',
removeEventButtonText: 'Usuń zamawiającego',
script: {}
}
}
},
query: {}
}
}
}
]
},
{
name: 'main-page',
type: 'main',
page: { file: 'system/html/iframe.html', parse: true }
},
{
name: 'pages',
type: 'listeners',
listeners: [
{
alias: '404',
file: 'pages/html/errors/404.html',
controller: undefined,
parse: true,
data: {}
},
{ alias: '404.css', file: 'pages/css/errors/404.css' },
{
alias: '404.js',
file: 'pages/js/errors/404.js',
babel: true
},
{
alias: '500',
file: 'pages/html/errors/500.html',
controller: undefined,
parse: true,
data: {}
},
{ alias: '500.css', file: 'pages/css/errors/500.css' },
{
alias: '500.js',
file: 'pages/js/errors/500.js',
babel: true
},
{
alias: 'login',
file: 'pages/html/before_login/login.html',
controller: 'before_login/login',
parse: true,
data: {}
},
{
alias: 'login.css',
file: 'pages/css/before_login/login.css'
},
{
alias: 'login.js',
file: 'pages/js/before_login/login.js',
babel: true
},
{
alias: 'register',
file: 'pages/html/before_login/register.html',
controller: undefined,
parse: true,
data: {}
},
{
alias: 'register.css',
file: 'pages/css/before_login/register.css'
},
{
alias: 'register.js',
file: 'pages/js/before_login/register.js',
babel: true
},
{
alias: 'register-resender',
file: 'pages/html/before_login/register-resender.html',
controller: undefined,
parse: true,
data: {}
},
{
alias: 'register-resender.css',
file: 'pages/css/before_login/register-resender.css'
},
{
alias: 'register-resender.js',
file: 'pages/js/before_login/register-resender.js',
babel: true
},
{
alias: 'email-resender-sended',
file: 'pages/html/before_login/email-resender-sended.html',
controller: undefined,
parse: true,
data: {}
},
{
alias: 'email-resender-sended.css',
file: 'pages/css/before_login/email-resender-sended.css'
},
{
alias: 'email-resender-sended.js',
file: 'pages/js/before_login/email-resender-sended.js',
babel: true
},
{
alias: 'register-confirm',
file: 'pages/html/before_login/register-confirm.html',
controller: 'before_login/register-confirm',
parse: true,
data: {}
},
{
alias: 'register-confirm.css',
file: 'pages/css/before_login/register-confirm.css'
},
{
alias: 'register-confirm.js',
file: 'pages/js/before_login/register-confirm.js',
babel: true
},
{
alias: 'email-register-sended',
file: 'pages/html/before_login/email-register-sended.html',
controller: undefined,
parse: true,
data: {}
},
{
alias: 'email-register-sended.css',
file: 'pages/css/before_login/email-register-sended.css'
},
{
alias: 'email-register-sended.js',
file: 'pages/js/before_login/email-register-sended.js',
babel: true
},
{
alias: 'image-chooser',
file: 'pages/html/panel/image-chooser.html',
controller: 'panel/image-chooser',
parse: true,
data: { images: [] }
},
{
alias: 'image-chooser.css',
file: 'pages/css/panel/image-chooser.css'
},
{
alias: 'image-chooser.js',
file: 'pages/js/panel/image-chooser.js',
babel: true
},
{
alias: 'email-settings',
file: 'pages/html/settings/email-settings.html',
controller: 'settings/email-settings',
parse: true,
data: {}
},
{
alias: 'email-settings.css',
file: 'pages/css/settings/email-settings.css'
},
{
alias: 'email-settings.js',
file: 'pages/js/settings/email-settings.js',
babel: true
},
{
alias: 'bank-settings',
file: 'pages/html/settings/bank-settings.html',
controller: 'settings/bank-settings',
parse: true,
data: {}
},
{
alias: 'bank-settings.css',
file: 'pages/css/settings/bank-settings.css'
},
{
alias: 'bank-settings.js',
file: 'pages/js/settings/bank-settings.js',
babel: true
},
{
alias: 'settings',
file: 'pages/html/settings/settings.html',
controller: 'settings/settings',
parse: true,
data: {}
},
{
alias: 'settings.css',
file: 'pages/css/settings/settings.css'
},
{
alias: 'settings.js',
file: 'pages/js/settings/settings.js',
babel: true
},
{
alias: 'image-gallery',
file: 'pages/html/settings/image-gallery.html',
controller: 'settings/image-gallery',
parse: true,
data: { images: [] }
},
{
alias: 'image-gallery.css',
file: 'pages/css/settings/image-gallery.css'
},
{
alias: 'image-gallery.js',
file: 'pages/js/settings/image-gallery.js',
babel: true
},
{
alias: 'password-change',
file: 'pages/html/settings/password-change.html',
controller: 'settings/password-change',
parse: true,
data: {}
},
{
alias: 'password-change.css',
file: 'pages/css/settings/password-change.css'
},
{
alias: 'password-change.js',
file: 'pages/js/settings/password-change.js',
babel: true
},
{
alias: 'password-reminder',
file: 'pages/html/before_login/password-reminder.html',
controller: undefined,
parse: true,
data: {}
},
{
alias: 'password-reminder.css',
file: 'pages/css/before_login/password-reminder.css'
},
{
alias: 'password-reminder.js',
file: 'pages/js/before_login/password-reminder.js',
babel: true
},
{
alias: 'password-reset',
file: 'pages/html/before_login/password-reset.html',
controller: 'before_login/password-reset',
parse: true,
data: {}
},
{
alias: 'password-reset.css',
file: 'pages/css/before_login/password-reset.css'
},
{
alias: 'password-reset.js',
file: 'pages/js/before_login/password-reset.js',
babel: true
},
{
alias: 'password-reset-confirm',
file: 'pages/html/before_login/password-reset-confirm.html',
controller: undefined,
parse: true,
data: {}
},
{
alias: 'password-reset-confirm.css',
file: 'pages/css/before_login/password-reset-confirm.css'
},
{
alias: 'password-reset-confirm.js',
file: 'pages/js/before_login/password-reset-confirm.js',
babel: true
},
{
alias: 'email-reminder-sended',
file: 'pages/html/before_login/email-reminder-sended.html',
controller: undefined,
parse: true,
data: {}
},
{
alias: 'email-reminder-sended.css',
file: 'pages/css/before_login/email-reminder-sended.css'
},
{
alias: 'email-reminder-sended.js',
file: 'pages/js/before_login/email-reminder-sended.js',
babel: true
},
{
alias: 'login',
file: 'pages/html/login/login.html',
controller: 'login/login',
parse: true,
data: {}
},
{ alias: 'login.css', file: 'pages/css/login/login.css' },
{
alias: 'login.js',
file: 'pages/js/login/login.js',
babel: true
},
{
alias: 'stations',
file: 'pages/html/stations/stations.html',
controller: 'stations/stations',
parse: true,
data: { stations: [] }
},
{
alias: 'stations.css',
file: 'pages/css/stations/stations.css'
},
{
alias: 'stations.js',
file: 'pages/js/stations/stations.js',
babel: true
},
{
alias: 'station',
file: 'pages/html/stations/station.html',
controller: 'stations/station',
parse: true,
data: { station: { members: [] }, members: [], categories: [] }
},
{
alias: 'station.css',
file: 'pages/css/stations/station.css'
},
{
alias: 'station.js',
file: 'pages/js/stations/station.js',
babel: true
},
{
alias: 'station-edit',
file: 'pages/html/stations/station-edit.html',
controller: 'stations/station-edit',
parse: true,
data: { station: {} }
},
{
alias: 'station-edit.css',
file: 'pages/css/stations/station-edit.css'
},
{
alias: 'station-edit.js',
file: 'pages/js/stations/station-edit.js',
babel: true
},
{
alias: 'orders',
file: 'pages/html/orders/orders.html',
controller: 'orders/orders',
parse: true,
data: { stations: [] }
},
{ alias: 'orders.css', file: 'pages/css/orders/orders.css' },
{
alias: 'orders.js',
file: 'pages/js/orders/orders.js',
babel: true
},
{
alias: 'order-edit',
file: 'pages/html/orders/order-edit.html',
controller: 'orders/order-edit',
parse: true,
data: { station: {} }
},
{
alias: 'order-edit.css',
file: 'pages/css/orders/order-edit.css'
},
{
alias: 'order-edit.js',
file: 'pages/js/orders/order-edit.js',
babel: true
},
{
alias: 'offerts',
file: 'pages/html/offerts/offerts.html',
controller: 'offerts/offerts',
parse: true,
data: { stations: [] }
},
{ alias: 'offerts.css', file: 'pages/css/offerts/offerts.css' },
{
alias: 'offerts.js',
file: 'pages/js/offerts/offerts.js',
babel: true
},
{
alias: 'offert-edit',
file: 'pages/html/offerts/offert-edit.html',
controller: 'offerts/offert-edit',
parse: true,
data: { station: {} }
},
{
alias: 'offert-edit.css',
file: 'pages/css/offerts/offert-edit.css'
},
{
alias: 'offert-edit.js',
file: 'pages/js/offerts/offert-edit.js',
babel: true
},
{
alias: 'products',
file: 'pages/html/products/products.html',
controller: 'products/products',
parse: true,
data: { stations: [] }
},
{
alias: 'products.css',
file: 'pages/css/products/products.css'
},
{
alias: 'products.js',
file: 'pages/js/products/products.js',
babel: true
},
{
alias: 'product-edit',
file: 'pages/html/products/product-edit.html',
controller: 'products/product-edit',
parse: true,
data: { station: {} }
},
{
alias: 'product-edit.css',
file: 'pages/css/products/product-edit.css'
},
{
alias: 'product-edit.js',
file: 'pages/js/products/product-edit.js',
babel: true
},
{
alias: 'mails',
file: 'pages/html/mails/mails.html',
controller: 'mails/mails',
parse: true,
data: { stations: [] }
},
{ alias: 'mails.css', file: 'pages/css/mails/mails.css' },
{
alias: 'mails.js',
file: 'pages/js/mails/mails.js',
babel: true
},
{
alias: 'mail-edit',
file: 'pages/html/mails/mail-edit.html',
controller: 'mails/mail-edit',
parse: true,
data: { station: {} }
},
{
alias: 'mail-edit.css',
file: 'pages/css/mails/mail-edit.css'
},
{
alias: 'mail-edit.js',
file: 'pages/js/mails/mail-edit.js',
babel: true
},
{
alias: 'customers',
file: 'pages/html/customers/customers.html',
controller: 'customers/customers',
parse: true,
data: { stations: [] }
},
{
alias: 'customers.css',
file: 'pages/css/customers/customers.css'
},
{
alias: 'customers.js',
file: 'pages/js/customers/customers.js',
babel: true
},
{
alias: 'customer-edit',
file: 'pages/html/customers/customer-edit.html',
controller: 'customers/customer-edit',
parse: true,
data: { station: {} }
},
{
alias: 'customer-edit.css',
file: 'pages/css/customers/customer-edit.css'
},
{
alias: 'customer-edit.js',
file: 'pages/js/customers/customer-edit.js',
babel: true
},
{
alias: 'date_ranges',
file: 'pages/html/date_ranges/date_ranges.html',
controller: 'date_ranges/date_ranges',
parse: true,
data: { stations: [] }
},
{
alias: 'date_ranges.css',
file: 'pages/css/date_ranges/date_ranges.css'
},
{
alias: 'date_ranges.js',
file: 'pages/js/date_ranges/date_ranges.js',
babel: true
},
{
alias: 'date_range-edit',
file: 'pages/html/date_ranges/date_range-edit.html',
controller: 'date_ranges/date_range-edit',
parse: true,
data: { station: {} }
},
{
alias: 'date_range-edit.css',
file: 'pages/css/date_ranges/date_range-edit.css'
},
{
alias: 'date_range-edit.js',
file: 'pages/js/date_ranges/date_range-edit.js',
babel: true
}
]
}
],
iframeData: {
title: '@{ @C.dictionary.config.titles.iframe }@',
menu: {
'title-link': '#page-',
title: 'Main Menu',
options: [
{
link: '#page-stations',
text: 'stations',
active: false,
disabled: false
},
{
link: '#page-offerts',
text: 'offerts',
active: false,
disabled: false
},
{
link: '#page-date_ranges',
text: 'date_ranges',
active: false,
disabled: false
},
{
link: '#page-products',
text: 'products',
active: false,
disabled: false
},
{
link: '#page-orders',
text: 'orders',
active: false,
disabled: false
},
{
link: '#page-customers',
text: 'customers',
active: false,
disabled: false
}
]
},
imagePath: 'https://firmotron.pl/public/data',
firmotronPath: 'https://firmotron.pl',
firmotronPublicPath: 'https://firmotron.pl',
footerPath: 'https://firmotron.pl/api/footer',
fvPath: undefined,
socketPath: 'https://firmotron.pl/socket.io/socket.io.js',
socketControllerPath: 'https://firmotron.pl/public/scripts/socket.js'
}
};
config.language = 'pl_PL';
window.dictionary = {
config: {
titles: {
p404: 'Page not found',
p500: 'Internal server error',
iframe: '',
stations: 'Lista stanowisk',
dateRanges: 'Lista wykluczeń',
offerts: 'Lista ofert',
orders: 'Lista zamówień',
customers: 'Lista zamawiających',
products: 'Lista produktów',
mails: 'Lista szablonów wiadomości',
event: 'Szczegóły wydarzenia',
login: 'Logowanie',
register: 'Rejestracja',
registerResender: 'Wyślij ponownie link aktywacyjny',
emailResenderSended: 'Przesłano email',
registerConfirm: 'Aktywacja konta',
emailRegisterSended: 'Przesłano email',
admin: 'Panel Adminsitratora',
imageChooser: 'Wybierz obraz',
settings: 'Ustawienia',
imageGallery: 'Galeria',
passwordChange: 'Zmiana hasła',
passwordReminder: 'Resetowanie hasła',
passwordReset: 'Resetowanie hasła',
passwordResetConfirm: 'Resetowanie hasła',
emailReminderSended: 'Przesłano email',
index: '',
gallery: ''
},
menu: {
stations: 'stanowiska',
offerts: 'oferty',
date_ranges: 'wykluczenia',
products: 'produkty',
orders: 'zamówienia',
customers: 'zamawiający'
}
},
system: {
iframe: { logoutButtonText: 'Wyloguj' },
context: { serwerError: 'Wewnętrzny błąd serwera' }
},
templates: {
dialogs: {
eventRemoveConfirm: { mainMessage: 'Czy na pewno usunąć to wydarzenie?' },
eventMemberRemoveConfirm: { mainMessage: 'Czy na pewno usunąć tego uczestnika?' },
eventDocumentRemoveConfirm: { mainMessage: 'Czy na pewno usunąć ten dokument?' },
eventsListItemRemoveConfirm: { mainMessage: 'Czy na pewno usunąć to wydarzenie?' }
}
},
pages: {
p404: { mainMessage: 'Nie odnaleziono strony :/' },
p500: { mainMessage: 'Wewnętrzny błąd serwera :/' },
emailRegisterSent: {
mainMessage: 'Na podany adres email został wysłany link aktywacyjny!'
},
emailReminderSent: {
mainMessage: 'Na podany adres email został wysłany link resetujący hasło!'
},
emailResenderSent: {
mainMessage: 'Na podany adres email został wysłany link aktywacyjny!'
},
login: {
title: 'Logowanie',
loginInputLabel: 'Login:',
passwordInputLabel: 'Hasło:',
submitButtonText: 'Zaloguj się',
registerLinkText: 'Nie masz konta? Zarejestruj się.',
passwordRemiderLinkText: 'Nie pamiętasz hasła? Kliknij tutaj.',
registerResenderLinkText: 'Nie dotarł do ciebie link aktywacyjny? Kliknij tutaj aby wysłać go ponownie.',
script: { incorrectLoginData: 'Niepoprawne dane logowania' }
},
passwordReminder: {
title: 'Resetowanie hasła',
emailInputLabel: 'Wprowadź email podany przy rejestracji konta:',
submitButtonText: 'Prześlij link resetujący',
script: { incorrectEmail: 'Niepoprawny adress email' }
},
passwordResetConfirm: {
mainMessage: 'Zresetowano hasło, następuje przekierowanie na stronę logowania.'
},
passwordReset: {
title: 'Resetowanie hasła',
passwordInputLabel: 'Wprowadź hasło:',
passwordRepeatInputLabel: 'Powtórz hasło:',
submitButtonText: 'Resetuj hasło',
script: {
incorrectPassword: 'Hasło powinno zawierać 8 znaków, duże i małe litery, co najmniej jedną cyfrę i symbol, nie powinno też zawierać spacji!',
incorrectRepeatPassword: 'Podane hasła nie są identyczne',
incorrectLink: 'Link do resetowania hasła wygasł'
}
},
registerConfirm: {
mainMessage: 'Aktywowano konto, następuje przekierowanie na stronę logowania.'
},
registerResender: {
title: 'Podaj adres email, aby ponownie przesłać link aktywacyjny konto',
emailInputLabel: 'Email:',
submitButtonText: 'Wyślij',
script: { incorrectEmail: 'Niepoprawny adress email' }
},
register: {
title: 'Rejestracja',
loginInputLabel: 'Login:',
emailInputLabel: 'Email:',
passwordInputLabel: 'Wprowadź hasło:',
passwordRepeatInputLabel: 'Powtórz hasło:',
submitButtonText: 'Zarejestruj się',
script: {
loginIsAlreadyInUse: 'Podany login jest zajęty',
emailIsAlreadyInUse: 'Podany email jest zajęty',
incorrectEmail: 'Podany email jest niepoprawny',
incorrectPassword: 'Hasło powinno zawierać 8 znaków, duże i małe litery, co najmniej jedną cyfrę i symbol, nie powinno też zawierać spacji!',
incorrectRepeatPassword: 'Podane hasła nie są identyczne'
}
},
user: {
inviteToContactsListButtonText: 'Zaproś do listy kontaktów',
userIsInContactsListDisabledButtonText: 'Użytkownik znajduje się na twojej liście kontaktów',
userIsInvitedToContactsListDisabledButtonText: 'Zaproszenie do listy kontaktów zostało wysłane',
script: { sendedInvite: 'Wysłano zaproszenie do listy kontaktów' }
},
imageGallery: {
privateCheckboxLabel: 'Prywatne',
removeImageButtonText: 'Usuń',
chooseImageAsButtonText: 'Wybierz jako avatar',
addImageInputLabel: 'Dodaj nowy obraz:',
submitButtonText: 'Prześlij',
script: {
changedPrivateMode: 'Zmieniono ustawienia prywatności obrazu',
removedImage: 'Usunięto obraz'
}
},
passwordChange: {
title: 'Zmiana hasła',
passwordOldInputLabel: 'Wprowadź stare hasło: ',
passwordNewInputLabel: 'Wprowadź nowe hasło: ',
passwordRepeatInputLabel: 'Powtórz nowe hasło: ',
submitButtonText: 'Zmień hasło',
script: {
incorrectPassword: 'Hasło powinno zawierać 8 znaków, duże i małe litery, co najmniej jedną cyfrę i symbol, nie powinno też zawierać spacji!',
incorrectOldPassword: 'Stare hasło jest niepoprawne',
incorrectRepeatPassword: 'Podane hasła nie są identyczne',
changedPassword: 'Hasło zostało zmienione'
}
},
settings: {
passwordChangeLinkText: 'Zmień hasło',
imageGalleryLinkText: 'Zarządzaj galerią'
},
stations: {
title: 'Lista stanowisk',
addEventButtonText: 'Dodaj stanowisko',
editEventButtonText: 'Edytuj stanowisko',
removeEventButtonText: 'Usuń wydarzenie',
script: {}
},
date_ranges: {
title: 'Lista wykluczeń',
addEventButtonText: 'Dodaj wykluczenie',
editEventButtonText: 'Edytuj wykluczenie',
removeEventButtonText: 'Usuń wykluczenie',
script: {}
},
offerts: {
title: 'Lista ofert',
addEventButtonText: 'Dodaj ofertę',
editEventButtonText: 'Edytuj ofertę',
removeEventButtonText: 'Usuń ofertę',
script: {}
},
orders: {
title: 'Lista zamówień',
addEventButtonText: 'Dodaj zamówienie',
editEventButtonText: 'Edytuj zamówienie',
removeEventButtonText: 'Usuń zamówienie',
script: {}
},
products: {
title: 'Lista produktów',
addEventButtonText: 'Dodaj produkt',
editEventButtonText: 'Edytuj produkt',
removeEventButtonText: 'Usuń produkt',
script: {}
},
mails: {
title: 'Lista szablonów wiadomości',
addEventButtonText: 'Dodaj szablon wiadomości',
editEventButtonText: 'Edytuj szablon wiadomości',
removeEventButtonText: 'Usuń szablon wiadomości',
script: {}
},
customers: {
title: 'Lista zamawiających',
addEventButtonText: 'Dodaj zamawiającego',
editEventButtonText: 'Edytuj zamawiającego',
removeEventButtonText: 'Usuń zamawiającego',
script: {}
}
}
};