Skip to main content

File and directory structure

 Excluding the files and directories necessary to operate the system (i.e. css, fonts, js, service-worker.js), the main application directory contains several elements that are of interest to us:

/FORMS directory:

In this folder we will define and style all our forms. /Forms directory includes:
/styles - files that allow you to configure the appearance of the form (changing colors, styling views, control buttons, etc.).
├──/templates - configuration files of each form
config.json - list of active forms

SystemConfig.json file:
Main system configuration, here you set communication with OTRS, default language and many more [[[more in the Main configuration file - global settings]]].

manifest.json file:
This file is responsible for PWA settings (for more advanced users), if you are not an advanced user - leave it as it is.

index.html file:
├──In service-worker.js
└──this static
├──file FORMS
│  you ├──can API
│  change │  the ├──title Production
│  of │  the │  form ├──page, Elektryczne_Mechaniczne[ELEKTRYKA].json
│  you │  can │  change └──it Elektryczne_Mechaniczne[MECHANIKA].json
│  by │  changing ├──the en
│  text │  in │  the ├──<title></title> batteryInfo
│   │   │   │   ├── E8.9.json
│   │   │   │   ├── nE12.json
│   │   │   │   ├── nE12FC.json
│   │   │   │   ├── nE18.json
│   │   │   │   ├── nT12.json
│   │   │   │   └── nT18.json
│   │   │   ├── cities
│   │   │   │   └── Europe\ -\ Albania.json
│   │   │   └── countries.json
│   │   ├── marcin-nie.json
│   │   ├── marcin-tak.json
│   │   └── pl
│   │   ├── batteryInfo
│   │   │   ├── E8.9.json
│   │   │   ├── nE12.json
│   │   │   ├── nE12FC.json
│   │   │   ├── nE18.json
│   │   │   ├── nT12.json
│   │   │   └── nT18.json
│   │   ├── cities
│   │   │   └── Europe\ -\ Albania.json
│   │   └── countries.json
│   ├── config.json
│   ├── styles
│   │   ├── custom_style.css
│   │   └── style.css
│   └── templates
│   ├── AWARIA.json
│   ├── SALON.json
│   ├── SALON_Dokumenty.json
│   ├── SALON_Dokumenty_BrakDokumentuWSystemieTETA.json
│   ├── SALON_Dokumenty_BrakDokumentuZCentrali.json
│   ├── SALON_Dokumenty_BrakDokumentuZSalonu.json
│   ├── SALON_Dokumenty_UsuniecieDokumentuKcfirma.json
│   ├── SALON_Dokumenty_UsuniecieDokumentuTETA.json
│   ├── SALON_Reklamacje.json
│   ├── SALON_Reklamacje_ModyfikacjaDokumentu.json
│   ├── TETA.json
│   ├── TETA_NowaFunkcjonalnoscModyfikacja.json
│   ├── TETA_ProblemZPodlaczeniem.json
│   ├── TETA_WydrukiRaportyModyfikacje.json
│   └── TETA_WydrukiRaportyNowy.json
├── SystemConfig.json
├── css
│   ├── main.76d1c68de3208064432b0ddb0d6dcf48.css
│   └── main.76d1c68de3208064432b0ddb0d6dcf48.css.map
├── fonts
│   ├── MaterialIcons-Regular.012cf6a.woff
│   ├── MaterialIcons-Regular.570eb83.woff2
│   ├── MaterialIcons-Regular.a37b0c0.ttf
│   ├── MaterialIcons-Regular.e79bfd8.eot
│   ├── Roboto-Bold.c0f1e4a.woff2
│   ├── Roboto-Bold.eed9aab.woff
│   ├── Roboto-Light.3c37aa6.woff2
│   ├── Roboto-Light.ea36cd9.woff
│   ├── Roboto-Medium.1561b42.woff2
│   ├── Roboto-Medium.cf4d60b.woff
│   ├── Roboto-Regular.3cf6adf.woff
│   ├── Roboto-Regular.5136cbe.woff2
│   ├── Roboto-Thin.1f35e6a.woff2
│   └── Roboto-Thin.44b78f1.woff
├── img
│   ├── icons
│   │   ├── android-chrome-192x192.png
│   │   ├── android-chrome-512x512.png
│   │   ├── apple-touch-icon-152x152.png
│   │   ├── favicon-16x16.png
│   │   ├── favicon-32x32.png
│   │   └── safari-pinned-tab.svg
│   ├── loading.8f765de.gif
│   ├── logo.png
│   └── logo.svg
├── js
│   ├── main.61aad046d695d3e650f9.js
│   ├── main.61aad046d695d3e650f9.js.map
│   ├── manifest.800f25e3d4154dbe3b6a.js
│   ├── manifest.800f25e3d4154dbe3b6a.js.map
│   ├── vendor.679da6c469807a21ef06.js
│   └── vendor.679da6c469807a21ef06.js.map
└── manifest.jsonattribute.