2177 Commits

Author SHA1 Message Date
Johannes Meyer
d91795d815 dashboards/settings: Don't disguise action links as button links 2023-07-14 19:51:08 +02:00
Johannes Meyer
8bd82ff97c Cleanup dashboard welcome page
* The `h1` is the tab or page title, the welcome message is at most a `h2?`
* It's not necessary to mention that the welcome page is only shown as
  long as there are no dashboards/dashlets, if the very next statement
  explains this already
* The icinga form layout is not relevant here, so there's no need to
  work-around/counteract it
* The text opacity just reduced the contrast needlessly
2023-07-14 19:51:08 +02:00
Johannes Meyer
9a1f8816ae There can only be a single active home at a time
Cleans up various usages of `setActive` calls.
2023-07-14 19:51:08 +02:00
Yonas Habteab
178cd7408a Ensure to rerender dashlet parts with custom_url upon autosubmit 2023-07-14 19:51:08 +02:00
Johannes Meyer
7f0197333f DashboardsController: Use $this->getServerRequest() where applicable 2023-07-14 19:51:08 +02:00
Johannes Meyer
577d08938d dashboards/settings: Don't change refresh url due to re-order 2023-07-14 19:51:08 +02:00
Johannes Meyer
930898fd2f Decouple menu and dashboard code 2023-07-14 19:51:08 +02:00
Yonas Habteab
28021b61d3 Use handle icon to initiate the drag&drop events 2023-07-14 19:51:08 +02:00
Yonas Habteab
e5da8b1b73 DashboardsController: Perform a full reload when the drop action couldn't be performed successfully 2023-07-14 19:51:08 +02:00
Yonas Habteab
66904f483a Don't render the initial modal view over again when autosubmitting the form 2023-07-14 19:51:08 +02:00
Yonas Habteab
9f54c210f9 DashletForm: Ensure to dump unselected dashlets before updating the DB 2023-07-14 19:51:08 +02:00
Yonas Habteab
ee75d53daf Merge some related classes 2023-07-14 19:51:08 +02:00
Yonas Habteab
cba8fbdd1c Fix code styling issue 2023-07-14 19:51:08 +02:00
Yonas Habteab
d859522c31 Allow browsing predefined dashlets when creating a new dashlet 2023-07-14 19:51:08 +02:00
Yonas Habteab
c082ad3d24 Regroup dashboard input elements 2023-07-14 19:51:08 +02:00
Yonas Habteab
a978202d57 Fix accessing method on null 2023-07-14 19:51:08 +02:00
Yonas Habteab
c635102d4e Simulate removal of dashboard home Default Home 2023-07-14 19:51:08 +02:00
Yonas Habteab
dab6bdc7c6 Use own activate() method to activate dashboards 2023-07-14 19:51:08 +02:00
Yonas Habteab
b64c14b0c2 Use setTitle() instead of setting resp headrs directly 2023-07-14 19:51:08 +02:00
Yonas Habteab
50c19af224 Remove obsolete button styles & add a proper button class names 2023-07-14 19:51:08 +02:00
Yonas Habteab
443a963307 Adjust how module dashlets are handled 2023-07-14 19:51:08 +02:00
Yonas Habteab
4d47f710ae Clean up codes 2023-07-14 19:51:08 +02:00
Yonas Habteab
49267d6fa3 Use sendMultipartUpdate() for drag&drop actions & adjust some css styles 2023-07-14 19:51:08 +02:00
Yonas Habteab
fd9c547dde Fix typo 2023-07-14 19:51:07 +02:00
Yonas Habteab
98028d740c Introduce new-home action 2023-07-14 19:51:07 +02:00
Yonas Habteab
0a638302c9 BaseDashboardForm: Make cancel-button of type button 2023-07-14 19:51:07 +02:00
Yonas Habteab
b597c7c489 Adjust dashbaord conent layouts & don't redirect when sorting only dashlets 2023-07-14 19:51:07 +02:00
Yonas Habteab
c53c084846 DashletForm: Ensure to pre-select a dashboard when clicking add-dashlet 2023-07-14 19:51:07 +02:00
Yonas Habteab
f1bef3c52c DeshletForm: Don't re-populate dashboard pane element 2023-07-14 19:51:07 +02:00
Yonas Habteab
ac1534ab0d Use Menu class instead of HomeMenu 2023-07-14 19:51:07 +02:00
Yonas Habteab
5d5f6cbcd2 Fix some logical inconsistencies 2023-07-14 19:51:07 +02:00
Yonas Habteab
a733c6f66d Delay sorting events for 100ms 2023-07-14 19:51:07 +02:00
Yonas Habteab
cdd60f965b Do some code refactoring 2023-07-14 19:51:07 +02:00
Yonas Habteab
8b510e3163 Forms: Introduce NewHomePaneForm class 2023-07-14 19:51:07 +02:00
Yonas Habteab
14bc749556 Dashboard: Provide mini welcome wizard for new users 2023-07-14 19:51:07 +02:00
Yonas Habteab
f284e2a926 Forms: Introduce WelcomeForm class 2023-07-14 19:51:07 +02:00
Yonas Habteab
b527f7e552 Forms: Introduce RemoveHomePaneForm class 2023-07-14 19:51:07 +02:00
Yonas Habteab
6e9e7e2576 Forms: Introduce HomePaneForm class 2023-07-14 19:51:07 +02:00
Yonas Habteab
8c7b79ee2e Forms: Introduce RemoveDashletForm class 2023-07-14 19:51:07 +02:00
Yonas Habteab
aea82b5942 DashletForm: Add support for the new dashboards and make use of ipl form 2023-07-14 19:51:07 +02:00
Yonas Habteab
3d905cf8c0 LayoutController: Use dashboard home menu class to loadd the navigation items 2023-07-14 19:51:07 +02:00
Yonas Habteab
c71f3cd75d Make use of the new controller by default 2023-07-14 19:51:07 +02:00
Yonas Habteab
2c795a5dbc Controllers: Introduce own dashboards controller 2023-07-14 19:51:07 +02:00
Yonas Habteab
c94284e9b2 SearchDashboard: Provide support for the enhanced dashboards 2023-07-14 19:51:07 +02:00
Yonas Habteab
6513695c36 ViewScript: Remove index.phtml of the search dashboard controller 2023-07-14 19:51:07 +02:00
Johannes Meyer
c40cfb41a8 RoleForm: Force a suffix for all element names
fixes #4973
2023-06-22 15:04:19 +02:00
Alexander A. Klimov
3784fe80b7 LoggingConfigForm: on Docker default to webserver log 2023-01-24 11:23:34 +01:00
Johannes Meyer
e542982de0 Fix some reflected XSS bugs
fixes #4979
2023-01-12 09:55:57 +01:00
Johannes Meyer
965aac11ef RoleController: Always perform a permission check 2022-12-07 11:56:17 +01:00
Johannes Meyer
ec7fb82a94 login: Don't redirect to external resources
fixes #4945
2022-12-07 11:54:45 +01:00