2014-12-24 15:42:20 +01:00
|
|
|
<div class="input-group custom-search-form">
|
2016-07-08 12:09:33 +02:00
|
|
|
<form action="/search" id="form-search" method=POST>
|
2014-12-24 15:42:20 +01:00
|
|
|
<input type="text" name="query" class="form-control" placeholder="Search Paste">
|
|
|
|
<span class="input-group-btn">
|
|
|
|
<button class="btn btn-default" type="submit">
|
|
|
|
<i class="fa fa-search"></i>
|
|
|
|
</button>
|
2016-07-12 10:02:01 +02:00
|
|
|
<img id="loading-gif" src="{{url_for('static', filename='image/loading.gif') }}" height="26" width="26" style="margin: 4px; visibility: hidden;">
|
2014-12-24 15:42:20 +01:00
|
|
|
</form>
|
|
|
|
</span>
|
|
|
|
</div>
|
2016-07-08 12:09:33 +02:00
|
|
|
<script>
|
|
|
|
$("#form-search").submit(function( event ) {
|
|
|
|
$("#loading-gif").css("visibility", "visible");
|
|
|
|
});
|
|
|
|
</script>
|