Eric Lippmann
2ff822c2ac
Merge branch 'master' into feature/ipv6-addresses-9645-9826
2015-09-28 13:09:30 +02:00
Johannes Meyer
2f9bd78721
Merge branch 'master' into bugfix/Prettify-page-layout-when-accessing-a-non-existent-route-while-not-being-authenticated-10009
2015-09-28 09:55:07 +02:00
Johannes Meyer
d627f419ef
Fix that an object's notes and action url label is escaped twice
...
fixes #10218
2015-09-28 09:05:17 +02:00
Eric Lippmann
ab50fcc091
CSS: Introduce .primary-nav
...
refs #5543
2015-09-27 16:06:46 +02:00
Eric Lippmann
8cd715f2d4
CSS: Include main.less after nav.less
...
refs #5543
2015-09-27 16:00:19 +02:00
Eric Lippmann
2996cb77ab
Navigation: Close the navigation item after all children have been rendererd
...
refs #5543
2015-09-27 15:43:49 +02:00
Eric Lippmann
63e0549618
Navigation: Support empty labels for creating containers
...
refs #5543
2015-09-27 15:42:26 +02:00
Eric Lippmann
9115e1d834
CSS: Move monitoring/colors.less to application
...
refs #5543
2015-09-27 14:28:36 +02:00
Eric Lippmann
d59b09ca48
Fix badge markup in the BadgeNavigationItemRenderer
...
refs #5543
2015-09-27 14:16:51 +02:00
Eric Lippmann
30ed3ad760
Fix badge markup in the BadgeMenuItemRenderer
...
refs #5543
2015-09-27 14:16:36 +02:00
Eric Lippmann
4c798d4e04
Fix coding style in the SummaryNavigationItemRenderer
...
refs #5543
2015-09-27 14:16:10 +02:00
Eric Lippmann
181f6d5285
CSS: Re-add form.less but w/ out-commented content
...
refs #5543
2015-09-27 13:37:35 +02:00
Eric Lippmann
901a5b6d34
lib: Remove obsolete navigation renderer classes
...
refs #5543
2015-09-27 13:32:14 +02:00
Eric Lippmann
9789aed870
lib: Fix navigation renderer usage in the limiter widget
...
refs #5543
2015-09-27 13:29:22 +02:00
Eric Lippmann
a9f0aa6bcd
lib: Fix navigation usage in the limiter widget
...
refs #5543
2015-09-27 13:22:43 +02:00
Eric Lippmann
d79a160547
Navigation: Disable ids on li for the moment
...
refs #5543
2015-09-27 13:11:49 +02:00
Eric Lippmann
d3ac1b16ee
Merge branch 'master' into feature/dope-layout-5543
2015-09-27 13:11:11 +02:00
Eric Lippmann
ed9a6aa39d
lib: Fix Navigation::addItem()
...
refs #5543
2015-09-27 12:26:58 +02:00
Alexander A. Klimov
ed935696ac
CSS: outsource .logo related rules into a new .less file `logo.less'
...
refs #10009
2015-09-25 15:31:39 +02:00
Johannes Meyer
a55cced039
Merge branch 'master' into feature/custom-menu-items-5600
...
Conflicts:
modules/monitoring/application/views/scripts/list/comments.phtml
modules/monitoring/application/views/scripts/list/downtimes.phtml
2015-09-25 14:12:43 +02:00
Eric Lippmann
7ff74ae36a
lib: Use navigation classes in the limiter control
...
refs #5543
2015-09-25 13:36:28 +02:00
Eric Lippmann
823a2cc8ea
CSS: Add nav.less and limiter.less to our stylesheet
...
refs #5543
2015-09-25 13:36:04 +02:00
Eric Lippmann
1122ffafad
lib: Add navigation classes (WIP)
...
- Lacks custom renderer functionality
- Lacks navigation item priorities
- Lacks permission handling
refs #5600
2015-09-25 13:16:44 +02:00
Eric Lippmann
59b9155ca7
CSS: Include dev.less in our style sheet
...
refs #5543
2015-09-25 00:35:12 +02:00
Johannes Meyer
165dc00fad
Url: Do not throw ProgrammingError if there is no relative url available
...
refs #5600
2015-09-24 14:03:15 +02:00
Eric Lippmann
27f3dd94d2
CSS: Add text-small to time-since, -until and -ago
...
refs #5543
2015-09-24 10:28:56 +02:00
Eric Lippmann
5b1e4f0a1c
CSS: Add new main.less to our stylesheet
...
refs #5543
2015-09-23 13:41:39 +02:00
Eric Lippmann
2e9ea40eb1
CSS: Disable main-content.less for now
...
refs #5543
2015-09-23 13:37:19 +02:00
Eric Lippmann
e982735451
CSS: Rename main.less to base.less
...
refs #5543
2015-09-23 13:36:25 +02:00
Eric Lippmann
d1b141d142
CSS: Include main.less in our stylesheet
...
refs #5543
2015-09-23 11:01:55 +02:00
Eric Lippmann
12227d9d08
CSS: Disable defaults.less for now
...
refs #5543
2015-09-23 10:57:39 +02:00
Eric Lippmann
8b9cdc5c1e
CSS: Include normalize.css in our style sheet
...
refs #5543
2015-09-23 10:43:43 +02:00
Johannes Meyer
5193fce1dd
Url: Fix external url detection
...
refs #5600
2015-09-22 16:18:27 +02:00
Johannes Meyer
81e13109fc
Revert "Url: Add support macros"
...
This reverts commit 33231d24da
.
There is no need for url macros, since we're handling absolute
urls correctly now.
2015-09-22 15:51:00 +02:00
Johannes Meyer
33231d24da
Url: Add support macros
...
refs #5600
2015-09-22 14:15:04 +02:00
Johannes Meyer
7321d67b4f
Url: Consider urls with a leading slash as absolute..
...
..and make it possible to have a url without a base.
refs #5600
2015-09-22 14:14:41 +02:00
Johannes Meyer
3c7155f246
NavigationItemRenderer: Pass external urls through the iframe module
...
refs #5600
2015-09-21 14:13:10 +02:00
Johannes Meyer
7e460e7c03
Url: Remove redundant slash on urls without path
2015-09-21 14:04:36 +02:00
Johannes Meyer
776d06d6ca
Url: Fix host check in fromPath()
...
refs #5600
2015-09-21 14:03:53 +02:00
Johannes Meyer
c8d3aa2517
Url: Support external urls in fromPath()
...
refs #5600
2015-09-21 13:10:35 +02:00
Johannes Meyer
3aaf726856
Update CSS style used for the navigation
...
refs #5600
2015-09-21 11:13:05 +02:00
Johannes Meyer
76cf01869e
NavigationItem: Add property $target
...
refs #5600
2015-09-21 10:18:46 +02:00
Eric Lippmann
46ab8d847d
Forms: Wrap the label and the help icon in a div
...
refs #5543
2015-09-19 21:58:02 +02:00
Eric Lippmann
a92c0de52f
CSS: Disable all form styles for the moment
...
refs #5543
2015-09-19 21:57:29 +02:00
Eric Lippmann
cf8548a29d
CSS: Add Icinga theme (WIP)
...
refs #5543
2015-09-18 15:25:14 +02:00
Johannes Meyer
d4a9198310
Navigation: Only fail if there's really no chance to create the requested hierarchy
...
refs #5600
2015-09-17 14:42:02 +02:00
Johannes Meyer
b6fe6ffd6b
Navigation: Relax type check in method fromConfig()
...
refs #5600
2015-09-17 13:41:28 +02:00
Eric Lippmann
79c9a8af9b
lib: Fix Number::isValid(), again :)
2015-09-17 12:52:09 +02:00
Johannes Meyer
83bde3aa81
Form: Rename property $parent to $_parent
...
Zend.. I love you..
2015-09-17 11:23:47 +02:00
Johannes Meyer
4f5a5c83bc
Navigation: Add method hasRenderableItems()
...
refs #5600
2015-09-17 11:01:06 +02:00
Johannes Meyer
bf4e492fa1
Action: Accept and apply option "filter"
...
refs #5600
2015-09-17 11:00:40 +02:00
Johannes Meyer
b1ee12f721
NavigationItem: Allow to dynamically decide whether to render an item
...
refs #5600
2015-09-17 09:11:17 +02:00
Johannes Meyer
84f733b177
DashboardPane: Rename param $order to $ordered in method getDashlets
...
refs #5600
2015-09-17 08:25:17 +02:00
Johannes Meyer
54d08f99e8
DashboardPane: Order dashlets alphabetically
...
refs #5600
2015-09-16 15:31:41 +02:00
Johannes Meyer
8b7a1ce28f
Late translate a module's dashboard-pane/dashlet labels
...
refs #5600
2015-09-16 14:29:33 +02:00
Johannes Meyer
d0eb61dc2e
Form: Add property $parent
...
refs #5600
2015-09-15 16:09:33 +02:00
Johannes Meyer
1d6ad6df21
Merge branch 'master' into feature/custom-menu-items-5600
...
Conflicts:
modules/monitoring/configuration.php
2015-09-15 13:31:30 +02:00
Eric Lippmann
e8c21868ff
lib: Fix Number::isValid()
...
- Calls $this->translate()
- Always performs is_numeric check, even if the element is not required
2015-09-07 16:57:09 +02:00
Eric Lippmann
b897813e71
lib: Add Form::setRequest()
2015-09-07 13:55:52 +02:00
Eric Lippmann
1fb613e811
api/forms: Fix array access of a notification
...
refs #9606
2015-09-07 13:49:53 +02:00
Eric Lippmann
d3fe1e1973
api/response: Allow setting null as success data
...
refs #9606
2015-09-07 13:45:13 +02:00
Eric Lippmann
b20eb681c0
api/forms: Use the first success notification as success message
...
refs #9606
2015-09-07 13:44:46 +02:00
Eric Lippmann
f467d085b0
api: Use JsonResponse in form
...
refs #9606
2015-09-07 13:36:12 +02:00
Johannes Meyer
21180e2fd4
NavigationItem: Fix method conflictsWith()
...
...
refs #5600
2015-09-07 13:26:44 +02:00
Johannes Meyer
6b13f2a987
NavigationRenderer: Do not render an empty header
...
refs #5600
2015-09-07 13:25:25 +02:00
Eric Lippmann
25abc16e15
lib: Replace Repsonse::sendJson() w/ Response::json()
...
refs #9606
2015-09-07 13:24:21 +02:00
Eric Lippmann
a9cb8bfb2c
lib: Add JsonResponse class
...
refs #9606
2015-09-07 13:22:58 +02:00
Johannes Meyer
f9441c91d5
Navigation: Load shared navigation items
...
refs #5600
2015-09-07 13:22:36 +02:00
Johannes Meyer
ee43fdad0a
DashboardPane: Consider dashlets when merging
...
refs #5600
2015-09-07 13:21:31 +02:00
Johannes Meyer
bf2cb9ab7e
NavigationItem: Provide a more sophisticated conflict detection
...
refs #5600
2015-09-07 13:20:49 +02:00
Johannes Meyer
0feaec7af1
NavigationItem: Return a instance of Url in method getUrl(), really
...
refs #5600
2015-09-07 13:20:17 +02:00
Johannes Meyer
451a0c91f2
NavigationItem: Add missing return statement in method merge()
...
refs #5600
2015-09-07 13:19:36 +02:00
Johannes Meyer
f958a1c323
Navigation: Load a user's navigation items
...
refs #5600
2015-09-07 12:20:14 +02:00
Johannes Meyer
411c6e0546
Navigation: Fix that a module's item class is not found
...
refs #5600
2015-09-07 12:01:05 +02:00
Eric Lippmann
0f8c28d749
Merge branch 'master' into feature/api-9606
2015-09-07 11:33:44 +02:00
Johannes Meyer
f9b68b683b
NavigationItem: Consider unknown properties as element attributes
...
refs #5600
2015-09-07 09:49:05 +02:00
Johannes Meyer
ca72bd5455
NavigationRendererInterface: Use "div" as default outer element tag
...
"nav" is less often necessary.
refs #5600
2015-09-07 09:48:32 +02:00
Johannes Meyer
e63e15e471
Add class DashboardPane
...
refs #5600
2015-09-07 09:06:40 +02:00
Johannes Meyer
b5711f4031
Dashboard: Load panes by utilizing the new Navigation
...
This is only a quick fix to avoid adjusting the complete dashboard
implementation.
refs #5600
2015-09-07 09:05:50 +02:00
Johannes Meyer
a3539b0817
Navigation: Fix method getActiveItem() failing badly for empty navigations
...
refs #5600
2015-09-07 08:37:06 +02:00
Johannes Meyer
6dd49761ff
Navigation: Add method getActiveItem()
...
refs #5600
2015-09-04 16:21:09 +02:00
Johannes Meyer
6967fffb1f
Navigation: Add support dashboard-panes and check module permissions
...
refs #5600
2015-09-04 15:51:51 +02:00
Johannes Meyer
2af06e9415
NavigationItem: Re-introduce a default priority of 100
...
refs #5600
2015-09-04 14:20:21 +02:00
Johannes Meyer
b2a0f1b9c2
Navigation: Peform a case-insensitive search when merging items
...
refs #5600
2015-09-04 14:17:16 +02:00
Johannes Meyer
63f8f34c15
Navigation: Add method load()
...
Supports currently only module menus.
refs #5600
2015-09-04 13:55:31 +02:00
Johannes Meyer
881880f18f
SummaryNavigationItemRenderer: Fix method getTitle()
...
refs #5600
2015-09-04 13:48:29 +02:00
Johannes Meyer
8e24ec978d
BadgeNavigationItemRenderer: Use view() instead of getView()
...
refs #5600
2015-09-04 13:47:57 +02:00
Johannes Meyer
044fe031da
NavigationItemRenderer: Add method init()
...
refs #5600
2015-09-04 13:47:38 +02:00
Johannes Meyer
1a42c04c8e
NavigationItem: Fix locating a module's custom navigation renderer
...
refs #5600
2015-09-04 13:47:17 +02:00
Matthias Jentsch
ca33e71f2d
Deduplicate and clean up service summary component
...
Remove redundant component view script and streamline subFilter handling in all views that render it. Remove
heading from component to allow embedding in different types of views.
refs #10033
2015-09-04 13:02:57 +02:00
Johannes Meyer
5ff3db8a3c
Url: Explicitly handle '#'
...
Feels like a quick&dirty solution. Feel free to improve it.
refs #5600
2015-09-04 10:34:39 +02:00
Johannes Meyer
07588595f2
NavigationItem: Automatically determine whether it's active or not
...
refs #5600
2015-09-04 10:10:33 +02:00
Johannes Meyer
baefc89f85
NavigationRenderer: Provide a id for outer item markup (<li>)
...
refs #5600
2015-09-04 09:41:39 +02:00
Johannes Meyer
2855778dc7
Revert "NavigationItemRenderer: Provide a id if none is set"
...
This reverts commit c60839d798
.
2015-09-04 09:38:03 +02:00
Johannes Meyer
975cc92f6b
NavigationItem: Provide "#" as default url for items with children
...
refs #5600
2015-09-04 09:31:23 +02:00
Johannes Meyer
4e948b46bf
NavigationRenderer: Add id "navigation" to the navigation's heading
...
refs #5600
2015-09-04 09:26:28 +02:00
Johannes Meyer
c60839d798
NavigationItemRenderer: Provide a id if none is set
...
refs #5600
2015-09-04 09:25:58 +02:00
Johannes Meyer
a8d5a78aa2
NavigationItem: Fix method getUniqueName()
...
refs #5600
2015-09-04 09:25:25 +02:00
Johannes Meyer
a6b2c23684
Update navigation rendering code to fit the previous adjustments
...
refs #5600
2015-09-04 09:08:20 +02:00
Johannes Meyer
9e558c9861
Add class SummaryNavigationItemRenderer
...
refs #5600
2015-09-03 15:53:42 +02:00