This shows you the differences between two versions of the page.
Both sides previous 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/01/31 10:36] bartek [Attaching extra pages to documents] |
||
---|---|---|---|
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. |