Commit Graph

921 Commits

Author SHA1 Message Date
Johannes Meyer 54a77b7253 Merge branch 'master' into feature/support-for-file-uploads-8758 2015-07-22 13:30:56 +02:00
Johannes Meyer 0f2351ff1d js: Fix XHR loading of URLs in case window.FormData is not supported
refs #8758
2015-07-22 13:29:44 +02:00
Thomas Gelf c5d68995ec forms.less: top-align field lables and related...
...items like icons. They used to be bottom-aligned, resulting in
slightly confusing form layouts when text areas where involved.
2015-07-22 11:03:01 +02:00
Thomas Gelf d44547e469 forms.less: textarea should look like other inputs 2015-07-22 10:57:14 +02:00
Johannes Meyer cecd94be50 Merge branch 'master' into feature/support-for-file-uploads-8758 2015-07-22 08:47:24 +02:00
Johannes Meyer 5e1ea958b4 js: Correctly process the redirectUrl-meta tag for successful frame uploads
refs #8758
2015-07-21 16:38:52 +02:00
Johannes Meyer 93fbb0231c loader.js: Split processRedirectHeader() to allow partly reuse
refs #8758
2015-07-21 16:37:21 +02:00
Johannes Meyer 9471c3c574 js: Make use of the _frameUpload parameter when submitting a form..
..to an iframe. This ensures that stuff like notifications are immediately
visible to the user after successful form submission.

refs #8758
2015-07-21 15:43:47 +02:00
Johannes Meyer 570dada0d8 js: Manually submit the form if it's being automatically submitted...
...in case we're submitting a multipart/form-data form using the iframe
fallback. The form wouldn't be submitted otherwise.

refs #8758
2015-07-21 14:15:12 +02:00
Johannes Meyer 47fbc24f17 Merge branch 'master' into bugfix/improve-form-notifications-8983
Conflicts:
	library/Icinga/Web/Form.php
	modules/setup/application/forms/AdminAccountPage.php
2015-07-20 15:52:10 +02:00
Johannes Meyer 37b87eb284 js: Add fallback in case XHR file uploads are not possible
refs #8758
2015-07-20 10:52:28 +02:00
Johannes Meyer be88683c19 layout.phtml: Add hidden iframe for non-xhr file uploads
refs #8758
2015-07-20 10:14:55 +02:00
Johannes Meyer 95bcb95cb5 events.js: Prevent default form submission as late as possible 2015-07-20 10:13:48 +02:00
Johannes Meyer 6d4d99aa62 js: Use window.FormData instead of just FormData
refs #8758
2015-07-15 15:49:34 +02:00
Johannes Meyer c1d9cde312 js: Properly submit multipart/form-data
This is not IE <10 compatible. Fix follows. ;-)

refs #8758
2015-07-15 15:25:40 +02:00
Johannes Meyer 3098c21c17 loader.js: Push failed requests to history
The commit ae68e8aec4 reverted
earlier seems to be supposed to do exactly what this one does now.
Prior, the commits ae68e8aec4 and
8bb0e4e0a0 were effectively
neutralizing each other. Quick tests of how Web 2 handles failing
requests while interacting with the browser's history were successful.
If this change breaks something else (again?), leave me a note and do
*not* fix it straight away..
2015-07-06 16:56:44 +02:00
Johannes Meyer b4fe91bb2f Revert "Ajax onFailure: Write component URL to container"
This reverts commit ae68e8aec4.

fixes #9042
fixes #9544
2015-07-06 16:43:49 +02:00
Johannes Meyer 68bd24147c setup.less: Remove border from requirement sets 2015-07-06 13:41:31 +02:00
Johannes Meyer 107c9ff533 Wizard: Use a unordered list to show requirements instead of nested tables
fixes #9533
2015-07-06 13:37:37 +02:00
Johannes Meyer d27434fbb5 Wizard: Use a pointer as cursor for button-like anchors 2015-07-06 13:36:26 +02:00
Johannes Meyer aa88c3ba1b layout-structure.less: Add clearfix class 2015-07-06 13:35:46 +02:00
Johannes Meyer 9b36027f42 Wizard: Make the "button" on the finish page a bit more prominent
refs #7911
2015-07-06 09:17:58 +02:00
Johannes Meyer c8c0e13184 Wizard: Show a textarea on the finish page instead of multiple paragraphs
refs #7911
2015-07-03 16:31:11 +02:00
Johannes Meyer 5b908d85bb Form: Fix notifications
* Coding style issues
* Notifications were not grouped by type
* Notifications of sub-forms were overwriting existing ones
(cherry picked from commit 147f6be714)
2015-07-01 14:26:03 +02:00
Johannes Meyer b61c9708bb main-content.less: Use a more friendlier color for info boxes
refs #8983
2015-06-30 15:05:57 +02:00
Johannes Meyer d5ba40ac19 Form: Add hint support
Hints are short messages displayed at the bottom of a form
used to describe specific aspects on how to interact with
the form.

