Reorganized main navigation bar elements.

Commit
52fdc8bc81f37bb07d267b185e1c515122c2aa98
Author
Marius Peter <marius.peter@tutanota.com>
Author date
Committer
Marius Peter <marius.peter@tutanota.com>
Committer date
src/MyFitnessTracker/MFTMainNavigationBarComponent.class.st
index 2cf415a3..ab27ce74 100644..100644
@@ -40,17 +40,18 @@
40 40
41 41 | pm |
42 42 pm := self session pageManager.
43 Removed: "The toggler that is only visible when reducing the width of screen"
43 Added: html navigationBarBrand
44 Added: callback: [ pm setActivePageAt: #landing ];
45 Added: with: 'MyFitnessTracker'.
46 Added: "The toggler is only visible when the screen width is reduced."
44 47 html navigationBarToggler
45 48 beButtonType;
46 49 collapse;
47 50 dataTarget: '#navbarCollapsed';
48 51 with: [ html navigationBarTogglerIcon ].
49 Removed: html navigationBarBrand
50 Removed: callback: [ pm setActivePageAt: #landing ];
51 Removed: with: 'MyFitnessTracker'.
52 52 html navigationBarCollapse collapse
53 53 id: 'navbarCollapsed';
54 Added: class: 'justify-content-between';
54 55 with: [
55 56 html navigationBarNavigation: [
56 57 pm mainPages keysAndValuesDo: [ :key :value |
@@ -59,6 +60,6 @@
59 60 with: [
60 61 html navigationLink
61 62 callback: [ pm setActivePageAt: key ];
62 Removed: with: value title capitalized ] ] ] ].
63 Removed: html div: [ html render: loginRegisterLogout ]
63 Added: with: value title capitalized ] ] ].
64 Added: html render: loginRegisterLogout ]
64 65 ]