Johannes Meyer
5e09cd647a
js: Prevent that collapsible buttons submit forms
2019-07-23 13:53:29 +02:00
Johannes Meyer
ced4f505d6
layout.phtml: Remove remaining browser sniffs for IE
2019-07-18 07:57:14 +02:00
Jennifer Mourek
07586af41f
Remove IE8 & IE9 traces
2019-07-18 07:56:09 +02:00
Johannes Meyer
fb83bee924
css: Make collapsible styles work with the new markup
2019-07-17 13:12:41 +02:00
Florian Strohmaier
b07ffd4987
JS: Implement collapsible-container behavior
2019-07-17 13:12:41 +02:00
Florian Strohmaier
a1ef28460d
Layout: Create collapsible ghost
2019-07-17 12:50:57 +02:00
Johannes Meyer
b0b4f08797
layout.phtml: Also include the default title in any title just like for XHR
...
refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer
d52cc07d41
body.phtml: Also set `data-icinga-title` for full layout requests
...
refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer
23776152eb
layout: Add base path
...
refs #2916
2019-06-06 08:16:12 +02:00
Johannes Meyer
f72aa291bc
Merge pull request #3610 from Icinga/fix/window-id-cannot-be-used-to-differentiate-containers-3609
...
Fix window id cannot be used to differentiate containers
2019-04-17 11:38:48 +02:00
Johannes Meyer
8212c51f8d
js: Already set `window.name` prior bootstrapping our js runtime
...
Makes sure that the Window-Id already generated and utilized by the
server on the first request is used by subsequent requests instead
of a new one.
Also avoids that concurrent running id-less requests compete about
which one may set his assigned id. Now any subsequent request
already transmits the id assigned to the first one.
And it resets `window.name` in case the user performs a manual
refresh so that the id used by the server is set/utilized.
refs #3609
2018-11-07 09:13:16 +01:00
Johannes Meyer
4c96da3d56
auth/external: Use a stripped down layout for the logout workaround
...
We've used the standard layout before which caused a automatic login.
Automatic because the browser saw our js/css <link> tags and accessed
the routes which in turn logged in the user, but only if there's a
enabled module which's configuration.php (or run.php) accesses the
Auth singleton. The stripped down layout provides its own js/css so
there's no need for our full-blown resources.
fixes #3583
2018-10-02 15:24:11 +02:00
Johannes Meyer
84622bf27b
Fix some XSS vulnerabilities
...
Only a real issue with <= IE9 as other browsers properly escape
urls prior transmission.
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2018-07-16 09:53:30 +02:00
Eric Lippmann
d18d05ccee
Introduce ApplicationStateHook
...
refs #2835
2018-07-09 16:28:25 +02:00
Johannes Meyer
e81d2f9af0
Utilize Icinga\Web\Menu instead of Icinga\Application\Web::getMenu()
...
refs #2338
2018-04-30 10:26:00 +02:00
Thomas Gelf
cc41fc25f3
js, layout: detect initial layout on load
...
fixes #3107
2017-11-27 13:45:43 +01:00
Eric Lippmann
544e92ac4a
Fix issues w/ scrollbars in the menu
2017-11-27 13:26:23 +01:00
Thomas Gelf
ea96e16c0e
layout: disable upload-iFrame for all but IE<10
...
fixes #3124
2017-11-21 14:36:51 +01:00
Thomas Gelf
a352c9daf9
body.phtml: provide a fallback in case no...
...
...inlineLayout has been given.
fixes #3120
2017-11-21 13:30:58 +01:00
Florian Strohmaier
f2c37f1e93
Layout: Add viewport-fit descriptor for round-rect displays
...
refs #2966
2017-09-20 11:46:51 +02:00
Florian Strohmaier
75b6d5009a
Provide Pinned Tab Icon for Safari
...
refs #2853
2017-08-09 11:13:10 +02:00
Johannes Meyer
f6166b3ab6
ActionController: Allow to control which inline view script to use
...
This also affects that rerendering the layout does only have any effect
in case of XHR requests and is not overwritten anymore in this case.
Since this property was previously private, this should not break anything.
2017-06-28 11:14:01 +02:00
Johannes Meyer
df04c0f837
ActionController: Introduce constant DEFAULT_TITLE
...
Controllers are now allowed to fully customize the page title.
2017-06-09 11:13:37 +02:00
Eric Lippmann
39c7451664
Implement announcements
...
refs #11198
2016-11-29 15:24:34 +01:00
Florian Strohmaier
de7d409377
Replace icinga header logos with pixel optimized SVGs
...
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-22 15:12:18 +01:00
Florian Strohmaier
c59bd73e06
Add meta tags for using Web 2 as mobile web app bookmark
...
refs #11910
2016-06-07 14:09:21 +02:00
Florian Strohmaier
9f5e1d4785
Remove duplicate meta tag for viewport scale
...
refs #11910
2016-06-07 14:09:11 +02:00
Florian Strohmaier
c7b4ef00e2
Replace multiple touch icon images with universal image
...
refs #11910
2016-06-07 11:26:28 +02:00
Eric Lippmann
5e51bb9c74
Make notifications accessible
2016-01-22 13:35:51 +01:00
Eric Lippmann
4251e758a7
Remove tabindex from skip to content jump link
2016-01-18 12:50:27 +01:00
Eric Lippmann
1b744fe335
Remove tabindex from header-logo
2016-01-18 12:50:27 +01:00
Eric Lippmann
99f0a348c5
Disable transitions on page load
2015-12-15 13:29:30 +01:00
Eric Lippmann
a5812c6b8a
Don't echo the unset layout variables moduleStart and moduleEnd
2015-12-10 13:34:54 +01:00
Eric Lippmann
637f09aa5a
Support theming #header-logo
...
refs #10705
2015-12-10 13:34:54 +01:00
Eric Lippmann
c227bcc94d
Rename error layout for guests and support theming
...
refs #10705
2015-12-10 13:34:54 +01:00
Eric Lippmann
b193ea5d32
Fix print styles
2015-12-10 13:34:53 +01:00
Eric Lippmann
a7c6535bf9
Support theming for the header logo
...
refs #10705
2015-12-07 13:52:14 +01:00
Eric Lippmann
1f467ecfaa
Add theme to the stylesheet if set and ...
...
... revamp interface of LessCompiler and StyleSheet
refs #10705
2015-11-27 16:40:17 +01:00
Eric Lippmann
56ed92a8e6
Merge branch 'master' into feature/dope-layout-5543
2015-10-01 21:29:35 +02:00
Johannes Meyer
e788682c19
Enforce the standard nav item renderer for the main menu by default
2015-10-01 17:44:37 +02:00
Thomas Gelf
fe72a1c36e
body.phtml: img urls are now allowed in icon()
...
No no more need for ../ hacks :)
2015-10-01 17:12:26 +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
4889e63e95
Do not fade-in the logo for error pages and fix some coding style issues
...
refs #10009
2015-09-28 09:53:38 +02:00
Alexander A. Klimov
8e29fe92a5
Use a login-like layout for error messages displayed to non-authenticated users
...
refs #10009
2015-09-25 17:40:00 +02:00
Johannes Meyer
57e08e92d4
Do not mark relative urls as absolute
...
refs #5600
refs #10169
2015-09-22 14:12:08 +02:00
Johannes Meyer
294f9022f2
Use the new navigation to render the menu
...
refs #5600
2015-09-04 10:53:01 +02:00
Johannes Meyer
63e639caf0
Handle module identification directly in the ActionController
...
Fixes some issues with more complex customisations in a
module's controller.
Obsoletes: 93f8297344
2015-08-19 13:39:46 +02:00
Johannes Meyer
fa1e3a763d
Do not show the full layout on the login page
...
...
refs #9892
2015-08-13 08:12:30 +02:00
Johannes Meyer
71cb484299
Show the full layout for anonymous clients
...
fixes #9892
2015-08-12 16:47:31 +02:00
Eric Lippmann
81aad9d6a6
Rename Notifiation::getMessages() to popMessages()
...
Because the call to popMessages()--before getMessages()--automatically resets the notification messages on the instance, popMessages() is a much better name for the method.
refs #9660
2015-07-30 13:45:39 +02:00