refs #8983
2015-06-30 15:02:58 +02:00
Johannes Meyer 147f6be714 Form: Fix notifications
* Coding style issues
* Notifications were not grouped by type
* Notifications of sub-forms were overwriting existing ones
2015-06-30 14:25:33 +02:00
Matthias Jentsch aecfb2eb97 Merge branch 'bugfix/multiselection-not-visible-9054'
fixes #9054
fixes #9346
2015-06-30 14:08:19 +02:00
Matthias Jentsch 6a7e3fe440 Document multi selection and use clearer names
refs #9054
2015-06-30 13:03:41 +02:00
Matthias Jentsch 975a834bd4 Remove unused code and clean up 2015-06-30 12:28:41 +02:00
Matthias Jentsch e0d588cda3 Fix look and feel of row selection
Always refresh all tables on render and click events, to display or remove active rows without any delay.

refs #9054
refs #9346
2015-06-30 11:53:38 +02:00
Johannes Meyer 2158b2701c forms.less: Fix scattered design of form elements without help 2015-06-30 10:53:02 +02:00
Matthias Jentsch 96677fb6c7 Fix selection when clicking on regular links
refs #9054
refs #9346
2015-06-29 18:51:32 +02:00
Matthias Jentsch aec59d9941 Use current filter to highlight active rows instead of storing active rows in JS
Clean up selection code and move it into separate behavior and parse filter query to fetch selectable rows.

refs #9054
refs #9346
2015-06-29 18:48:42 +02:00
Johannes Meyer f2ba70d5ab GroupController: Fix design for showing a group 2015-06-25 11:36:26 +02:00
Johannes Meyer af7426451a UserController: Fix design for showing a user 2015-06-25 11:27:28 +02:00
Johannes Meyer ebe144c16a Form: Do not encode actions twice 2015-06-24 16:15:45 +02:00
Johannes Meyer f5e30a84f1 Improve the look of headings in the setup wizard 2015-06-19 15:44:43 +02:00
Thomas Gelf 1cabe95506 setup.less: no underlined h1 2015-06-18 16:41:58 +02:00
Thomas Gelf 76a32f769e main-content.less: larger default avp th column 2015-06-18 16:39:34 +02:00
Thomas Gelf ffd27e84d6 login.less: no text-variant for header 2015-06-18 16:39:09 +02:00
Thomas Gelf 80802dbda2 defaults.less: fix missing link hover underline 2015-06-18 16:38:46 +02:00
Thomas Gelf cd70c27519 Merge remote-tracking branch 'origin/master' into feature/refine-ui-for-rc1-9361 2015-06-18 15:18:42 +02:00
Thomas Gelf 382085e30c defaults.less: adjust h3-h6 2015-06-18 15:17:41 +02:00
Thomas Gelf bf68edf65c monitoring/css: improve plugin output readability 2015-06-18 15:13:48 +02:00
Thomas Gelf 7ee192e774 fullscreen: no more fixes controls and padding 2015-06-18 13:41:12 +02:00
Thomas Gelf 321924906f layout-structure: font size for fullscreen tabs 2015-06-18 13:41:12 +02:00
Thomas Gelf 2f62a4383a Layout: add showFullscreen parameter
refs #6729
2015-06-18 13:41:12 +02:00
Thomas Gelf 55dd3747f7 notifications: remove on click
This allows one to get rid of them faster in case access to the
underlying content is needed
2015-06-18 13:29:47 +02:00
Thomas Gelf 7e20b66aac defaults.less: remove left header borders...
...and adjust paddings/margins
2015-06-18 11:27:43 +02:00