100 lines
4.4 KiB
HTML
100 lines
4.4 KiB
HTML
{% extends "base.html" %}
|
|
{% load endless %}
|
|
{% load lang_utils %}
|
|
|
|
{% block title %} Creative Commons Books {% if pub_lang %} in {{pub_lang|ez_lang_name}}{% endif %}{% endblock %}
|
|
{% block extra_css %}
|
|
<link type="text/css" rel="stylesheet" href="/static/css/supporter_layout.css" />
|
|
<link type="text/css" rel="stylesheet" href="/static/css/book_list.css" />
|
|
<link type="text/css" rel="stylesheet" href="/static/css/book_panel2.css" />
|
|
<link type="text/css" rel="stylesheet" href="/static/css/lists.css" />
|
|
{% endblock %}
|
|
{% block extra_head %}
|
|
<script type="text/javascript" src="/static/js/wishlist.js"></script>
|
|
<script type="text/javascript" src="{{ jquery_ui_home }}"></script>
|
|
<script type="text/javascript" src="/static/js/greenpanel.js"></script>
|
|
<script type="text/javascript" src="/static/js/toggle.js"></script>
|
|
<script type="text/javascript" src="/static/js/hijax_unglued.js"></script>
|
|
<script type="text/javascript" src="/static/js/tabs.js"></script>
|
|
{% endblock %}
|
|
{% block topsection %}
|
|
<div id="locationhash">#1</div>
|
|
<div id="js-topsection">
|
|
<div class="js-main">
|
|
<div class="js-topnews">
|
|
<div class="js-topnews1">
|
|
<div class="js-topnews2">
|
|
<div class="js-topnews3">
|
|
<div class="user-block">
|
|
<div id="user-block1">
|
|
<div id="block-intro-text"><span class="special-user-name">Ready to Read</span></div>
|
|
</div>
|
|
<div class="user-block2"><span class="user-short-info">These {% if pub_lang %}{{ pub_lang|ez_lang_name }} language {% endif %}<a href="http://creativecommons.org/">Creative Commons</a> licensed ebooks are ready to read - the people who created them want you to read and share them.</span>
|
|
</div>
|
|
<div class="user-block3">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div id="main-container">
|
|
<div class="js-main">
|
|
<div id="js-leftcol">
|
|
{% include "explore.html" %}
|
|
</div>
|
|
|
|
<div id="js-maincol-fr">
|
|
<div class="js-maincol-inner">
|
|
<div id="content-block">
|
|
<div class="content-block-heading unglued" id="tabs">
|
|
<ul class="book-list-view">
|
|
<li>View As:</li>
|
|
<li class="view-list">
|
|
<a href="#" id="toggle-list">
|
|
<img src="/static/images/booklist/view-list.png" alt="view list" title="view list" height="21" width="24" />
|
|
</a>
|
|
</li>
|
|
<li class="view-list">
|
|
<a href="#" id="toggle-panel">
|
|
<img src="/static/images/booklist/view-icon.png" alt="view icon" title="view icon" height="22" width="22" />
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="content-block-content">
|
|
<div id="books-go-here">
|
|
{% ifequal work_list.count 0 %}
|
|
There aren't any {{ pub_lang|ez_lang_name }} works in this list. Why don't you add some?
|
|
{% else %}
|
|
{% lazy_paginate 20 work_list using "work_list" %}
|
|
{% for work in work_list %}
|
|
<div class="{% cycle 'row1' 'row2' %}">
|
|
{% with work.googlebooks_id as googlebooks_id %}
|
|
{% include "book_panel.html" %}
|
|
{% endwith %}
|
|
</div>
|
|
{% endfor %}
|
|
<div class="pagination content-block-heading tabs-{{ activetab }}">
|
|
{% get_pages %}
|
|
{% for page in pages %}
|
|
<a href="{{ page.path }}#1" class="endless_page_link">{{ page.number }}</a>
|
|
{% endfor %}
|
|
</div>
|
|
{% endifequal %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|