regluit/frontend/templates/front_matter.html

109 lines
4.6 KiB
HTML

{% extends 'basedocumentation.html' %}
{% block title %}Ungluers supporting the {{ campaign }}{% endblock %}
{% block extra_extra_head %}
{{ block.super }}
<link rel="stylesheet" type="text/css" href="/static/css/vanilla.css" class="day" title="day" />
<style>
.ackbox {
float: left;
min-width: 33%;
margin-right: 7px;
}
h2 {
clear: both;
margin: auto !important;
padding: 20px 0 10px 0 !important;
}
p {
text-indent: 0;
}
</style>
{% endblock %}
{% block doccontent %}
<!-- trim here -->
<section epub:type="copyright-page" id="copyright-page">
<div class="agate-info">
<p>© {{ campaign.work.preferred_edition.publication_date }} by {{ campaign.work.authors_short }}</p>
<p>ISBN: {{ campaign.work.preferred_edition.isbn_13 }} .</p>
<p>URI: <a href="https://unglue.it/work/{{ campaign.work_id }}/">https://unglue.it/work/{{ campaign.work_id }}/</a> (this work).</p>
<p><img src="images/unglueitlogo.png" alt="unglue.it logo" /></p>
<p>
This <i>unglued</i> edition is distributed under the terms of the Creative Commons {{ campaign.license }} license. To view a copy of this license, visit <a href="{{ campaign.license_url }}">{{ campaign.license_url }}</a>.
</p>
<p>
The Creative Commons licensing is made possible by the support of readers like you. Become an ungluer at <a href="https://unglue.it/">https://unglue.it/</a> .
</p>
</div>
</section>
<section epub:type="other-credits" id="other-credits">
<h2>This is an unglued ebook</h2>
{% with campaign.ungluer_transactions as transactions %}
<p>
Unglued ebooks are made possible through the Unglue.it website by contributions from {{ transactions.all|length }} readers like you.</p>
{% if transactions.supporters %}
<h2>Supporters of this edition:</h2>
{% for transaction in transactions.supporters %}
<div class="ackbox">
{{ transaction.extra.ack_name }}
</div>
{% endfor %}
{% if transactions.anon_supporters %}
<div class="ackbox">
Anonymous ({{ transactions.anon_supporters }})
</div>
{% endif %}
<br />
{% endif %}
{% if transactions.patrons %}
<h2>Benefactors of this edition:</h2>
{% for transaction in transactions.patrons %}
<div class="ackbox">
{% if transaction.ack_link %}
<a href="{{ transaction.ack_link }}">{{ transaction.extra.ack_name }}</a>
{% else %}
{{ transaction.extra.ack_name }}
{% endif %}
</div>
{% endfor %}
{% if transactions.anon_patrons %}
<div class="ackbox">
Anonymous ({{ transactions.anon_patrons }})
</div>
{% endif %}
<br />
{% endif %}
{% if transactions.bibliophiles %}
<h2>Bibliophiles of this edition:</h2>
<dl>
{% for transaction in transactions.bibliophiles %}
{% if not transaction.anonymous %}
<dt>{% if transaction.ack_link %}<a href="{{transaction.ack_link}}">{{ transaction.extra.ack_name }}</a>{% else %}{{ transaction.extra.ack_name }}{% endif %}</dt>
{% else %}
<dt>Anonymous</dt>
{% endif %}
<dd>{{ transaction.extra.ack_dedication }}</dd>
<br />
{% endfor %}
</dl>
{% endif %}
{% endwith %}
<hr>
<p>
You can say thank you by supporting the ungluing of more books at <a href="https://unglue.it/">https://unglue.it/</a> .
</p>
<p>
If you're reading this book on an internet-connected device, you can also share it with your friends:
<ul>
{% url 'work' campaign.work_id as work_url %}
<a href="mailto:?to=&subject=I%27m%20enjoying%20{{ campaign.work.title|urlencode }}%2C%20a%20free%2C%20DRM%2Dfree%20ebook%2E%20You%20can%20too%21&body=You%20can%20download%20it%20from%20Unglue%2Eit%20here%3A%20https://unglue.it{{ work_url|urlencode:"" }}%20%2E"><li>Email it</li></a>
<a href="https://twitter.com/intent/tweet?url=https://unglue.it{{ work_url|urlencode:"" }}&text=I%27m%20enjoying%20{{ campaign.work.title|urlencode:"" }}%2C%20a%20free%2C%20DRM%2Dfree%20ebook%2E%20You%20can%20too%21"><li>Tweet it</li></a>
<a href="https://www.facebook.com/sharer.php?u=https://unglue.it{{ work_url|urlencode:"" }}"><li>Share it on Facebook</li></a>
</ul>
</p>
</section>
<!-- trim here -->
{% endblock %}