Commit Graph

829 Commits

Author SHA1 Message Date
Marius Hein 8c758a9f12 Failure requests: Fix auto refresh and history
Allow to change url's in history and stop auto auto refresh if
the container URL is not up to date.
2015-02-02 13:32:40 +01:00
Marius Hein 190c1e8f04 Revert "Revert "Dashboard: Always replace title""
This reverts commit d1f13819e4.

Please do not ask. This was no syntax error.
2015-02-02 12:04:28 +01:00
Marius Hein d1f13819e4 Revert "Dashboard: Always replace title"
This reverts commit c0c0e7d9e5.

Syntax error
2015-02-02 12:01:40 +01:00
Marius Hein c0c0e7d9e5 Dashboard: Always replace title
This is needed if an error occurs and the exception title was rendered
into the container.
2015-02-02 12:00:08 +01:00
Marius Hein 7b8332ccd8 Notifications do not disappear after autorefresh
This is not affected anymore because the errors goes directly
into the container. But this commit fixes the codes if someone
use the notifications in the loader. Also remove unused
variable this.exception.

fixes #6278
2015-01-30 15:25:12 +01:00
Marius Hein 6ec2ee753d Render error messages in the container itself
fixes #6280
2015-01-30 14:50:25 +01:00
Marius Hein c1df1f822e ifont: Reorganize files and drop use less attributes
fixes #6417
2015-01-29 11:25:37 +01:00
Johannes Meyer 3a983e8859 Merge branch 'master' into feature/improve-autologin-setup-8274 2015-01-28 18:01:15 +01:00
Marius Hein 4abb30e55b Merge branch 'master' into bugfix/ie8-fixes-6417 2015-01-28 17:08:56 +01:00
Marius Hein 9d05190517 ifont: Fix empty font glyphs for IE8
The embedded font is included inline in the stylesheets. IE falls back and
tries to load one of the other font sources which was not exported by the web
server. This fix moves the fontello directory to public and add add a
prefix path to the embedded stylesheet.

refs #6417
2015-01-28 17:06:55 +01:00
Johannes Meyer 78f5bf4f3d Phrase external auth warnings more neutral
refs #8274
2015-01-28 16:22:20 +01:00
Johannes Meyer 618ab4f4b9 Introduce link target "_right" to keep a column with tabs rightmost
I'd have liked to get it to work that in case the tab control is not in the
rightmost column a "go back" in the history is being simulated causing
the preceding leftmost column(s) to be restored and the rightmost one
set to the one containing the tab control. But the history api does not
seem to support any read operations except for the current state..

refs #6436
2015-01-28 14:21:06 +01:00
Marius Hein 7ef86ddf49 Navigation: Bypass error-prone hover selector for IE8
refs #6417
2015-01-28 13:19:49 +01:00
Johannes Meyer 7ad44b8411 login: Show a note if the only active external auth backend is not available
refs #8274
2015-01-27 14:26:06 +01:00
Johannes Meyer 23c36898da Rename css class "info" to "info-box" and add it as generic box
refs #8274
2015-01-27 14:05:41 +01:00
Johannes Meyer 4a245ed8e0 login: Wrap the config warning in paragraph tags instead of div 2015-01-27 13:58:55 +01:00
Johannes Meyer 6c292f7e56 Move the configuration warning on the login screen further up
..and add translation support to the login screen.

refs #8274
refs #8134
2015-01-27 13:31:14 +01:00
Johannes Meyer 0fa133abfb setup: Display a note in case autologin is chosen while not being logged in
In case the user chooses to use autologin as authentication while not being
externally authenticated a note is displayed indicating that it is necessary
to set up the webserver's authentication to be able to login once the wizard
is complete.

