raviks789
825f3a9b7f
Avoid use of dynamic properties deprecated in PHP 8.2
2023-08-23 10:53:13 +02:00
Johannes Meyer
b1574e4bee
ConfigMenu: Fix incorrect shared navigation url
...
fixes #4953
2022-12-07 11:57:23 +01:00
Sukhwinder Dhillon
3482ef9e65
Fix that navbar forgets active state after refresh ( #4831 )
2022-06-29 14:58:02 +02:00
Johannes Meyer
db2c30d418
ConfigMenu: Use absolute URLs in nav items
2022-06-15 08:39:55 +02:00
Johannes Meyer
457eb52e2c
ConfigMenu: Add missing application_log entry
...
fixes #4824
2022-06-15 08:39:09 +02:00
Florian Strohmaier
df788ac0ef
BadgeNavigationItemRenderer: Add `$cssClass` on autorefresh
2022-05-12 15:13:16 +02:00
Florian Strohmaier
eeeca5a204
ConfigMenu: create Configmenu class
2022-05-12 11:10:59 +02:00
Johannes Meyer
c038e84fc2
Ensure Return Type Compatibility with Internal Classes
2022-03-24 12:29:06 +01:00
Eric Lippmann
7e7e2415dc
Support $user.local_name$ macro in navigation items
2021-06-28 14:26:38 +02:00
Johannes Meyer
0d2bf1ae33
Menu: Integrate health endpoint
2021-05-14 15:45:35 +02:00
Johannes Meyer
4fdfb190ad
Navigation/DashboardPane: Properly register dashlets as children
...
refs #3542
2019-07-18 08:33:35 +02:00
Johannes Meyer
b06103bfc5
NavigationItemRenderer: Don't fail to render an icon if there's none
...
fixes #3859
2019-07-12 07:42:33 +02:00
Johannes Meyer
f0b5d8fd8e
BadgeNavigationItemRenderer: Round counts to the neareset base
...
refs #3568
2019-07-03 11:29:37 +02:00
Jennifer Mourek
b3b80fdc31
Make active first-level nav items better distinguishable
2019-03-20 11:07:39 +01:00
Jennifer Mourek
61b0d8aa90
Add icon with first letter of the li if there is no icon set else default to icon-circle
2019-03-20 11:07:39 +01:00
Alexander A. Klimov
a1709a0670
Fix unneccessary log message
...
refs #3189
2017-12-19 15:58:25 +01:00
Eric Lippmann
b6b87796ed
Menu: Link to the navigation dashboard if menu entry has children but no URL
2017-11-21 22:55:45 +01:00
Eric Lippmann
e7ca817e81
Make Navigation::findItem() public
...
We need this method public for the navigation dashbaord.
2017-11-21 22:55:45 +01:00
Eric Lippmann
21dbe4ec47
Only render icons of root navigation items
...
The upcoming navigation dashboard creates its links from the menu items in configuration.php.
Now, we encourage users to specify icons for second-level menu items but do not want render them in our menu.
2017-11-21 22:55:45 +01:00
Eric Lippmann
3660606ca1
Allow to set a description for navigation items
...
We will introduce a navigation dashboard for root menu items which do not a have a URL but children.
2017-11-21 22:55:45 +01:00
Johannes Meyer
181e2ef05c
Swag: Fix swag (aka a whole bunch of code style issues..)
2017-01-27 14:48:59 +01:00
Eric Lippmann
b3bc1b6f81
Let the SummaryNavigationItemRenderer show the worst state
...
fixes #11185
2016-12-08 10:40:22 +01:00
Eric Lippmann
a9461ada54
Only render a menu item when it's not empty
...
A menu item is not empty when it either has children or a defined URL.
2016-11-28 14:56:17 +01:00
Alexander A. Klimov
00880710ed
Navigation::fromArray(): pass $name only as string to addItem()
...
fixes #12923
2016-10-18 18:06:51 +02:00
Marius Hein
6607af61e1
Set dashboard active if it is not disabled
2016-04-26 13:50:02 +02:00
Alexander A. Klimov
eecd15ee68
NavigationItem: fall back to the default renderer if an error occurrs
...
fixes #10486
2016-04-25 15:26:08 +02:00
Johannes Meyer
c7443924bd
NavigationItemRenderer: Ignore target for '#' urls
...
fixes #11197
2016-02-22 11:13:23 +01:00
Alexander A. Klimov
9ef78e6856
Fix double escape of `&' in navigation items
...
fixes #11190
2016-02-19 15:38:34 +01:00
Alexander A. Klimov
a83ab2c7cb
Escape URLs of navigation items while rendering them
...
fixes #11091
2016-02-18 15:01:21 +01:00
Alexander A. Klimov
474803fee4
Change all license headers to only reflect a file's year of creation
...
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann
7fd575080e
PHP7: Rename String to StringHelper
...
refs #10251
2016-01-27 16:46:55 +01:00
Alexander A. Klimov
21f7af4b64
Revert "Merge branch 'bugfix/logout-requires-restart-of-browser-10330'"
...
This reverts commit 94f4c670c1
, reversing
changes made to 7d5c15469e
.
refs #10330
2015-12-17 18:50:51 +01:00
Alexander A. Klimov
f6cd4794ee
NavigationItemRenderer::renderTargetAttribute(): don't use the same name for two different variables
...
refs #10330
2015-12-17 17:45:03 +01:00
Alexander A. Klimov
a9b818d52c
NavigationItemRenderer: split actualLinkTarget() into getIcingaLinkTarget() and getHtmlLinkTarget()
...
refs #10330
2015-12-17 17:38:21 +01:00
Alexander A. Klimov
5edd8df1b6
NavigationItemRenderer: provide more human-readable aliases for native HTML link targets
...
refs #10330
2015-12-17 16:52:14 +01:00
Alexander A. Klimov
2473c4bbef
NavigationItemRenderer: provide more human-readable aliases for internal link targets
...
refs #10330
2015-12-17 16:51:45 +01:00
Eric Lippmann
8a26e81c1c
Remove LogoutNavigationItemRenderer
...
refs #5543
2015-11-10 14:06:49 +01:00
Eric Lippmann
ba4256d983
Quick and dirty fix menu in FF
...
refs #5543
2015-11-04 17:49:43 +01:00
Eric Lippmann
4eb92438dd
Add nav-level-$level CSS classes to navigation
2015-10-27 13:52:18 +01:00
Eric Lippmann
6e5ba364fb
CSS: Introduce badge-nav-item
...
refs #5543
2015-10-26 12:44:11 +01:00
Eric Lippmann
8341415d28
nav: Give item renderer a chance to set the CSS class of the outer li element
...
refs #5543
2015-10-26 12:32:49 +01:00
Eric Lippmann
e07e16d7a1
lib: Remove UserNavigationItemRenderer
2015-10-22 14:26:53 +02:00
Eric Lippmann
56ed92a8e6
Merge branch 'master' into feature/dope-layout-5543
2015-10-01 21:29:35 +02:00
Johannes Meyer
14ae04b631
RecursiveNavigationRenderer: Allow to enforce the standard item renderer
2015-10-01 17:43:48 +02:00
Eric Lippmann
3d2521abf0
Merge branch 'master' into feature/dope-layout-5543
2015-10-01 17:42:24 +02:00
Johannes Meyer
8c8af9cd50
DashboardPane: Fix that ordering dashlets is persistent
2015-10-01 17:35:11 +02:00
Johannes Meyer
0cc06d6af9
NavigationItem: Improve merge "algorithm"
2015-10-01 17:12:55 +02:00
Thomas Gelf
cb5f741f22
UserNavigationItemRenderer: disable avatar
...
Broken on ff, no such image, rendering issues - postponed
2015-10-01 16:39:20 +02:00
Johannes Meyer
d54e5f62e6
NavigationItem: Accept priority while merging if none is set yet
2015-10-01 16:32:47 +02:00
Eric Lippmann
968754ec2e
CSS: Add class no-icon to menu items w/o an icon
...
refs #5543
2015-10-01 02:51:46 +02:00