This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
leon:documents-manager [2019/09/12 09:10] bartek [Adding aircraft pictures to documents] |
leon:documents-manager [2020/04/15 04:17] bartek [Documents Manager] |
||
---|---|---|---|
Line 3: | Line 3: | ||
**Documents Manager** panel allows managing and customizing documents available in Leon, such as: **Flight Order**, **Trip Sheet**, **General Declaration**, | **Documents Manager** panel allows managing and customizing documents available in Leon, such as: **Flight Order**, **Trip Sheet**, **General Declaration**, | ||
- | The list of pre-defined documents is constantly expanded to cover all documents in Leon. In the future it will be possible to create completely **new custom document** apart from those pre-defined in Leon. | + | The list of pre-defined documents is constantly expanded to cover all documents in Leon. It is also possible to create completely **new custom document** apart from those pre-defined in Leon. |
===== Main page ===== | ===== Main page ===== | ||
Line 134: | Line 134: | ||
---- | ---- | ||
- | ==== HTML structure ==== | + | ===== Attaching extra pages to documents ===== |
+ | |||
+ | It is possible to attach **extra pdfs** to existing documents in Leon. If, for example, Flight Order needs to have attached an extra page for pilots with towing instructions, | ||
+ | |||
+ | {% pdf " | ||
+ | |||
+ | where ' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Showing a map in documents ===== | ||
+ | |||
+ | [{{ : | ||
+ | |||
+ | It is also possible to **show a map** in particular documents. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | You can define **width** and **height** as you wish, as well as the** colour of lines** on the map (see screenshot). | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== HTML structure | ||
**HTML** is a markup language that allows defining structure of web pages. Pages written in HTML can be further styled by CSS. In Documents manager user only writes HTML placed inside < | **HTML** is a markup language that allows defining structure of web pages. Pages written in HTML can be further styled by CSS. In Documents manager user only writes HTML placed inside < | ||
Line 161: | Line 183: | ||
---- | ---- | ||
- | ==== CSS structure ==== | + | ===== CSS structure |
CSS is used to add **style** to document' | CSS is used to add **style** to document' | ||
Line 181: | Line 203: | ||
---- | ---- | ||
- | ==== Using Twig ==== | + | ===== Using Twig ===== |
**Twig** is a template engine that can insert **dynamic data** from LEON into document’s HTML structure. Before using Twig you should familiarize yourself with data structure of a document you are customizing. | **Twig** is a template engine that can insert **dynamic data** from LEON into document’s HTML structure. Before using Twig you should familiarize yourself with data structure of a document you are customizing. |