This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
leon:documents-manager [2023/10/18 17:57] rafal [Main page] |
leon:documents-manager [2023/11/15 11:53] (current) marek [Adding your logo to existing documents] |
||
---|---|---|---|
Line 28: | Line 28: | ||
---- | ---- | ||
+ | |||
+ | ==== Adding your logo to documents ==== | ||
+ | |||
+ | Adding your own logo to existing documents is an easy task which should be done at the beginning of using Leon. | ||
+ | |||
+ | All the documents are coded to display a **logo.png** file as a logo by default. To have your own logo displayed on all your documents, follow the steps below: | ||
+ | |||
+ | - Prepare a file with your logo. It must be a PNG file, named **logo.png**. | ||
+ | - Go to Settings -> Documents Manager, and edit any document you find there. | ||
+ | - Click the ping icon you can find in the top right corner. | ||
+ | - In the right panel, go to the **FILES** tab. | ||
+ | - In the **FILES** tab, find a **logo.png** file which can be there, and remove it by clicking the trash bin icon. | ||
+ | - In the same place, upload the file you prepared in the 1st step. | ||
+ | - Here you are - your logo should be displayed on all documents which have the default coding. | ||
+ | |||
+ | < | ||
+ | |||
+ | ---- | ||
+ | |||
==== Creating documents ==== | ==== Creating documents ==== | ||
Line 127: | Line 146: | ||
**__BODY__** | **__BODY__** | ||
+ | <code html [enable_line_numbers=" | ||
+ | <div class=" | ||
+ | <div> | ||
+ | <img src=" | ||
+ | <img src=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
- | {{: | ||
**__CSS__** | **__CSS__** | ||
+ | <code css [enable_line_numbers=" | ||
+ | .pictures { | ||
+ | page-break-before: | ||
+ | line-height: | ||
+ | } | ||
+ | </ | ||
- | {{: | ||
---- | ---- | ||
Line 176: | Line 207: | ||
It is also possible to **show a map** in particular documents. | It is also possible to **show a map** in particular documents. | ||
- | {{: | + | <code html [enable_line_numbers=" |
+ | <map route={{ trip.flights|getRouteForMap}} width=" | ||
+ | </ | ||
You can define **width** and **height** as you wish, as well as the** colour of lines** on the map (see screenshot). | You can define **width** and **height** as you wish, as well as the** colour of lines** on the map (see screenshot). |