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
Eric Lippmann
07849e0fea
lib: Rename Authentication/Manager to Authentication/Auth
...
refs #9660
2015-07-28 17:08:55 +02:00
Johannes Meyer
fc481e527b
Form: Process request parameter _frameUpload
...
This parameter is being used to flag a request as form submission issued
by utilizing an iframe. Appending it to a form's action causes no redirection
to take place in case of successful submission and a reduced but still valid
layout to be printed in any way. Redirection must be handled by the client
regarding the meta tag "redirectUrl".
refs #8758
2015-07-21 15:22:24 +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
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
2f62a4383a
Layout: add showFullscreen parameter
...
refs #6729
2015-06-18 13:41:12 +02:00
Thomas Gelf
3462f0ee9a
Merge remote-tracking branch 'origin/master' into feature/refine-ui-for-rc1-9361
...
Conflicts:
modules/monitoring/application/views/scripts/host/history.phtml
modules/monitoring/application/views/scripts/list/services.phtml
2015-06-18 11:26:51 +02:00
Thomas Gelf
edf8bcca4b
layout.phtml: use cleartype on mobile IE
2015-06-15 23:54:12 +02:00
Alexander A. Klimov
0ba4d24880
Move notifications to the bottom of the page
...
refs #8247
2015-05-29 14:17:12 +02:00
Eric Lippmann
83443a5dc4
Use -1 for last update of the menu
...
We must not rely on the server time minus an offset for the last update of the menu
to trigger an immediate update of the menu because the server time may be behind the current time.
fixes #8694
2015-03-12 00:52:19 +01:00
Johannes Meyer
c0deeefe00
Re-add dashboard link to the upper left logo
...
fixes #8592
2015-03-06 13:44:14 +01:00
Alexander Fuhr
28a8af1933
Add auto refresh form to the navigation part
...
refs #7945
2015-02-16 12:04:54 +01:00
Johannes Meyer
49a2228fc2
Merge branch 'master' into feature/adjust-icon-markup-for-screen-readers-8358
2015-02-16 11:02:50 +01:00
Marius Hein
936bfd43b0
Skip Links: Remove logo focus and move links into the menu
2015-02-16 10:57:31 +01:00
Johannes Meyer
5321c2f9e5
Mute icons properly using the new automatic mechanisms of our view helpers
...
refs #8360
2015-02-16 10:52:42 +01:00
Johannes Meyer
3d0fbc833d
Hide the Icinga logo from screen readers
...
refs #8360
2015-02-12 13:49:31 +01:00
Marius Hein
ca4477de5b
Skip Links: Add to body and create style
...
refs #7933
2015-02-12 13:13:47 +01:00
Eric Lippmann
08fd000496
Remove any topbar related stuff
...
It's not used anywhere.
2015-02-03 12:42:02 +01:00
Alexander Klimov
868295110a
Merge branch 'master' into bugfix/Improve-tooltip-descriptions-8110
...
Conflicts:
modules/monitoring/application/views/scripts/hosts/show.phtml
2015-01-30 10:26:47 +01:00
Eric Lippmann
32c64f7e3d
layout: Do not duplicate code from layout/menu.phtml in navigation.phtml
2015-01-22 13:47:45 +01:00
Alexander Klimov
a02d9cecfe
Improve and translate the logout button's title
...
refs #8110
2014-12-19 17:15:14 +01:00
Johannes Meyer
3fde78f2b3
Enable the dompdf float support and fix our list's layout
2014-12-15 13:56:19 +01:00
Marius Hein
e600dc8adb
Dashboard: Rename component to dashlet
...
refs #7751
2014-11-20 12:08:50 +01:00
Alexander Klimov
38220afd11
PHP: avoid short tags <?
2014-10-23 10:44:54 +02:00
Eric Lippmann
53608c83d0
iframe: Load JavaScript even when 'isIframe' is true
2014-10-20 13:27:56 +02:00
Matthias Jentsch
71f55e388f
Only display custom menu renders on XHR requests and not in regular HTML
...
The main navigation should be rendered without a working backend.
fixes #7143
2014-09-09 15:33:42 +02:00
Matthias Jentsch
157818c8e7
Fix navigation reload
...
Activate the correct menu item with JavaScript after relaod and don't
render it on server-side on XHR requests.
2014-09-09 13:57:48 +02:00
Matthias Jentsch
545db945da
Auto refresh menu
...
Put the navigation into a container and reload it once every 15 seconds from a distinct menu action. Include the current
path into an URL param to still be able to mark the current menu item as active.
fixes #6955
2014-09-08 15:21:14 +02:00
Thomas Gelf
51366e2c22
layout: change header element order
2014-09-05 13:22:48 +02:00
Thomas Gelf
0f7f2f2d8b
SearchDashboard: rename ::load() to ::search()
...
Function signature didn't match parent factory function
fixes #7081
2014-09-04 19:35:31 +02:00
Alexander Fuhr
1eacde0233
Implement modules self provided search configuration
...
refs #6495
2014-09-04 16:31:10 +02:00
Alexander Fuhr
f757f69bd1
Change Menu load from config ini files to self provided configuration
...
refs #6639
2014-08-22 11:10:17 +02:00
Thomas Gelf
7334716d15
favicon: add link type
...
The favicon link tag was missing a type attribute.
2014-08-19 12:25:14 +02:00
Thomas Gelf
17b64f9dd5
layout: add favicon
...
fixes #6956
2014-08-19 10:13:19 +02:00
Thomas Gelf
b5f336583f
layout/body: protect containers from renderLayout
...
IMO this should be stripped before, this is just an additional
security measure.
refs #6935
2014-08-19 10:10:23 +02:00
Thomas Gelf
5a6b5172e6
Menu: ignore special params when comparing URLs
...
This fixes issues on login with dashboard != dashboard?renderLayout
and similar
refs #6699
2014-08-19 10:06:14 +02:00
Johannes Meyer
143a1e44fe
Add a HTML renderer for Icinga\Web\Menu
...
The menu was being rendered through recursive partials before. The
overhead this fact implicates is not as efficient as standard recursion
so there is now a special renderer for Icinga\Web\Menu utilizing
the RecursiveIteratorIterator
refs #6153
2014-07-03 15:46:46 +02:00
Johannes Meyer
461b050718
Add locale negotiation to Icinga\Util\Translator
...
Translator::getPreferredLocaleCode($header) can now be used with the
HTTP "Accept-Language" header to return the best matching locale using
the user's preferations reported by the browser and our available locale
stack. Additionally Translator::getLocale and Translator::getLanguage were
replaced by Translator::splitLocaleCode to provide a more flexible
implemenation in order to identify specific parts of a particular locale or
the current one.
refs #6074
2014-06-25 12:15:41 +02:00
Thomas Gelf
23ed744747
params/_render: replace it everywhere
...
Cleaning up controllers and JS, using headers only and respecting
history.
2014-06-22 20:07:44 +02:00
Thomas Gelf
216f0f3f55
isIframe: clean up, load less html and js
...
We use isIframe only when we have no JS, therefore it makes no sense
to load JS files in an iFrame. Also removed sidebar.
2014-06-22 16:30:06 +02:00
Thomas Gelf
3b84078b2f
Params/_render: get rid of it, start with iframe
2014-06-22 16:18:23 +02:00
Thomas Gelf
216c2ca770
Autorefresh: should work also on initial page load
...
fixes #6296
2014-06-21 01:54:32 +02:00
Thomas Gelf
c8e2cd109e
Accessibility: add roles and missing alt tag
2014-06-20 15:02:19 +02:00
Thomas Gelf
0225461d3e
layout: add lang to HTML element
2014-06-20 13:14:14 +02:00
Thomas Gelf
44a7aa6adb
JS/IE8: deliver legacy jQuery for IE8
...
This patch makes IcingaWeb deliver a legacy jQuery version for IE8
as it is no longer supported in jQuery 2.x. JS for IE8 will not be
delivered minified to ease troubleshooting on that buggy platform.
fixes #5866
refs #6417
2014-06-12 17:33:28 +00:00
Thomas Gelf
0d15f24f05
JS/IE: remove unused conditional comments
...
There is no IE7 support and no special handling for IE9, therefore
I removed unused conditional comments. Left IE8 there as it might ask
for special CSS - however it doesn't right now.
Also added missing iframe-class for Iframes on IE8.
2014-06-12 17:25:48 +00:00
Eric Lippmann
7c67a2ffff
body.phtml: Remove out-commented PHP code
2014-06-06 14:36:44 +02:00
Thomas Gelf
6d321d67cd
JS/CSS: Get IE8 working
...
Just a bunch of JS and CSS improvements / fixes
refs #6417
2014-06-05 15:03:59 +00:00
Thomas Gelf
cfa0251dbf
Translation: another bunch of translatable strings
...
refs #6339
2014-05-27 21:47:13 +00:00
Thomas Gelf
7fb910bf21
layout/menu: don't show uncollapsed loading menu
...
We have a no-JS-friendly CSS showing the menu uncollapsed unless JS
is fully loaded. Even if the page loads pretty fast this looks still
ugly in JS-enabled browsers.
This patch adds a JS-snippet removing the no-js class from the HTML
element before the rendering engine reaches the body. You'll see no
more flickering in your JS-enabled browser.
fixes #6307
2014-05-26 13:46:14 +00:00
Thomas Gelf
5e69d1d997
layout/pdf: fix module css support
...
Containers need the correct module classes to get their correct CSS
also for PDFs
2014-05-20 22:46:36 +00:00
Thomas Gelf
bfff645a08
layout-script: disable chrome translate suggestion
...
The way Chrome suggests translation is ugly and may result in a GUI
"jumping up and down". One more vendor specific meta attribute :(
2014-05-20 22:41:34 +00:00
Thomas Gelf
c93564c797
Put focus into search field on initial page load
...
fixes #6170
2014-05-09 10:57:21 +00:00
Thomas Gelf
072f157064
Allow developers to disable minimizers
2014-04-07 12:04:23 +00:00
Thomas Gelf
17ce27a985
Ship only one CSS and one JS file
2014-03-27 07:32:45 +00:00
Thomas Gelf
5bd1d97f5e
Use module name and more whenn rendering the body, drop module-container
2014-03-17 17:11:56 +01:00
Thomas Gelf
e964da9579
URL default encoding should match rules for href's. VS &
2014-03-17 16:59:22 +01:00
Thomas Gelf
fb948d8390
Remove pixel definitions from menu icon
2014-03-17 16:54:40 +01:00
Thomas Gelf
fcd05dfe81
Improve click/site behaviour
2014-03-09 23:30:37 +01:00
Thomas Gelf
296d8c7969
Send notifications on site reload and via XHR
2014-03-07 23:15:51 +00:00
Thomas Gelf
edd03d3e55
Move "temporary logout" to menu
2014-03-07 17:29:04 +00:00
Alexander Klimov
b410ebeed6
Remove unnecessary spaces at end of line
2014-03-06 13:08:11 +01:00
Thomas Gelf
6ed72e1565
Mess with PDF generation code
...
* Works more or less
* Rewrite image tags on the fly
* Sample header image (still ugly)
* Trying hard to find a way for CORRECT page footers and line numbers
2014-03-06 11:21:11 +00:00
Thomas Gelf
e52c2f5fb0
Set data(icingaUrl) also in the initial body
2014-03-06 09:19:48 +00:00
Thomas Gelf
af7ca57b41
Clean up JavaScript and CSS loaders, prepare for minimized delivery
2014-03-04 15:15:08 +00:00
Thomas Gelf
5340289e01
JS: history has not been loaded
2014-03-04 13:37:05 +00:00
Thomas Gelf
38a5939544
We WANT to allow users to scale their content, just a note about this
2014-03-04 13:20:10 +00:00
Thomas Gelf
d648bbad72
Missing JS change in layout.phtml
2014-03-04 13:12:07 +00:00
Thomas Gelf
715cad86d5
No more layout container handling outside of layout.phtml
...
* Also added a few base-targets to get rid of hard-coded JS rules
2014-03-04 10:52:37 +00:00
Thomas Gelf
57caacb93f
Merge branch 'feature/fanzzzy-5481' into feature/master-1
...
Conflicts:
application/controllers/AuthenticationController.php
application/controllers/ErrorController.php
application/views/scripts/authentication/login.phtml
library/Icinga/Application/ApplicationBootstrap.php
library/Icinga/Web/Controller/ActionController.php
library/Icinga/Web/Hook.php
library/Icinga/Web/Widget/Dashboard.php
2014-03-04 09:42:25 +00:00
Thomas Gelf
a41bfcbfaf
Restructure outer layout
2014-02-25 10:13:36 +00:00
Thomas Gelf
016ce83058
Global search dummy example
2014-02-21 14:05:28 +00:00
Thomas Gelf
a0e6a73ecc
Added sparkline support
2014-02-21 14:03:50 +00:00
Thomas Gelf
0753b28342
Some more HTML changes
2014-02-21 14:03:48 +00:00
Thomas Gelf
508a96124b
HTML changes
2014-02-21 14:03:48 +00:00
Thomas Gelf
0f3f18f793
Layout restructured
2014-02-21 14:03:47 +00:00
Markus Frosch
971a87c608
Fixed executable flags on normal files.
...
Refs #5040
2014-02-18 09:42:13 +01:00
Marius Hein
51188daa45
Implenent TopBar hook and status summary as hook in monitoring
...
refs #5597
2014-02-11 17:12:17 +01:00
Eric Lippmann
f96974fc79
Modules/Doc: Use Icinga\Web\Menu for the toc
...
refs #4820
2014-02-11 15:13:18 +01:00
Thomas Gelf
654953d9d6
New menu, still unfinished
2014-02-03 16:03:05 +00:00
Eric Lippmann
30d2743c54
Layout: Move benchmark to inline.phtml
2014-01-28 15:31:13 +01:00
Eric Lippmann
59cb1d3cc7
Menu: Fix HTML
...
refs #3759
2014-01-28 13:34:57 +01:00
Chris Rüll
c4a00b8d31
Menu Configuration
...
Rework the Menu.Ini files and Include a new class to create a menu inside the project
2014-01-28 13:34:57 +01:00
Johannes Meyer
1b5b26c2bb
Add window awareness
...
refs #5510
2014-01-24 14:44:19 +01:00
Alexander Klimov
fc1fb60b01
Re-add benchmark helper
...
Enable benchmark via user preferences
resolves #5508
2014-01-24 12:20:13 +01:00
Alexander Klimov
b9c86ac1f5
Change copyright year to 2014
2014-01-24 12:19:18 +01:00