added search page
This commit is contained in:
@ -40,7 +40,7 @@ vim: ts=2 noexpandtab
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<div class="inner cover">
|
||||
<div class="inner cover">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
|
9
templates/result.html
Normal file
9
templates/result.html
Normal file
@ -0,0 +1,9 @@
|
||||
<!--
|
||||
vim: ts=2 noexpandtab
|
||||
-->
|
||||
{% extends "index.html" %}
|
||||
{% block title %}{{ super() }} - Results{% endblock%}
|
||||
{% set active_page = "search" %}
|
||||
{% block content %}
|
||||
<p>{{results}}</p>
|
||||
{% endblock content%}
|
@ -5,5 +5,22 @@ vim: ts=2 noexpandtab
|
||||
{% block title %}{{ super() }} - Search{% endblock%}
|
||||
{% set active_page = "search" %}
|
||||
{% block content %}
|
||||
<p>SEARCH</p>
|
||||
<link href="{{ url_for("static", filename="css/search.css") }}" rel="stylesheet">
|
||||
|
||||
<div class="search_container">
|
||||
<img class="logo" src="{{ url_for("static", filename="images/Pirates.svg") }}" />
|
||||
<form action="search" >
|
||||
<div class="form-group">
|
||||
<div class="input-group search-box">
|
||||
<input type="text" name="q" class="form-control" placeholder="Seach for…" aria-describedby="basic-addon2">
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default" type="submit">
|
||||
<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
|
||||
Search!
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock content%}
|
||||
|
Reference in New Issue
Block a user