zeus.ugent.be/content/search.erb

47 lines
1.1 KiB
Text
Raw Permalink Normal View History

2016-07-31 19:28:23 +02:00
---
title: Search
---
2016-10-04 16:25:03 +02:00
<div class="columns">
<div class="column is-half">
<div class="content">
<h1>Blog results</h1>
</div>
<div id="blog_results"></div>
</div>
<div class="column">
<div class="content">
<h1>Event results</h1>
</div>
<div id="event_results"></div>
</div>
</div>
2017-05-04 01:40:53 +02:00
2018-07-05 11:36:11 +02:00
<% content_for :head do %>
<!-- CSS -->
<!-- TiptueSearch CSS -->
<link rel="stylesheet" href="/assets/stylesheets/tipuesearch/tipuesearch.css" >
<% end %>
2017-05-04 01:40:53 +02:00
<% content_for :scripts do %>
2018-07-05 11:36:11 +02:00
<script src="https://code.jquery.com/jquery-3.0.0.min.js" charset="utf-8"></script>
<%= asset :js, :tipuesearch_set %>
2018-06-26 10:55:36 +02:00
<%= asset :js, :tipuesearch %>
2016-07-23 21:17:24 +02:00
<script>
$(document).ready(function() {
2016-10-04 22:04:34 +02:00
$('#tipue_search_input_field').tipuesearch({
2018-07-05 11:36:11 +02:00
'wholeWords': false,
2016-10-04 16:25:03 +02:00
'showTitleCount': false,
'tipue_search_content': '#blog_results',
'contentLocation': '../blog_search.json'
});
2016-10-04 22:04:34 +02:00
$('#tipue_search_input_field').tipuesearch({
2018-07-05 11:36:11 +02:00
'wholeWords': false,
2016-10-04 16:25:03 +02:00
'showTitleCount': false,
'tipue_search_content': '#event_results',
'contentLocation': '../event_search.json'
2016-07-23 21:17:24 +02:00
});
});
</script>
2017-05-04 01:40:53 +02:00
<% end %>