|
@@ -1,34 +1,20 @@
|
|
|
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
|
+{% extends "base.html" %}
|
|
|
|
|
|
-<html>
|
|
|
-<head>
|
|
|
- <title>Tipue Search Live Mode</title>
|
|
|
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
-
|
|
|
-<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
|
+{% block title %}
|
|
|
+Search - {{ super() }}
|
|
|
+{% endblock title %}
|
|
|
|
|
|
+{% block head %}
|
|
|
+{{ super() }}
|
|
|
<link href="http://fonts.googleapis.com/css?family=Lato:300,400|Open+Sans:300,400" rel="stylesheet" type="text/css">
|
|
|
-<link rel="stylesheet" type="text/css" href="../../example.css">
|
|
|
-
|
|
|
-<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
|
|
|
-
|
|
|
-<script type="text/javascript" src="tipuesearch/tipuesearch_set.js"></script>
|
|
|
-<link rel="stylesheet" type="text/css" href="tipuesearch/tipuesearch.css">
|
|
|
-<script type="text/javascript" src="tipuesearch/tipuesearch.js"></script>
|
|
|
-
|
|
|
-</head>
|
|
|
-<body>
|
|
|
-
|
|
|
-<div class="block" style="padding-top: 30px;"><a href="http://www.tipue.com"><img src="../../img/head.png" class="light_image" style="width: 76px; height: 42px;" alt="Tipue"></a></div>
|
|
|
+<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/tipuesearch/tipuesearch.css">
|
|
|
+{% endblock head %}
|
|
|
|
|
|
-<div class="block" style="padding-top: 31px;">
|
|
|
-
|
|
|
-<div style="float: left;"><input type="text" id="tipue_search_input"></div>
|
|
|
-<div style="float: left; margin-left: 13px;"><input type="button" id="tipue_search_button"></div>
|
|
|
-<div id="tipue_search_content"></div>
|
|
|
-
|
|
|
-</div>
|
|
|
|
|
|
+{% block script %}
|
|
|
+<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
|
|
|
+<script type="text/javascript" src="{{ SITEURL }}/theme/tipuesearch/tipuesearch_set.js"></script>
|
|
|
+<script type="text/javascript" src="{{ SITEURL }}/theme/tipuesearch/tipuesearch.js"></script>
|
|
|
<script>
|
|
|
$(document).ready(function() {
|
|
|
$('#tipue_search_input').tipuesearch({
|
|
@@ -37,6 +23,9 @@ $(document).ready(function() {
|
|
|
});
|
|
|
});
|
|
|
</script>
|
|
|
+{% endblock script %}
|
|
|
|
|
|
-</body>
|
|
|
-</html>
|
|
|
+{% block content %}
|
|
|
+<article>
|
|
|
+<div id="tipue_search_content"></div>
|
|
|
+{% endblock content %}
|