2015-04-28 03:24:02 +00:00
{% extends 'base.html' %}
2016-05-11 14:41:50 +00:00
2018-04-20 01:25:12 +00:00
{% load el_pagination_tags %}
2012-07-21 20:26:16 +00:00
{% load lang_utils %}
2018-01-30 17:47:51 +00:00
{% load sass_tags %}
2012-01-15 21:48:26 +00:00
2012-07-21 20:26:16 +00:00
{% block title %} Ready-to-Read Works {% if pub_lang %} in {{pub_lang|ez_lang_name}}{% endif %}{% endblock %}
2012-01-15 21:48:26 +00:00
{% block extra_css %}
2018-01-30 20:31:20 +00:00
< link type = "text/css" rel = "stylesheet" href = "{% sass_src 'scss/supporter_layout.scss' %}" / >
< link type = "text/css" rel = "stylesheet" href = "{% sass_src 'scss/book_list.scss' %}" / >
2018-01-30 17:47:51 +00:00
< link type = "text/css" rel = "stylesheet" href = "{% sass_src 'scss/book_panel2.scss' %}" / >
2018-01-30 20:31:20 +00:00
< link type = "text/css" rel = "stylesheet" href = "{% sass_src 'scss/lists.scss' %}" / >
2012-01-15 21:48:26 +00:00
{% endblock %}
{% block extra_head %}
< script type = "text/javascript" src = "/static/js/wishlist.js" > < / script >
2012-03-08 02:47:40 +00:00
< script type = "text/javascript" src = "{{ jquery_ui_home }}" > < / script >
2018-11-03 21:23:07 +00:00
< script type = "text/javascript" src = "/static/js/greenpanel.js" > < / script >
2012-01-15 21:48:26 +00:00
< script type = "text/javascript" src = "/static/js/toggle.js" > < / script >
2013-02-04 16:28:58 +00:00
< script type = "text/javascript" src = "/static/js/hijax_unglued.js" > < / script >
2013-02-06 14:57:27 +00:00
< script type = "text/javascript" src = "/static/js/tabs.js" > < / script >
2012-01-15 21:48:26 +00:00
{% endblock %}
{% block topsection %}
2012-03-02 14:40:10 +00:00
< div id = "locationhash" > {{ activetab }}< / div >
2012-01-15 21:48:26 +00:00
< 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" >
2012-02-07 17:01:00 +00:00
< div id = "user-block1" >
2013-02-04 15:09:08 +00:00
< div id = "block-intro-text" > < span class = "special-user-name" > Ready to Read< / span > < / div >
2012-01-15 21:48:26 +00:00
< / div >
2013-01-02 20:35:42 +00:00
< div class = "user-block2" > < span class = "user-short-info" > These {% if pub_lang %}{{ pub_lang|ez_lang_name }} language {% endif %}ebooks are ready to read - either they're in the public domain, or they've been unglued by people like you.< / span >
2012-01-15 21:48:26 +00:00
< / 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" >
2012-02-06 18:53:25 +00:00
< div id = "content-block" >
2012-02-29 17:34:21 +00:00
< div class = "content-block-heading unglued" id = "tabs" >
2012-01-15 21:48:26 +00:00
< ul class = "tabs" >
2013-02-04 16:28:58 +00:00
{% if request.GET.pub_lang %}
{% with request.GET.pub_lang as pub_lang %}
2015-04-28 03:24:02 +00:00
< li class = "tabs1" > < a href = "{% url 'unglued_list' '' %}?pub_lang={{ pub_lang }}" class = "hijax_unglued" > Unglued< / a > < / li >
< li class = "tabs2" > < a href = "{% url 'unglued_list' 'cc' %}?pub_lang={{ pub_lang }}" class = "hijax_unglued" > Creative< br / > Commons< / a > < / li >
< li class = "tabs3" > < a href = "{% url 'unglued_list' 'pd' %}?pub_lang={{ pub_lang }}" class = "hijax_unglued" > Public< br / > Domain< / a > < / li >
2013-02-04 16:28:58 +00:00
{% endwith %}
{% else %}
2015-04-28 03:24:02 +00:00
< li class = "tabs1" > < a href = "{% url 'unglued_list' '' %}" class = "hijax_unglued" > Unglued< / a > < / li >
< li class = "tabs2" > < a href = "{% url 'unglued_list' 'cc' %}" class = "hijax_unglued" > Creative< br / > Commons< / a > < / li >
< li class = "tabs3" > < a href = "{% url 'unglued_list' 'pd' %}" class = "hijax_unglued" > Public< br / > Domain< / a > < / li >
2013-02-04 16:28:58 +00:00
{% endif %}
2013-01-02 20:35:42 +00:00
< / ul >
< 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 >
2012-01-15 21:48:26 +00:00
< / ul >
< / div >
2012-02-06 18:53:25 +00:00
< div id = "content-block-content" >
2013-02-04 17:09:38 +00:00
< 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" %}
2013-03-11 20:23:52 +00:00
{% endwith %}
2013-02-04 17:09:38 +00:00
< / div >
2012-02-29 17:34:21 +00:00
{% endfor %}
2013-02-04 17:09:38 +00:00
< div class = "pagination content-block-heading tabs-1" >
{% get_pages %}
{% for page in pages %}
< a href = "{{ page.path }}#1" class = "endless_page_link" > {{ page.number }}< / a >
{% endfor %}
< / div >
{% endifequal %}
2012-01-15 21:48:26 +00:00
< / div >
< / div >
< / div >
2014-10-27 15:55:46 +00:00
{% if request.user.libpref %}
< div id = "libtools" >
< p > for libraries...< / p >
{% block marcform %}
2015-04-28 03:24:02 +00:00
< form method = "GET" action = "{% url 'unglued_list_marc' facet %}" >
2014-10-27 15:55:46 +00:00
{% include 'marc_form.html' %}
< input type = "submit" name = "submit" value = "download MARC" id = "submit" >
< / form >
{% endblock %}
< / div >
{% endif %}
2012-01-15 21:48:26 +00:00
< / div >
< / div >
< / div >
< / div >
{% endblock %}