refs #8274
2015-01-26 16:58:40 +01:00
Johannes Meyer 3040116c12 Combine duplicate requirements
refs #8191
2015-01-22 12:47:18 +01:00
Johannes Meyer c4c248cbb7 Make the ModulePage's design more appealing
refs #8191
2015-01-22 10:57:41 +01:00
Johannes Meyer 1ee873adfc Remove the "old" ModulePage view script
refs #8191
2015-01-21 17:00:30 +01:00
Johannes Meyer 573c1046bb Ensure that the SummaryPage has a unique name when being utilized
refs #8191
2015-01-21 11:44:44 +01:00
Matthias Jentsch b5747797b7 Fix perfdata output
Display all perfdata key-value pairs in a formatted table, add padding to table css
improve piechart label.
2014-12-30 16:35:42 +01:00
Matthias Jentsch e47eb73499 Improve visibility of focus
Display navigation focus in a visible color and display focus outline in regular site body more prominently.

fixes #6164
2014-12-30 16:35:42 +01:00
Eric Lippmann fd044017fb Revert "Highlight hovered state rows even if there is no href"
This reverts commit 73f9328f12.

Highlighting table rows which do not contain a link does not make sense.

refs #8024
2014-12-29 17:31:00 +01:00
Matthias Jentsch 3d07049fbf Re-render menu item after setting class to active
Force the browser to re-render the menu item, to update the link layout immediately
by recreting the content html.

fixes #7897
2014-12-29 16:21:10 +01:00
Matthias Jentsch c93b13b138 Rework behavior of perfdata visualization
Determine perfdata pie color from host or service state, display zero percent piecharts, only render displayabl PieCharts with min and max values, move perfdata to piechart conversion functions into the Perfdata object.

fixes #6423
fixes #6200
fixes #7170
fixes #7304
2014-12-23 15:54:27 +01:00
Matthias Jentsch cda5a6a903 Streamline chart implementation
Define sparkline layout through CSS class and remove label/tooltip formatting.

fixes #7077
2014-12-23 15:26:45 +01:00
Matthias Jentsch 64a2acd12e Do not display labels for single data sets in perfdata piecharts
Display generic chart titles for the whole piechart that only contain title and percentage and don't style perfdata piecharts using HTML properties.

refs #7077
refs #6200
refs #7304
2014-12-23 15:14:17 +01:00
Johannes Meyer 3fde78f2b3 Enable the dompdf float support and fix our list's layout 2014-12-15 13:56:19 +01:00
Johannes Meyer 73f9328f12 Highlight hovered state rows even if there is no href
fixes #8024
2014-12-11 10:54:58 +01:00
Alexander Fuhr b6ee903768 Fix the login form to be really responsive
refs #7792
fixes #7792
2014-12-02 10:15:35 +01:00
Eric Lippmann 462153fdf2 Fix label help icon when label gets too long 2014-11-20 13:48:49 +01:00
Marius Hein 3adf0387da Merge remote-tracking branch 'origin/master' into bugfix/dashboard-rework-7751 2014-11-20 13:23:33 +01:00
Eric Lippmann 4ec29584a4 CSS: Improve forms (at least a bit :)) 2014-11-20 13:22:38 +01:00
Johannes Meyer 86485cb8ef Re-design host- and servicegroupsummary 2014-11-20 12:44:46 +01:00
Marius Hein b0382da5fe JS/submitForm: Choosing the right submit button in FF
refs #7751
2014-11-20 11:07:10 +01:00
Marius Hein 3b190d7d81 Dashboard: Fix design and labels
refs #4537
2014-11-19 15:40:40 +01:00
Marius Hein 32af89e0a7 Merge remote-tracking branch 'origin/master' into bugfix/broken-badges-7736 2014-11-19 15:28:27 +01:00
Marius Hein 9e455ab2e2 Badge: Fix FF display bug
refs #7736
2014-11-19 15:27:40 +01:00
Bernd Erk fd5fe26a1f Changes login screen and added header 2014-11-19 13:43:48 +01:00
Thomas Gelf 91ed348a47 css/login: center form 2014-11-19 13:25:11 +01:00
Matthias Jentsch 48699cacf4 Fix navigation layout in firefox and chrome
Hover css still broken

