nuropa

off the beaten track

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
components:toolbar:index [2025/07/08 16:20] admincomponents:toolbar:index [2025/07/19 14:58] (current) – external edit 127.0.0.1
Line 13: 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:
  
-{{:components:toolbar:toolbar-login.png?nolink|Nuropa toolbar login button}}+<figure box>{{:components:toolbar:toolbar-login.png?nolink|Nuropa toolbar login button}}<figcaption>Toolbar login button</figcaption></figure>
  
 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:
  
-{{:components:toolbar:toolbar-username.png?nolink|Nuropa toolbar user menu button}}+<figure box>{{:components:toolbar:toolbar-username.png?nolink|Nuropa toolbar user menu button}}<figcaption>Toolbar user menu (closed)</figcaption></figure>
  
 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:
  
-{{:components:toolbar:toolbar-usermenu.png?nolink|}}+<figure box>{{:components:toolbar:toolbar-usermenu.png?nolink|Nuropa toolbar user menu open}}<figcaption>Toolbar user menu (closed)</figcaption></figure>
  
 <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 1:** The functions of the user button are also available in the right-hand “overflow menu”. See below for more information.
 </aside> </aside>
  
 +<aside info>
 +**Note 2:** The available functions of this item are the same as the ones that can be configured for the [[..:searchbar:tool|searchbar tools]] item. 
 +</aside>
 ==== Languages menu ==== ==== Languages menu ====
  
Line 33: 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:
  
-<figure>+<figure box>
 {{:components:toolbar:toolbar-languages-menu.png?nolink|Nuropa toolbar languages menu}} {{:components:toolbar:toolbar-languages-menu.png?nolink|Nuropa toolbar languages menu}}
 <figcaption>Languages menu in the toolbar</figcaption></figure> <figcaption>Languages menu in the toolbar</figcaption></figure>
  
-<aside info> +<aside info>**Note:** The languages menu will not be shown in some situations, e.g. in the Administration view.
-== Notes == +
-  * The languages menu will not be shown in some situations, e.g. in the Administration view.+
 </aside> </aside>
  
Line 51: Line 52:
 The following screenshot shows the positioning of these two hooks: The following screenshot shows the positioning of these two hooks:
  
-<figure>{{:components:toolbar:toolbar-with-hooks.png?nolink|Nuropa Toolbar right items with hooks}}<figcaption>Right-hand item with hooks</figcaption></figure>+<figure box>{{:components:toolbar:toolbar-with-hooks.png?nolink|Nuropa Toolbar right items with hooks}}<figcaption>Left-hand item with hooks</figcaption></figure>
 ===== Right-hand items ===== ===== Right-hand items =====
  
Line 65: 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:
  
-<figure><div [style=text-align:right]>{{:components:toolbar:toolbar-pagetools-overflow.png?nolink|Nuropa toolbar with overflow menu}}</div>+<figure box><div [style=text-align:right]>{{:components:toolbar:toolbar-pagetools-overflow.png?nolink|Nuropa toolbar with overflow menu}}</div>
 <figcaption>Page-tools move to overflow menu when there is not enough space.</figcaption></figure> <figcaption>Page-tools move to overflow menu when there is not enough space.</figcaption></figure>