support douban book search using apikey

This commit is contained in:
zhiyue
2019-12-04 11:59:06 +08:00
parent d1afdb4aac
commit 222797e631
3 changed files with 58 additions and 19 deletions
+3 -2
View File
@@ -219,8 +219,8 @@
</div>
<div class="modal-body">
<div class="text-center padded-bottom">
<!--input type="checkbox" id="show-douban" class="pill" data-control="douban" checked>
<label for="show-douban">Douban <span class="glyphicon glyphicon-ok"></span></label-->
<input type="checkbox" id="show-douban" class="pill" data-control="douban" checked>
<label for="show-douban">Douban <span class="glyphicon glyphicon-ok"></span></label>
<input type="checkbox" id="show-google" class="pill" data-control="google" checked>
<label for="show-google">Google <span class="glyphicon glyphicon-ok"></span></label>
@@ -288,6 +288,7 @@
<script src="{{ url_for('static', filename='js/edit_books.js') }}"></script>
{% endblock %}
{% block header %}
<meta name="referrer" content="never">
<link href="{{ url_for('static', filename='css/libs/typeahead.css') }}" rel="stylesheet" media="screen">
<link href="{{ url_for('static', filename='css/libs/bootstrap-datepicker3.min.css') }}" rel="stylesheet" media="screen">
{% endblock %}
+3
View File
@@ -1,4 +1,7 @@
{% extends "layout.html" %}
{% block header %}
<meta name="referrer" content="never">
{% endblock %}
{% block body %}
<div class="discover">
{% if entries|length < 1 %}