refs #7736
2014-11-19 12:15:18 +01:00
Johannes Meyer c74f7531dc Do not display host- and servicegroups as boxes but as table instead 2014-11-19 11:53:45 +01:00
Thomas Gelf 47d81ccf7b css: allow to override vendor styles
* no more hovered icon underline
* simulate padding for headers in .controls
2014-11-19 10:33:57 +01:00
Thomas Gelf 704a87c0f2 FilterEditor: make active element fit hover colors 2014-11-19 10:07:30 +01:00
Thomas Gelf 3f6c28dfb3 css/monitoring-colors: make text readable on hover 2014-11-19 10:04:14 +01:00
Thomas Gelf 0af623b462 css: reduce .controls complexity and special rules 2014-11-19 09:40:42 +01:00
Thomas Gelf 32f1e0c171 css/main-content: normalize headers, once more 2014-11-19 09:34:49 +01:00
Thomas Gelf b3a154deed css/defaults: buttons should respect font settings 2014-11-19 08:49:58 +01:00
Thomas Gelf 63cd5854d4 Merge remote-tracking branch 'origin/master' into feature/redesign-7144 2014-11-19 07:56:48 +01:00
Thomas Gelf 3844087740 css/main-content: reduce dashboard header sizes 2014-11-19 07:51:51 +01:00
Alexander Fuhr e97f08663e Move process info and performance info overview into monitoring health
The process info and the performance info overviews are now moved to
monitoring health and are available both under the 'Monitoring Health'
section. But this is not the final look, we should redesign it and add
more relative information data and drop unused
2014-11-18 19:40:22 +01:00
Matthias Jentsch a4f4c8d27f Support filter editing in event history
Add a FilterEditor to the eventhistory view, fix CSS layout

resolves #6979
2014-11-18 19:12:53 +01:00
Matthias Jentsch 6269f6695b Add quick filter for event types to event overview
Add a new filter form for event types to the eventhistoryAction and add selected to filter on post

refs #7695
2014-11-18 17:18:12 +01:00
Thomas Gelf f43976a19a css: centralize heading styles 2014-11-17 16:54:29 +01:00
Thomas Gelf 6d03b6bef4 css/tabs.less: fix the "Chrome gap"
That's not how this should be fixed, but it at least helps getting
rid of that nasty gap for now.
2014-11-17 13:02:19 +01:00
Thomas Gelf 4f6b8c3664 css/layout-colors: improve sidebar readability 2014-11-16 19:41:01 +01:00
Thomas Gelf 818ac35e22 css/layout-structure: fix broken columns
There is a border right now, changed box model to avoid influence on
container width
2014-11-14 21:45:39 +01:00
Thomas Gelf da47c7fc7e Merge remote-tracking branch 'origin/master' into feature/redesign-7144 2014-11-14 21:32:57 +01:00
Johannes Meyer f64b3c1439 Fix that the current page of our list view pagination is not being highlighted
fixes #7492
2014-11-14 11:58:29 +01:00
Alexander Fuhr 6ee0c218e9 Remove debug `console.log()' from `provideSelectionCount()'
refs #7654
2014-11-14 10:18:47 +01:00
Alexander Fuhr 540a8c7aa4 Fix hint counter on unselect the last row
refs #7654
2014-11-14 10:17:23 +01:00
Thomas Gelf 2a27b6ce25 css/menu.less: resolve merge conflict 2014-11-13 21:28:51 +01:00
Bernd Erk 903219b302 Merge branch 'master' into feature/redesign-7144
Conflicts:
	library/Icinga/Web/Menu.php
	public/css/icinga/menu.less
