- Add a throbber for more web2.0 sadness.

Created with http://ajaxload.info/
This commit is contained in:
Jordan Sissel 2011-02-13 02:29:20 -08:00
parent 13481d80ba
commit 0c20391a91
3 changed files with 3 additions and 1 deletions

View file

@ -19,7 +19,7 @@
}
var display_query = query.replace("<", "&lt;").replace(">", "&gt;")
$("#querystatus, #results h1").html("Loading query '" + display_query + "' (offset:" + logstash.params.offset + ", count:" + logstash.params.count + ")")
$("#querystatus, #results h1").html("Loading query '" + display_query + "' (offset:" + logstash.params.offset + ", count:" + logstash.params.count + ") <img src='/media/throbber.gif'>")
//console.log(logstash.params)
logstash.params.q = query;
document.location.hash = escape(JSON.stringify(logstash.params));

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View file

@ -63,3 +63,5 @@ body
display: none
#results h1
font-size: 100%
img
vertical-align: top