regluit/api/templates/widget.html

48 lines
1.2 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>
<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 %}
{% include "book_panel.html" %}
{% 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>