2014-11-13 21:11:36 +01:00
Eric Lippmann 8bdde5adc5 Fix long menu item titles breaking our menu
We will not allow Karl-Theodor Maria Nikolaus Johann Jacob Philipp Franz Joseph Sylvester Freiherr von und zu Guttenberg to view his full name :(.

fixes #7663
2014-11-13 19:03:28 +01:00
Bernd Erk 6201858a68 Merge branch 'master' into feature/redesign-7144 2014-11-13 17:47:26 +01:00
Bernd Erk 205ba64781 Installer styling 2014-11-13 17:20:06 +01:00
Bernd Erk a5b8de366f Fixes error message 2014-11-13 15:52:20 +01:00
Bernd Erk 1743cec199 Centered error messages 2014-11-13 15:46:04 +01:00
Bernd Erk 56aabf0d15 Fixes radius in error message 2014-11-13 15:37:00 +01:00
Alexander Fuhr cab89914bb Add clickable icon for command check now 2014-11-13 15:28:10 +01:00
Bernd Erk ac3ff90e69 Fixes input margin 2014-11-13 15:18:18 +01:00
Eric Lippmann b52adcc2ab Merge branch 'master' into feature/generate-webserver-config-6120 2014-11-13 15:09:34 +01:00
Bernd Erk ef2ec0442c Merge branch 'master' into feature/redesign-7144 2014-11-13 14:40:26 +01:00
Eric Lippmann 2ad2127ae3 Merge branch 'master' into feature/generate-webserver-config-6120
Conflicts:
	application/clicommands/SetupCommand.php
2014-11-13 12:50:55 +01:00
Alexander Fuhr 46df428e28 Add selection count hint in grids with help for hosts and services
refs #7654
2014-11-13 12:50:39 +01:00
Bernd Erk ac8cc0613c Merge branch 'master' into feature/redesign-7144
Conflicts:
	application/views/scripts/authentication/login.phtml
	public/css/icinga/login.less
2014-11-12 17:21:54 +01:00
Johannes Meyer 5da82a3164 Move the servicegrid's navigation upwards instead of downwards 2014-11-12 17:13:23 +01:00
Johannes Meyer db7954c350 Merge branch 'master' into feature/setup-wizard-7163 2014-11-12 17:05:13 +01:00
Johannes Meyer 259a465f97 Show only the most important warning on the login page 2014-11-12 16:23:55 +01:00
Bernd Erk f2c4c3bb1b Fix color codes and badges 2014-11-12 16:19:00 +01:00
Bernd Erk f456ad3a04 Fix for hovered host- and servicename 2014-11-12 15:53:12 +01:00
Eric Lippmann 8b1419bb04 Do not try to detect the library path in index.php
Packagers will use a custom index.php.
2014-11-12 15:41:04 +01:00
Johannes Meyer 933172f250 Replace navigation of the service matrix and rename it to service grid
fixes #6180
2014-11-12 15:07:01 +01:00
Eric Lippmann b27d1d0058 Merge branch 'master' into feature/setup-wizard-7163 2014-11-12 14:48:15 +01:00
Eric Lippmann 6089372c42 Do not define ICINGAWEB_BASEDIR in index.php
There's SCRIPT_FILENAME. The constants will be removed shortly.
2014-11-12 14:39:45 +01:00
Eric Lippmann 921f324d3e Prepare icingacli for having the Icinga library in PHP's include path 2014-11-12 13:13:39 +01:00
Eric Lippmann 32d483f69f Level up index.php
This is the preparation for having the Icinga library in PHP's include path.
2014-11-12 12:55:25 +01:00
Johannes Meyer 7aae291f69 Merge branch 'master' into feature/setup-wizard-7163 2014-11-12 10:08:28 +01:00
Thomas Gelf 97186c0361 Webserver\Apache2: show hint with no mod_rewrite
This is yet unstyled, but still far better than 500

fixes #7643
2014-11-11 22:02:40 +01:00
Johannes Meyer 4974f582d3 Add page titles
refs #7163
2014-11-11 15:27:14 +01:00
Eric Lippmann 8e3394fd55 Merge branch 'master' into feature/redesign-7144 2014-11-11 13:54:13 +01:00
Eric Lippmann 548b54253e Remove display: flex;
fixes #7549
2014-11-11 10:27:42 +01:00
Johannes Meyer 105934ce7f Make the finish and login button look not so "strange"
refs #7163
2014-11-11 08:45:47 +01:00
Johannes Meyer cb748fa379 Move wizard css code back into the app's namespace
This is necessary to get the layout of the wizard to work.
We should elaborate whether it is possible to give modules more
control on how their css is applied!

refs #7163
2014-11-10 16:41:43 +01:00
Johannes Meyer 8f212018ec Move the setup wizard code to a dedicated module
refs #7163
2014-11-10 15:11:44 +01:00
Johannes Meyer 5c9d7d6548 Add refresh button to the requirements page
refs #7163
refs #7587
2014-11-10 12:54:26 +01:00
Johannes Meyer 79493592bb Do not use Installer anywhere.
"It's setup."

refs #7163
2014-11-10 10:30:52 +01:00
Bernd Erk bf1738907e Fix header border 2014-11-07 15:46:47 +01:00
Johannes Meyer f7d168c80f Fix that FireFox < v33 is unable to find the button that got the focus 2014-11-07 14:22:03 +01:00
Bernd Erk 84c0bc0a8e Fixed login button 2014-11-07 13:29:59 +01:00
Bernd Erk 049c9edb67 modified forms 2014-11-07 11:38:32 +01:00
Bernd Erk acd6e91757 Fixed font-family in search field 2014-11-07 00:56:18 +01:00
Bernd Erk fb0fe3f46e fixed tactical overview layout 2014-11-07 00:50:17 +01:00
Bernd Erk 3c5d46ee71 redesigned login screen and image appearance 2014-11-07 00:40:32 +01:00
Bernd Erk 48a4403d6f Design Timeline 2014-11-06 23:40:57 +01:00
Bernd Erk 7aef0581f3 Changed to color codes using less 2014-11-06 22:55:17 +01:00
Bernd Erk f300c121cd Redesign tactical overview 2014-11-06 22:38:06 +01:00
Bernd Erk c885544a6b fixed hostgroup and servicegroup design 2014-11-06 22:03:03 +01:00
Bernd Erk 548058650a Fixed Plugin output and box-border 2014-11-06 15:49:26 +01:00
Bernd Erk 71cbf83766 Reduced menu size 2014-11-06 13:25:52 +01:00
Bernd Erk 699be20db0 completed header tabs 2014-11-06 01:29:19 +01:00
Bernd Erk bc5f296e60 Fixed badges in menu 2014-11-06 00:40:44 +01:00
Bernd Erk f9e8cc84b9 Design: headline and main menu 2014-11-06 00:09:14 +01:00
Johannes Meyer 170ded6510 Merge branch 'master' into feature/setup-wizard-7163
Conflicts:
	library/Icinga/Authentication/Backend/LdapUserBackend.php
	library/Icinga/File/Ini/IniWriter.php
2014-11-04 14:22:53 +01:00
Thomas Gelf 95f9bebdc5 js/loader: support multi-container redirection
Redirections to #!-separated URLs (multiple containers) should also
work when not re-rendering the whole layout.
2014-11-01 01:23:55 +01:00
Thomas Gelf 6298d303c4 js/loader: trigger 'beforerender' container event 2014-11-01 01:12:59 +01:00
Thomas Gelf f25f4f06d8 js/loader: disable click handler block on refresh
This used to be ways too slow when many elements where involved. Left
the old code there as a reminder. In case we really need it we should
use something faster like an overlay or so.
2014-11-01 01:11:12 +01:00
Johannes Meyer a7e942cdc9 Show a warning on the first page in case the user already configured web2
refs #7163
2014-10-30 10:37:51 +01:00
Johannes Meyer 3fc07496bc Remove RequirementPage from the monitoring module wizard
refs #7163
2014-10-29 16:26:09 +01:00
Johannes Meyer 2f05ed3d49 Add monitoring module wizard
refs #7163
2014-10-29 15:40:34 +01:00
Johannes Meyer 32006420c5 Fix WelcomePage
There were some grammar- and layout-errors
as well as information missing :(
2014-10-29 11:36:03 +01:00
Johannes Meyer 231fbaba37 Let wizard buttons have some bottom margin
Makes them more notable in case they'll get
pushed to the very bottom of the page.

refs #7163
2014-10-29 08:39:00 +01:00
Matthias Jentsch b5468a122d Explain token generation on the welcome page
Add token generation manual to the welcome page. Display example code
containing the current configuration dir, to generate tokens.

fixes #7408
2014-10-28 17:32:49 +01:00
Johannes Meyer 036211462e Fix permanent horizontal scroll-bar in Opera 2014-10-27 09:18:41 +01:00
Johannes Meyer 73bba4a5a2 Fix setup layout in Opera and Mozilla
refs #7163
2014-10-27 09:13:09 +01:00
Johannes Meyer 2f83976f50 Add ModulePage
refs #7163
2014-10-24 17:10:17 +02:00
Johannes Meyer d90d6fe6a9 Improve summary page layout a bit
refs #7163
2014-10-23 15:16:25 +02:00
Johannes Meyer 216c072024 Implement installation routines modularly
This allows us to "merge" module installation
routines with our main installer routines.

refs #7163
2014-10-23 11:41:16 +02:00
Johannes Meyer b4a69792d8 Add note to login page when the configuration directory is missing
refs #7163
refs #7409
2014-10-21 16:11:49 +02:00
Johannes Meyer 09945994b8 Disabled buttons should be identifiable as being "disabled"
refs #7163
2014-10-20 13:44:11 +02:00
Johannes Meyer f453fd06e8 Show the user which pages he already visited while navigating back
refs #7163
2014-10-17 15:41:25 +02:00
Johannes Meyer 9f127be1dc Merge branch 'master' into feature/setup-wizard-7163
Conflicts:
	application/forms/Config/General/LoggingConfigForm.php
2014-10-17 13:04:59 +02:00
Johannes Meyer 2ecb862fc3 Style welcome page and fill placeholders
refs #7163
2014-10-17 11:19:04 +02:00
Johannes Meyer 223502c314 Style installation report
refs #7163
2014-10-17 09:18:10 +02:00
Johannes Meyer d73423ceee Style summary page
Dropped also the layout logic as it was too generic.

refs #7163
2014-10-16 14:52:26 +02:00
Johannes Meyer 16ce2eb425 Improve form- and element-error styling 2014-10-15 16:35:21 +02:00
Johannes Meyer 2f40365fc8 Style wizard buttons
refs #7163
2014-10-15 15:49:38 +02:00
Johannes Meyer fdef596c6e Make progress bar a bit less eye-catching
refs #7163
2014-10-15 15:48:37 +02:00
Johannes Meyer 6427a9e347 Fix radiobox positioning
refs #7163
2014-10-15 15:47:24 +02:00
Johannes Meyer 21379cb24d Show ldap discovery results in a nice table
refs #7163
2014-10-15 15:46:54 +02:00
Johannes Meyer d1ea7e87a2 Improve form styling slightly 2014-10-15 15:46:07 +02:00
Johannes Meyer c9d12cf8ac Style requirements page
refs #7163
2014-10-14 16:45:04 +02:00
Johannes Meyer c0df55c079 Add progress bar
refs #7163
2014-10-14 16:14:28 +02:00
Matthias Jentsch 6124f984ee Adjust scroll position on container after triggering the 'rendered' event
Prevent behaviors from altering the current scroll-position on page reload when refreshing or changing the focus.

fixes #7269
2014-10-14 15:50:15 +02:00
Johannes Meyer 448991eec5 Put some margin around the setup wizard
refs #7163
2014-10-13 09:43:12 +02:00
Johannes Meyer 62544111ff Fix that when pushing ENTER in a form with just <buttons> no button is sent 2014-10-09 13:42:15 +02:00
Johannes Meyer f8f27e046d Ensure that we advance a wizard when pushing ENTER
refs #7163
2014-10-09 13:41:06 +02:00
Johannes Meyer 1cbe2451a8 Merge branch 'master' into feature/setup-wizard-7163
Conflicts:
	application/forms/Config/Resource/StatusdatResourceForm.php
2014-10-08 16:34:31 +02:00
Johannes Meyer ad7965228c Add install routines for all INI files
This is just a quick&dirty implementation. Once we know how modules are
being processed/installed this needs to be revisited.

refs #7163
2014-10-06 16:49:29 +02:00
Johannes Meyer b50c780bcf Let the setup's view scripts be a bit more generic
refs #7163
2014-10-06 16:04:58 +02:00
Johannes Meyer 4c6b64f092 Fix that it's not possible to scroll down on wizard pages
refs #7163
2014-10-06 11:32:12 +02:00
Johannes Meyer 83006c014c Wrap wizard buttons in a div
refs #7163
2014-10-06 11:07:21 +02:00
Johannes Meyer f29705fc59 Add summary page
refs #7163
2014-10-02 17:11:00 +02:00
Matthias Jentsch ee63dfd310 Update navigation when the url of the main column changes 2014-10-01 17:47:21 +02:00
Matthias Jentsch ec9e9e8dfb Get correct navigation link id on first render 2014-10-01 16:49:30 +02:00
Matthias Jentsch fa2c9e46ed Cleanup comments and whitespaces 2014-10-01 16:48:38 +02:00
Johannes Meyer a980184eb9 Move css instructions to dedicated stylesheet
refs #7163
2014-10-01 15:46:58 +02:00
Matthias Jentsch ed91e119d2 Add close-button to all containers
refs #6216
2014-10-01 14:51:51 +02:00
Johannes Meyer 4ef0a5a74a Fix wizard page css
refs #7163
2014-10-01 10:01:25 +02:00
Matthias Jentsch f188bf6b9c Make "hosts" and "services" views responsive 2014-10-01 09:24:52 +02:00
Eric Lippmann cde3ec6bc8 Merge branch 'master' into bugfix/commands-6593
Conflicts:
	modules/monitoring/application/controllers/TimelineController.php
2014-09-23 22:54:17 -07:00
Eric Lippmann 1710a50d5c Fix form CSS 2014-09-23 22:43:33 -07:00
Alexander Fuhr 07a4b25560 Merge branch 'master' into bug/history-notification-time-format-6980 2014-09-23 11:38:24 +02:00
Alexander Fuhr e784aa34b6 Implement DateTimeRenderer and fix history time format
refs #6980
2014-09-23 11:36:09 +02:00
Matthias Jentsch 4ce71ef2f2 Display a tooltip on days without events 2014-09-19 17:41:44 +02:00
Matthias Jentsch ef2f332869 Do not refresh a container when form input was changed or a form element is focused
Listen for changes in form elements and abort all reloads that contain a form with
at least one changed form element. Do not refresh containers that contain a focused form
element, except of elements with autofocus, to preserve form elements with a dropdown.
Only focus autofocus elements when there is currently no other selection.

refs #7146
refs #5537
fixes #7162
2014-09-19 15:48:44 +02:00
Eric Lippmann 8bf66425d1 Merge branch 'master' into bugfix/commands-6593 2014-09-15 09:27:56 +02:00
Matthias Jentsch 7f0a2d540b Tell navigation behavior about changes in active menus
fixes #7181
2014-09-12 15:01:25 +02:00
Matthias Jentsch ad53f7ad3d Use EventEmitter class as a way to delegate events from behaviors to the dom 2014-09-12 09:09:21 +02:00
Matthias Jentsch 2e0bef5696 Add missing event unbind 2014-09-10 17:10:08 +02:00
Matthias Jentsch 0ec97eb934 Only apply navigation link-click handlers to menu 2014-09-10 17:02:39 +02:00
Matthias Jentsch e216ba6721 Merge stash 2014-09-10 17:02:39 +02:00
Matthias Jentsch 7aadad913e Do not follow empty menu links 2014-09-10 17:02:39 +02:00
Matthias Jentsch cb9c9c78d8 Move navigation events into behavior 2014-09-10 17:02:39 +02:00
Matthias Jentsch c0908e32ba Remove unused behavior base-class 2014-09-10 17:02:39 +02:00
Matthias Jentsch f58da73e2d Move javascript behaviors into separate classes 2014-09-10 17:02:39 +02:00
Matthias Jentsch 5d2e849491 Apply behaviors correctly on startup 2014-09-10 17:02:39 +02:00
Matthias Jentsch d99d50b3c4 Add stub for javascript behaviors 2014-09-10 17:02:38 +02:00
Matthias Jentsch da7e599363 Only remove active elements in navigation on reload 2014-09-09 16:32:15 +02:00
Johannes Meyer 83772c6684 Merge branch 'master' into bugfix/rebuild-form-builder-5525 2014-09-09 16:03:22 +02:00
Matthias Jentsch b7c207a9cb Do not drop preselection in the navigation on reload 2014-09-09 15:32:07 +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 56b779af4d Clean up mousemove handler and remove unused tooltip code 2014-09-08 16:46:47 +02:00
Matthias Jentsch 28f5ef2284 Fix elementsOverlap function for SVG elements
Access SVG getBBox function to acquire the bounding box for SVG elements
2014-09-08 16:37:20 +02:00
Matthias Jentsch a352131d65 Move charts.less into widgets.less
Don't use a separate less file for only two styles
2014-09-08 16:25:11 +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
Matthias Jentsch 39688ece90 Do not show badge when menu is active 2014-09-08 09:36:33 +02:00
Johannes Meyer ae9e5a40cc Merge branch 'master' into bugfix/rebuild-form-builder-5525
Conflicts:
	application/forms/Preference/GeneralForm.php
2014-09-08 08:46:53 +02:00
Matthias Jentsch 51d14af154 Merge branch 'master' into feature/navigation-unhandled-badges-7114
Conflicts:
	library/Icinga/Web/Menu.php
2014-09-05 18:14:29 +02:00
Matthias Jentsch 19eca5f50b Show all unhandled host and services in a menu
Add the option to define custom renderers for menu items and implement renderers to
display all unhandled services and host in a badge in the navigation.

resolves #7114
2014-09-05 17:57:20 +02:00
Thomas Gelf c041bcc559 css/paginagion: never wrap pagination 2014-09-05 16:24:07 +02:00
Marius Hein f2df8d9bae Timezone detection: Set cookie expiration to 1 day
refs #6078
2014-09-05 15:24:13 +02:00
Marius Hein a300877878 Time detection: Add receiever to bootstrap method
refs #6078
2014-09-05 15:24:13 +02:00
Marius Hein 3ce42489c6 Timezone detection: Client implementation
refs #6078
2014-09-05 15:24:13 +02:00
Thomas Gelf 0b53f30b08 js/events: ignore mailto links
fixes #7079
2014-09-05 15:05:22 +02:00
Matthias Jentsch 34417338dd Use an icon with better interpolation in our header bar 2014-09-04 17:41:48 +02:00
Matthias Jentsch eeed030bb5 Do not use an invalid HTML attributes for rich titles 2014-09-04 13:32:30 +02:00
Matthias Jentsch e5be8d47ef Fix SVG bound calculation for tooltips in Firefox 2014-09-04 09:53:57 +02:00