[icinga-checkins] icinga.org: icinga-core/mbrooks/tac_header: Replace top. html with alternative CGI driven view (#1406)

git at icinga.org git at icinga.org
Fri Apr 15 10:41:54 CEST 2011


Module: icinga-core
Branch: mbrooks/tac_header
Commit: 23d373db6b87f82701aba37ce6d771c442591757
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=23d373db6b87f82701aba37ce6d771c442591757

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

Replace top.html with alternative CGI driven view (#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
contains the same HTML as what was in top.html (minor path
changes were made).

Since this eliminates the need for top.html, this deletes it and
removes a reference to it in the cleanup portion of html/Makefile.

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

tac_header=1

refs #1406

---

 cgi/cgiutils.c                                     |   51 ++++++-
 cgi/tac.c                                          |  180 ++++++++++++++++++++
 html/Makefile.in                                   |    4 +-
 .../interface/Icinga_Header_Webinterface.jpg       |  Bin 41939 -> 40593 bytes
 .../interface/Icinga_Header_Webinterface_Pixel.jpg |  Bin 24608 -> 18524 bytes
 .../interface/Icinga_TAC_Header_Webinterface.jpg   |  Bin 0 -> 32466 bytes
 html/images/interface/application-monitor.png      |  Bin 0 -> 601 bytes
 html/images/interface/hourglass-arrow.png          |  Bin 0 -> 782 bytes
 html/images/interface/hourglass-exclamation.png    |  Bin 0 -> 812 bytes
 html/images/interface/server.png                   |  Bin 0 -> 423 bytes
 html/index.html.in                                 |    4 +-
 html/stylesheets/interface/common.css              |    4 +-
 html/stylesheets/tacheader.css                     |  118 +++++++++++++
 html/top.html.in                                   |   16 --
 sample-config/cgi.cfg.in                           |   10 +
 15 files changed, 365 insertions(+), 22 deletions(-)

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




More information about the icinga-checkins mailing list