[icinga-checkins] icinga.org: icinga-core/mbrooks/tac_header_v2: Add an optional alternative CGI driven view for the top frame #1406

git at icinga.org git at icinga.org
Sun Apr 17 10:02:56 CEST 2011


Module: icinga-core
Branch: mbrooks/tac_header_v2
Commit: 1cc3e360faa98beb46fd82cbb319a5fa077ef4b0
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=1cc3e360faa98beb46fd82cbb319a5fa077ef4b0

Author: Matthew J. Brooks <matthew at sonomatechpartners.com>
Date:   Fri Apr 15 01:15:17 2011 -0700

Add an optional alternative CGI driven view for the top frame #1406

This enables the ability to display CGI content in the 'top' frame of
the Classic UI that has a similar feel to the top header in icinga-web
including tactical and monitor performance information.

index.html now calls tac.cgi?top instead of top.html for the content
of the top frame. By default the output essentially looks the same as
what was in top.html.

The new CGI top view can be enabled with the cgi.cfg option:

tac_header=1

refs #1406

---

 Changelog                                          |    1 +
 cgi/cgiutils.c                                     |   52 ++++++-
 cgi/tac.c                                          |  183 +++++++++++++++++++-
 html/Makefile.in                                   |    4 +-
 html/images/Icinga_Header_Webinterface.jpg         |  Bin 0 -> 40593 bytes
 html/images/Icinga_Header_Webinterface_Pixel.jpg   |  Bin 0 -> 18524 bytes
 html/images/Icinga_TAC_Header_Webinterface.jpg     |  Bin 0 -> 32485 bytes
 html/images/application-monitor.png                |  Bin 0 -> 601 bytes
 html/images/hourglass-arrow.png                    |  Bin 0 -> 782 bytes
 html/images/hourglass-exclamation.png              |  Bin 0 -> 812 bytes
 .../interface/Icinga_Header_Webinterface.jpg       |  Bin 41939 -> 0 bytes
 .../interface/Icinga_Header_Webinterface_Pixel.jpg |  Bin 24608 -> 0 bytes
 html/images/server.png                             |  Bin 0 -> 423 bytes
 html/index.html.in                                 |    4 +-
 html/stylesheets/interface/common.css              |    6 +-
 html/stylesheets/tacheader.css                     |  119 +++++++++++++
 html/top.html.in                                   |   16 --
 include/cgiutils.h                                 |    9 +
 sample-config/cgi.cfg.in                           |   10 +
 19 files changed, 378 insertions(+), 26 deletions(-)

Diff:   https://git.icinga.org/?p=icinga-core.git;a=commitdiff;h=1cc3e360faa98beb46fd82cbb319a5fa077ef4b0




More information about the icinga-checkins mailing list