From 42da43d99e6c339e5a8a9ad7ca342ecccf6bba2c Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Mon, 13 Oct 2014 16:31:49 +0200 Subject: [PATCH] Themed search input --- src/templates/index.html | 66 ++++++++++++++++++---------------------- 1 file changed, 29 insertions(+), 37 deletions(-) diff --git a/src/templates/index.html b/src/templates/index.html index c7c2082..24fde9d 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -47,19 +47,43 @@ - +
- - - + - + + + @@ -68,7 +92,6 @@
- {LN_SEARCH_ADVANCED}
(sample: facility:local0 severity:warning) @@ -510,37 +533,6 @@ $( "#dialog" ).dialog({ }); - -// Buttons -$("#buttonsearch").button() -.click(function() { - // Perform Button Click now! - window.location.href = $(ui.item).find('form').submit(); - // Make sure to return false here or the click registration above gets invoked. - return false; -}) -$("#buttonlucky").button() -.click(function() { - // Perform Button Click now! - window.location.href = "?search={LN_SEARCH}&filter={SearchCustomButtonSearch}{additional_url_sourceonly}"; - // Make sure to return false here or the click registration above gets invoked. - return false; -}) -$("#buttonreset").button() -.click(function() { - // Reset search form - ResetFormValues('searchform'); - // Make sure to return false here or the click registration above gets invoked. - return false; -}) -$("#buttonhighlight").button() -.click(function() { - // Toggle highlight visibility - togglevisibility('HightLightArea'); - // Make sure to return false here or the click registration above gets invoked. - return false; -}) - \ No newline at end of file