[icinga-checkins] icinga.org: icinga-core/master: re-add quick search to cgi navmenu in order to provide quick host/ service lookups without idoutils/api

git at icinga.org git at icinga.org
Wed May 19 13:41:53 CEST 2010


Module: icinga-core
Branch: master
Commit: fe79f7075bd02630069605cfc9b02fa5a9763904
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=fe79f7075bd02630069605cfc9b02fa5a9763904

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri May 14 15:22:41 2010 +0200

re-add quick search to cgi navmenu in order to provide quick host/service lookups without idoutils/api

fixes #432

---

 Changelog         |    2 ++
 html/menu.html.in |   12 +++++++++++-
 2 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/Changelog b/Changelog
index c5cbfe7..9cee02f 100644
--- a/Changelog
+++ b/Changelog
@@ -9,6 +9,8 @@ ENHANCEMENTS
 * core: add in sync retention facility (Ton Voon, Opsera Ltd)
 * core: add new is_volatile setting of 2 for services, which respects the re-notification interval for notifications (Ton Voon)
 
+* cgi: re-add quick search to navmenu in order to provide quick host/service lookups without idoutils/api
+
 * idoutils: remove mysql binary selects, use case-sensitive collation instead (William Preston)
 * idoutils: Spread the list of linked lists thinner (extend objects hash slots) (Opsera Ltd)
 * idoutils: change select * into select [*_]id if unused results
diff --git a/html/menu.html.in b/html/menu.html.in
index 5d8b482..503aa95 100644
--- a/html/menu.html.in
+++ b/html/menu.html.in
@@ -20,7 +20,17 @@
 					<a class="flag" href="docs/de/index.html" target="main"><img src="docs/images/flags/de.png" /></a><a class="flag" href="docs/en/index.html" target="main"><img src="docs/images/flags/um_gb.png" /></a>
 				</div>
 			</li>
-			<li class="menuli_style2"><a href="search.html" target="main">Search</a></li>
+			<!-- extended search based on idoutils and icinga api -->
+			<li class="menuli_style2"><a href="search.html" target="main">Extended Search</a></li>
+			<!-- classic search -->
+			<li class="menuli_style2">
+			<div class="navbarsearch">
+			<form method="get" action="@cgiurl@/status.cgi" target="main">
+			<input type='hidden' name='navbarsearch' value='1'>
+			<input type='text' name='host' size='20' class="NavBarSearchItem">
+			</form>
+			</div>
+			</li>
 		</ul>
 		<h2>Monitoring</h2>
 		<ul>





More information about the icinga-checkins mailing list