blog/themes/xsteadfastx-greg/templates/search.html
Marvin Steadfast 3a29963fd4 added css for tipue search and fixed js bug
forgot to add a css for the tipue search. so i reworked the template
style management a little and added the tipue search css with some font
changings. i also fixed a bug that was there because of my new script
template handling.
2015-08-29 06:30:02 +00:00

36 lines
1.0 KiB
HTML

{% extends 'base.html' %}
{% block title %}Search | {{ SITENAME }}{% endblock %}
{% block styles %}
{{ super() }}
<link rel="stylesheet" href="{{ SITEURL }}/theme/tipuesearch/tipuesearch.css">
{% endblock %}
{% block content %}
<h3 class="article-title">Search</h3>
<br/ >
<br/ >
<form action="{{ SITEURL}}/pages/search.html">
<input type="text" value="" placeholder="Suchen" name="q" id="tipue_search_input" autocomplete="on" required>
<br /><input type="submit"/>
</form>
<div id="tipue_search_content"><div id="tipue_search_loading"></div></div>
<br>
{% endblock %}
{% block scripts %}
<script type="text/javascript" src="{{ SITEURL }}/theme/tipuesearch/tipuesearch_set.js"></script>
<script type="text/javascript" src="{{ SITEURL }}/theme/tipuesearch/tipuesearch.min.js"></script>
<script>
$(document).ready(function() {
$('#tipue_search_input').tipuesearch({
'mode' : 'json',
'show': 1000,
'newWindow': false,
'contentLocation': '{{ SITEURL }}/tipuesearch_content.json'
});
});
</script>
{% endblock %}