Sidebar
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| components:toolbar:index [2025/07/08 11:48] – [Behaviour] admin | components:toolbar:index [2025/07/19 14:58] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <div [hidden]> | + | ====== Toolbar |
| - | == Toolbar | + | |
| - | </ | + | |
| - | < | + | |
| The topmost element on every page is the site toolbar, which by default hosts the DokuWiki administration tools and user menu. | The topmost element on every page is the site toolbar, which by default hosts the DokuWiki administration tools and user menu. | ||
| Line 16: | Line 13: | ||
| This is the default item for this place. It shows the user menu, or, if no user is logged in at this point, the login button, which looks as follows: | This is the default item for this place. It shows the user menu, or, if no user is logged in at this point, the login button, which looks as follows: | ||
| - | {{: | + | <figure box>{{: |
| Once your are logged in to the DokuWiki system, it shows the name of the currently logged in account instead: | Once your are logged in to the DokuWiki system, it shows the name of the currently logged in account instead: | ||
| - | {{: | + | <figure box>{{: |
| In this case, this works as a menu, which gives access to the user functions, as provided by DokuWiki: | In this case, this works as a menu, which gives access to the user functions, as provided by DokuWiki: | ||
| - | {{: | + | <figure box>{{: |
| <aside info> | <aside info> | ||
| - | **Note:** The functions of the user button are also available in the right-hand “overflow menu”. See below for more information. | + | **Note |
| </ | </ | ||
| + | <aside info> | ||
| + | **Note 2:** The available functions of this item are the same as the ones that can be configured for the [[..: | ||
| + | </ | ||
| ==== Languages menu ==== | ==== Languages menu ==== | ||
| Line 36: | Line 36: | ||
| In this case, the menu will always show the current language and provide a menu with other configured languages: | In this case, the menu will always show the current language and provide a menu with other configured languages: | ||
| - | < | + | < |
| {{: | {{: | ||
| < | < | ||
| - | <aside info> | + | <aside info>**Note:** The languages menu will not be shown in some situations, e.g. in the Administration view. |
| - | == Notes == | + | |
| - | | + | |
| </ | </ | ||
| Line 54: | Line 52: | ||
| The following screenshot shows the positioning of these two hooks: | The following screenshot shows the positioning of these two hooks: | ||
| - | < | + | < |
| ===== Right-hand items ===== | ===== Right-hand items ===== | ||
| Line 68: | Line 66: | ||
| If there is not enough space to show all items (in particular on smaller screens, e.g. on smartphones or similar devices), the additional items will move to the “overflow menu” on the right-hand side: | If there is not enough space to show all items (in particular on smaller screens, e.g. on smartphones or similar devices), the additional items will move to the “overflow menu” on the right-hand side: | ||
| - | < | + | < |
| < | < | ||
| Line 101: | Line 99: | ||
| * **Toolbar font size** – the font size to use in the toolbar. | * **Toolbar font size** – the font size to use in the toolbar. | ||
| * **Toolbar font size mobile** – alternative font size to use in mobile view. | * **Toolbar font size mobile** – alternative font size to use in mobile view. | ||
| - | * **Toolbar background colour** – Background colour for the toolbar. | + | * **Toolbar background colour** – Background colour for the toolbar <strong red> |
| - | * **Toolbar text colour** - Text colour for the toolbar. | + | * **Toolbar text colour** - Text colour for the toolbar <strong red> |
| - | * **Toolbar icon colour** – Colour to use for icons in the toolbar. | + | * **Toolbar icon colour** – Colour to use for icons in the toolbar <strong red> |
| - | * **Toolbar focus colour** – colour to use for focus highlights in the toolbar. | + | * **Toolbar focus colour** – colour to use for focus highlights in the toolbar <strong red> |
| - | Note that all “colours” exist in two variants, the second of which is used for the “dark mode”, if enabled. | + | <aside info>**Note 1:** All “colour” items (marked with <strong red> |
| - | <aside info> | + | The idea of the toolbar is that is should appear visually distinct from the page, more resembling a browser feature rather than a part of the web page. For this reason, there are so many configuration options for this element. |