regluit/api/templates/widget.html

52 lines
1.4 KiB
HTML
Raw Normal View History

2011-09-21 05:22:48 +00:00
<!DOCTYPE html>
<html>
<head>
<title>unglue.it: {{work.title}}</title>
<link type="text/css" rel="stylesheet" href="/static/css/sitewide.css" />
<link type="text/css" rel="stylesheet" href="/static/css/book_panel.css" />
<style type="text/css">
body {
margin:0;
padding:0;
background: none;
}
</style>
2012-03-08 02:47:40 +00:00
<script type="text/javascript" src="{{ jquery_home }}" ></script>
<script type="text/javascript" src="{{ jquery_ui_home }}"></script>
<!-- toggle to panelview state instead of listview default -->
<script type="application/x-javascript">
jQuery(document).ready(function($) {
$('.listview').addClass("panelview").removeClass("listview");
});
</script>
<script type="text/javascript" src="/static/js/wishlist.js"></script>
<script type="text/javascript" src="/static/js/greenpanel.js"></script>
<base target="_blank" />
2011-09-21 05:22:48 +00:00
</head>
<body>
<!--- editions --->
<span id="content-block">
2011-09-21 05:22:48 +00:00
{% if work %}
{% with work.googlebooks_id as googlebooks_id %}
{% with work.last_campaign.status as status %}
{% with request.user.wishlist.works.all.status as wishlist %}
{% include "book_panel.html" %}
{% endwith %}
{% endwith %}
{% endwith %}
2011-09-21 05:22:48 +00:00
{% else %}
<p class="classname">No work corresponding to ISBN {{isbn}} available</p>
{% endif %}
</span>
2011-09-21 05:22:48 +00:00
</body>
</html>