Merge newfoundation
commit
43ccd03a00
|
@ -292,7 +292,9 @@ class OfferForm(forms.ModelForm):
|
||||||
|
|
||||||
|
|
||||||
class CampaignPurchaseForm(forms.Form):
|
class CampaignPurchaseForm(forms.Form):
|
||||||
anonymous = forms.BooleanField(required=False, label=_("Make this purchase anonymous, please"))
|
anonymous = forms.BooleanField(required=False,
|
||||||
|
label_suffix='',
|
||||||
|
label=_("Make this purchase anonymous"))
|
||||||
offer_id = forms.IntegerField(required=False)
|
offer_id = forms.IntegerField(required=False)
|
||||||
offer = None
|
offer = None
|
||||||
library_id = forms.IntegerField(required=False)
|
library_id = forms.IntegerField(required=False)
|
||||||
|
@ -357,7 +359,8 @@ class CampaignPurchaseForm(forms.Form):
|
||||||
class CampaignThanksForm(forms.Form):
|
class CampaignThanksForm(forms.Form):
|
||||||
anonymous = forms.BooleanField(
|
anonymous = forms.BooleanField(
|
||||||
required=False,
|
required=False,
|
||||||
label=_("Make this contribution anonymous, please")
|
label_suffix='',
|
||||||
|
label=_("Make this contribution anonymous")
|
||||||
)
|
)
|
||||||
preapproval_amount = forms.DecimalField(
|
preapproval_amount = forms.DecimalField(
|
||||||
required = True,
|
required = True,
|
||||||
|
@ -391,7 +394,10 @@ class CampaignPledgeForm(forms.Form):
|
||||||
def amount(self):
|
def amount(self):
|
||||||
return self.cleaned_data["preapproval_amount"] if self.cleaned_data else None
|
return self.cleaned_data["preapproval_amount"] if self.cleaned_data else None
|
||||||
|
|
||||||
anonymous = forms.BooleanField(required=False, label=_("Make this support anonymous, please"))
|
anonymous = forms.BooleanField(
|
||||||
|
required=False,
|
||||||
|
label_suffix='',
|
||||||
|
label=_("Make this support anonymous"))
|
||||||
ack_name = forms.CharField(
|
ack_name = forms.CharField(
|
||||||
required=False,
|
required=False,
|
||||||
max_length=64,
|
max_length=64,
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
{% load truncatechars %}{% load sass_tags %}
|
{% load truncatechars %}{% load sass_tags %}
|
||||||
|
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="referrer" content="origin" />
|
<meta name="referrer" content="origin" />
|
||||||
<title>unglue.it {% block title %}{% endblock %}</title>
|
<title>unglue.it {% block title %}{% endblock %}</title>
|
||||||
<link REL="SHORTCUT ICON" HREF="/static/images/favicon.ico">
|
<link REL="SHORTCUT ICON" HREF="/static/images/favicon.ico">
|
||||||
|
@ -19,7 +20,6 @@
|
||||||
|
|
||||||
<script type="text/javascript" src="{{ jquery_home }}"></script>
|
<script type="text/javascript" src="{{ jquery_home }}"></script>
|
||||||
<script type="text/javascript" src="/static/js/jquery.cookie.js"></script>
|
<script type="text/javascript" src="/static/js/jquery.cookie.js"></script>
|
||||||
<script type="text/javascript" src="/static/scss/foundation/dist/js/foundation.js"></script>
|
|
||||||
<script type="text/javascript" src="/static/js/watermark_init.js"></script>
|
<script type="text/javascript" src="/static/js/watermark_init.js"></script>
|
||||||
<script type="text/javascript" src="/static/js/watermark_change.js"></script>
|
<script type="text/javascript" src="/static/js/watermark_change.js"></script>
|
||||||
<script defer type="text/javascript" src="/static/js/sitewide1.js"></script>
|
<script defer type="text/javascript" src="/static/js/sitewide1.js"></script>
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="header-search-bar">
|
<div id="header-search-bar">
|
||||||
<form action="{% url 'search' %}" method="get">
|
<form action="{% url 'search' %}" method="get">
|
||||||
<input type="text" placeholder="Search" id="nowatermark" size="25" onfocus="imgfocus()" onblur="imgblur(15)" class="inputbox" name="q" value="{{ q }}"></input>
|
<input role="search" type="text" placeholder="Search" id="nowatermark" size="25" onfocus="imgfocus()" onblur="imgblur(15)" class="inputbox" name="q" value="{{ q }}"></input>
|
||||||
<i class="fa fa-search"></i>
|
<i class="fa fa-search"></i>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -143,14 +143,6 @@
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
|
|
||||||
{% block footer %}
|
{% block footer %}
|
||||||
<div class="footer hide utilityheaders">
|
|
||||||
<ul>
|
|
||||||
<li><a href="{% url 'about' %}">Team</a></li>
|
|
||||||
<li><a href="https://blog.unglue.it">Blog</a></li>
|
|
||||||
<li><a href="{% url 'terms' %}">Terms of Use</a></li>
|
|
||||||
<li><a href="{% url 'faq' %}">General FAQ</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="footer utilityheaders">
|
<div class="footer utilityheaders">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<span>About Unglue.it</span>
|
<span>About Unglue.it</span>
|
||||||
|
@ -216,5 +208,6 @@
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
<script type="text/javascript" src="/static/scss/foundation/dist/js/foundation.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -13,175 +13,142 @@
|
||||||
<!-- select {% sass_src 'scss/enhanced_download.scss' %} or {% sass_src 'scss/enhanced_download_ie.scss' %} -->
|
<!-- select {% sass_src 'scss/enhanced_download.scss' %} or {% sass_src 'scss/enhanced_download_ie.scss' %} -->
|
||||||
<script type="text/javascript" src="/static/js/download_page.js"></script>
|
<script type="text/javascript" src="/static/js/download_page.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var $j = jQuery.noConflict();
|
var $j = jQuery.noConflict();
|
||||||
$j(document).ready(function() {
|
$j(document).ready(function() {
|
||||||
// actually trigger the download_page function
|
// actually trigger the download_page function
|
||||||
$j(document).trigger('prettifyDownload');
|
$j(document).trigger('prettifyDownload');
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block extra_css %}
|
||||||
|
<link type="text/css" rel="stylesheet" href="{% sass_src 'scss/download.scss' %}" />
|
||||||
|
{% endblock %}
|
||||||
{% block avatar %}
|
{% block avatar %}
|
||||||
<img class="user-avatar" src="/static/images/header/avatar.png" height=36 width="36" alt="private" title="private" />
|
<img class="user-avatar" src="/static/images/header/avatar.png" height=36 width="36" alt="private" title="private" />
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<div class="download_container">
|
<div class="download_container">
|
||||||
<div id="lightbox_content">
|
<div id="download_content">
|
||||||
<span id="dropboxjs" data-app-key="{{ dropbox_key }}"></span>
|
<span id="dropboxjs" data-app-key="{{ dropbox_key }}"></span>
|
||||||
{% if show_beg %}
|
{% if show_beg %}
|
||||||
{% if work.last_campaign.ask_money %}
|
{% if work.last_campaign.ask_money %}
|
||||||
<div class="border" style="padding: 10px; min-height: 18em">
|
<div class="rh_ask">
|
||||||
<div id="askblock">
|
{{ work.last_campaign.description|safe }}
|
||||||
<div>Please help us thank the creators for making <a href="{% url 'work' work.id %}">{{ work.title }}</a> free. The amount is up to you.</div>
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<div id="askblock" class="card">
|
||||||
|
<div>Say thank you for making <a href="{% url 'work' work.id %}">{{ work.title }}</a> free.</div>
|
||||||
<form class="askform" method="POST" action="{% url 'thank' work.id %}#">
|
<form class="askform" method="POST" action="{% url 'thank' work.id %}#">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form.non_field_errors }}
|
{{ form.non_field_errors }}
|
||||||
<div class="contrib_amount">Amount: {{ form.preapproval_amount.errors }}${{ form.preapproval_amount }}</div>
|
<div class="input-group">
|
||||||
<div style="text-align: center;"><input name="pledge" type="submit" value="Say Thank You" id="contribsubmit" class="loader-gif" /></div>
|
{{ form.preapproval_amount.errors }}
|
||||||
<div id="anoncontribbox"><I>{{ form.anonymous.label_tag }}</I> {{ form.anonymous.errors }}{{ form.anonymous }}</div>
|
<span class="input-group-label">$</span>
|
||||||
{% if request.user.credit.available > 0 %}
|
<input class="input-group-field" type="number" min="0.99" max="1999.99" step="1.00"
|
||||||
<div > You have an available credit of ${{ request.user.credit.available|intcomma }} which will be applied to your contribution.</div>
|
id="id_preapproval_amount" name="preapproval_amount"
|
||||||
{% endif %}
|
value="{{ form.preapproval_amount.value }}">
|
||||||
</form>
|
<div class="input-group-button">
|
||||||
</div>
|
<input name="pledge" type="submit" class="button loader-gif" value="Say Thanks" id="contribsubmit">
|
||||||
<div class="rh_ask">
|
|
||||||
{{ work.last_campaign.description|safe }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
<div class="border" style="padding: 10px">
|
|
||||||
<div class="rh_ask">
|
|
||||||
{{ work.last_campaign.description|safe }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
{% if user_license.thanked %}
|
|
||||||
<div style="text-align: center; padding: 20px;">
|
|
||||||
<div style="background: #edf3f4; padding: 10px; width:35%; display: inline; ">
|
|
||||||
You have supported this free book!
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
{% if lib_thanked %}
|
|
||||||
<div style="text-align: center; padding: 20px;">
|
|
||||||
<div style="background: #edf3f4; padding: 10px; width:35%; display: inline; ">
|
|
||||||
Your library has supported this free book!
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
{% if amount %}
|
|
||||||
<div style="text-align: center; padding: 20px;">
|
|
||||||
<div style="background: #edf3f4; padding: 10px; width:35%; display: inline; ">
|
|
||||||
Your contribution of ${{amount}} is confirmed.
|
|
||||||
{% if request.session.receipt %}
|
|
||||||
A confirmation is being sent to {{ request.session.receipt }}.
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
{% if source %}
|
|
||||||
|
|
||||||
{% else %}
|
|
||||||
<div class="border">
|
|
||||||
<h2 style="width:60%">Downloads for <I><a href="{% url 'work' work.id %}">{{ work.title }}</a></i></h2>
|
|
||||||
<div class="sharing ebook_download_container">
|
|
||||||
<h3 class="jsmod-title"><span>Share</span></h3>
|
|
||||||
<ul class="social menu">
|
|
||||||
{% with site.domain as domain %}
|
|
||||||
<a href="https://www.facebook.com/sharer.php?u=https://{{ site.domain }}{% url 'work' work.id|urlencode:"" %}"><li class="facebook first"><span>Facebook</span></li></a>
|
|
||||||
<a href="https://twitter.com/intent/tweet?url=https://{{ site.domain }}{% url 'work' work.id|urlencode:"" %}&text=I%27m%20enjoying%20{{ work.title|urlencode }}%2C%20a%20free%2C%20non%2DDRM%20ebook%2E%20You%20can%20too%21"><li class="twitter"><span>Twitter</span></li></a>
|
|
||||||
{% endwith %}
|
|
||||||
{% if request.user.is_authenticated %}<a href="{% url 'emailshare' 'downloaded' %}?next={% url 'work' work.id %}"><li class="email"><span>Email</span></li></a>{% endif %}
|
|
||||||
<a id="embed2"><li class="embed"><span>Embed</span></li></a>
|
|
||||||
<div id="widgetcode2">Copy/paste this into your site:<br /><textarea rows="7" cols="22"><iframe src="https://{{ request.META.HTTP_HOST }}/api/widget/{{ work.first_isbn_13 }}/" width="152" height="325" frameborder="0"></iframe></textarea></div>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
{% if xfer_url or can_kindle %}
|
|
||||||
<div class="one_click clearfix">
|
|
||||||
<h3>One-click options</h3>
|
|
||||||
{% if mac_ibooks and xfer_url %}
|
|
||||||
<div id="mac_ibooks" title="{{ work.id }}" >
|
|
||||||
<div class="btn_support mac_ibooks"><a href="{{ xfer_url }}">Load to iBooks</a></div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
{% if can_kindle %}
|
|
||||||
<div id="kindle_div">
|
|
||||||
{% if request.user.is_authenticated and request.user.profile.kindle_email %}
|
|
||||||
<div class="yes_js">
|
|
||||||
<div id="kindle" class="btn_support authenticated" title="{{ work.id }}" >
|
|
||||||
<a>Send to Kindle</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="no_js">
|
|
||||||
<form method="POST" class="btn_support" action="{% url 'send_to_kindle' work.id 0 %}">
|
|
||||||
<input type="submit" value="Send to Kindle">
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
<div class="btn_support kindle {% if request.user.is_anonymous %}modify{% endif %}">
|
|
||||||
<a href="{% url 'kindle_config_download' work.id %}">Set up Kindle </a>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
{% if xfer_url %}
|
|
||||||
{% if iOS %}
|
|
||||||
<div id="marvin" title="{{ work.id }}" >
|
|
||||||
<div class="btn_support marvin"><a href="marvinhttp://{{ xfer_url|urlencode }}">Load to Marvin</a></div>
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="anoncontribbox">
|
||||||
|
{{ form.anonymous.errors }}{{ form.anonymous }}
|
||||||
|
<i class="inline-block">{{ form.anonymous.label_tag }}</i>
|
||||||
|
</div>
|
||||||
|
{% if request.user.credit.available > 0 %}
|
||||||
|
<div > You have an available credit of ${{ request.user.credit.available|intcomma }} which will be applied to your contribution.</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% else %}
|
||||||
{% if can_kindle %}{% if not request.user.is_authenticated %}
|
<div class="rh_ask">
|
||||||
<div style="clear:left"> You'll need an unglue.it account to <i>Send to Kindle</i>.</div>
|
{{ work.last_campaign.description|safe }}
|
||||||
{% endif %}{% endif %}
|
<div class="clearfix"></div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
|
||||||
<div class="ebook_download_container">
|
|
||||||
{% if testmode %}
|
|
||||||
<i>Download links for uploaded files will appear here when campaign is launched.</i>
|
|
||||||
{% endif %}
|
|
||||||
{% if unglued_ebooks or other_ebooks or acq %}
|
|
||||||
{% if unglued_ebooks %}
|
|
||||||
<h3>Download the unglued edition</h3>
|
|
||||||
<div class="ebook_download">
|
|
||||||
{% for ebook in unglued_ebooks %}
|
|
||||||
<a href="{% url 'download_ebook' ebook.id %}">
|
|
||||||
<img src="{{ ebook.rights_badge }}" alt="{{ ebook.rights}}" title="{{ ebook.rights}}" /></a>
|
|
||||||
<a href="{% url 'download_ebook' ebook.id %}"><img src="/static/images/{{ ebook.format }}32.png" height="32" alt="{{ ebook.format }}" title="{{ ebook.format }}" /></a>
|
|
||||||
<a href="{% url 'download_ebook' ebook.id %}">{{ ebook.format }}</a> {% if ebook.version_label %} ({{ ebook.version_label }}) {% endif %}
|
|
||||||
{% if ebook.is_direct %}<a class="dropbox-saver" href="{{ ebook.download_url }}" data-filename="unglueit-{{ work.id }}.{{ ebook.format }}"></a>{% endif %}
|
|
||||||
|
|
||||||
|
|
||||||
{% if not forloop.last %}<br /><br />{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if other_ebooks %}
|
{% endif %}
|
||||||
{% if unglued_ebook %}
|
{% if user_license.thanked %}
|
||||||
<h4>Download other freely available editions</h4>
|
<div>
|
||||||
{% else %}
|
You have supported this free book!
|
||||||
<h4>Download freely available editions</h4>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% if lib_thanked %}
|
||||||
|
<div>
|
||||||
|
Your library has supported this free book!
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% if amount %}
|
||||||
|
<div>
|
||||||
|
Your contribution of ${{amount}} is confirmed.
|
||||||
|
{% if request.session.receipt %}
|
||||||
|
A confirmation is being sent to {{ request.session.receipt }}.
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="ebook_download">
|
</div>
|
||||||
{% for ebook in other_ebooks %}
|
|
||||||
<a href="{% url 'download_ebook' ebook.id %}">
|
|
||||||
<img src="{{ ebook.rights_badge }}" alt="{{ ebook.rights}}" title="{{ ebook.rights}}" /></a>
|
|
||||||
<a href="{% url 'download_ebook' ebook.id %}"><img src="/static/images/{{ ebook.format }}32.png" height="32" alt="{{ ebook.format }} at {{ebook.provider}}" title="{{ ebook.format }} at {{ebook.provider}}" /></a>
|
|
||||||
<a href="{% url 'download_ebook' ebook.id %}">{{ ebook.format }} {% if ebook.version_label %} ({{ ebook.version_label }}) {% endif %} at {{ ebook.provider }}</a>
|
|
||||||
{% if ebook.is_direct %}<a class="dropbox-saver" href="{{ ebook.download_url }}" data-filename="unglueit-{{ work.id }}.{{ ebook.format }}"></a>{% endif %}
|
|
||||||
|
|
||||||
{% if not forloop.last %}<br /><br />{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if acq %}
|
{% if source %}
|
||||||
{% if work.last_campaign.type == 2 %}
|
|
||||||
<h3>Download your ebook{% if acq.lib_acq %}{% if acq.on_reserve %}, on reserve for you at{% else %}, on loan to you at{% endif %} {{ acq.lib_acq.user.library }}{% endif %}</h3>
|
{% else %}
|
||||||
<div class="ebook_download">
|
<div class="download-body">
|
||||||
|
<h1 class="h2">Downloads for <I><a href="{% url 'work' work.id %}">{{ work.title }}</a></i></h1>
|
||||||
|
<div class="ebook_download_container">
|
||||||
|
{% if testmode %}
|
||||||
|
<i>Download links for uploaded files will appear here when campaign is launched.</i>
|
||||||
|
{% endif %}
|
||||||
|
{% if unglued_ebooks or other_ebooks or acq %}
|
||||||
|
{% if unglued_ebooks %}
|
||||||
|
<h2 class="h4">Download the unglued edition</h2>
|
||||||
|
<div class="ebook_download">
|
||||||
|
{% for ebook in unglued_ebooks %}
|
||||||
|
<a href="{% url 'download_ebook' ebook.id %}">
|
||||||
|
<img src="{{ ebook.rights_badge }}" alt="{{ ebook.rights}}" title="{{ ebook.rights}}" /></a>
|
||||||
|
<a href="{% url 'download_ebook' ebook.id %}"><img src="/static/images/{{ ebook.format }}32.png" height="32" alt="{{ ebook.format }}" title="{{ ebook.format }}" /></a>
|
||||||
|
<a href="{% url 'download_ebook' ebook.id %}">{{ ebook.format }}</a> {% if ebook.version_label %} ({{ ebook.version_label }}) {% endif %}
|
||||||
|
{% if ebook.is_direct %}<a class="dropbox-saver" href="{{ ebook.download_url }}" data-filename="unglueit-{{ work.id }}.{{ ebook.format }}"></a>{% endif %}
|
||||||
|
|
||||||
|
|
||||||
|
{% if not forloop.last %}<br /><br />{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% if other_ebooks %}
|
||||||
|
{% if unglued_ebook %}
|
||||||
|
<h2 class="h4">Download other freely available editions</h2>
|
||||||
|
{% else %}
|
||||||
|
<h2 class="h4">Download freely available editions</h2>
|
||||||
|
{% endif %}
|
||||||
|
<div class="ebook_download">
|
||||||
|
{% for ebook in other_ebooks %}
|
||||||
|
<div class="download_option flexible card">
|
||||||
|
<a href="{% url 'download_ebook' ebook.id %}" class="download-label h4">
|
||||||
|
<span class="hide-for-medium" >
|
||||||
|
{{ebook.format}}:
|
||||||
|
</span>
|
||||||
|
<img class="hide-for-small-only" src="/static/images/{{ ebook.format }}32.png" height="32" alt="{{ ebook.format }} at {{ebook.provider}}" title="{{ ebook.format }} at {{ebook.provider}}" />
|
||||||
|
<span class="hide-for-small-only" >
|
||||||
|
{{ ebook.format }} {% if ebook.version_label %} ({{ ebook.version_label }}) {% endif %} at {{ ebook.provider }}
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<a href="{% url 'download_ebook' ebook.id %}" class="download-centered hide-for-medium">
|
||||||
|
<i class="fa fa-download fa-2x" title="Download {{ebook.format}}"></i>
|
||||||
|
</a>
|
||||||
|
{% if ebook.is_direct %}
|
||||||
|
<span class="dropbox_download_option download-centered" >
|
||||||
|
<a class="dropbox-saver download-centered" href="{{ ebook.download_url }}" data-filename="unglueit-{{ work.id }}.{{ ebook.format }}"></a>
|
||||||
|
</span>
|
||||||
|
<span class="download-centered hide-for-small-only">
|
||||||
|
<img src="{{ ebook.rights_badge }}" class="" alt="{{ ebook.rights}}" title="{{ ebook.rights}}" />
|
||||||
|
</span>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% if acq %}
|
||||||
|
{% if work.last_campaign.type == 2 %}
|
||||||
|
<h2 class="h4">Download your ebook{% if acq.lib_acq %}{% if acq.on_reserve %}, on reserve for you at{% else %}, on loan to you at{% endif %} {{ acq.lib_acq.user.library }}{% endif %}</h2>
|
||||||
|
<div class="ebook_download">
|
||||||
<a href="{{ formats.epub }}"><img src="/static/images/epub32.png" height="32" alt="epub" title="epub" /></a>
|
<a href="{{ formats.epub }}"><img src="/static/images/epub32.png" height="32" alt="epub" title="epub" /></a>
|
||||||
<a href="{{ formats.epub }}">EPUB</a> (for iBooks, Nook, Kobo)
|
<a href="{{ formats.epub }}">EPUB</a> (for iBooks, Nook, Kobo)
|
||||||
<a class="dropbox-saver" href="{{ xfer_url }}" data-filename="unglueit-{{ work.id }}.epub"></a>
|
<a class="dropbox-saver" href="{{ xfer_url }}" data-filename="unglueit-{{ work.id }}.epub"></a>
|
||||||
|
@ -189,238 +156,293 @@ $j(document).ready(function() {
|
||||||
<a href="{{ formats.mobi }}"><img src="/static/images/mobi32.png" height="32" alt="mobi" title="mobi" /></a>
|
<a href="{{ formats.mobi }}"><img src="/static/images/mobi32.png" height="32" alt="mobi" title="mobi" /></a>
|
||||||
<a href="{{ formats.mobi }}">MOBI</a> (for Kindle)
|
<a href="{{ formats.mobi }}">MOBI</a> (for Kindle)
|
||||||
<a class="dropbox-saver" href="{{ kindle_url }}" data-filename="unglueit-{{ work.id }}.mobi"></a>
|
<a class="dropbox-saver" href="{{ kindle_url }}" data-filename="unglueit-{{ work.id }}.mobi"></a>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
{% else %}
|
||||||
|
<div class="card">
|
||||||
|
<p id="content-block">There are no freely available downloads of <I>{{ work.title }}</I> right now. {% if not work in request.user.wishlist.works.all %}Would you like there to be? <a class="add-wishlist"><span class="work_id" id="w{{ work.id }}">Add this book to your wishlist.</span></a>{% else %}Ask your friends to add it to their favorites!{% endif %}</p>
|
||||||
|
|
||||||
|
<p>If you know of a Creative-Commons-licensed or US public domain edition of this book, you can add it through the <a href="{% url 'work' work.id %}?tab=4">More... tab of the book page</a>.</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% if xfer_url or can_kindle %}
|
||||||
{% else %}
|
<div class="one_click clearfix">
|
||||||
<div class="border">
|
<h2 class="h4">One-click options</h2>
|
||||||
<p id="content-block">There are no freely available downloads of <I>{{ work.title }}</I> right now. {% if not work in request.user.wishlist.works.all %}Would you like there to be? <a class="add-wishlist"><span class="work_id" id="w{{ work.id }}">Add this book to your wishlist.</span></a>{% else %}Ask your friends to add it to their favorites!{% endif %}</p>
|
{% if mac_ibooks and xfer_url %}
|
||||||
|
<div id="mac_ibooks" title="{{ work.id }}" >
|
||||||
<p>If you know of a Creative-Commons-licensed or US public domain edition of this book, you can add it through the <a href="{% url 'work' work.id %}?tab=4">More... tab of the book page</a>.</p>
|
<div class="btn_support mac_ibooks"><a href="{{ xfer_url }}">Load to iBooks</a></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
<div class="clearfix"></div>
|
|
||||||
</div>
|
|
||||||
{% if unglued_ebooks or other_ebooks or acq %}
|
|
||||||
<div class="border">
|
|
||||||
<h3>Need instructions?</h3>
|
|
||||||
<div class="instructions">
|
|
||||||
<div id="iOS_app_div"{% if iOS_app %} class="active"{% endif %}>
|
|
||||||
<p>
|
|
||||||
Looks like you're using an embedded browser inside an iOS app. (Maybe you followed a link in Twitter or Facebook?)
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
{% if formats.epub or formats.mobi %}
|
|
||||||
To read this ebook you should open this page in safari, or use one of the "One-click" buttons, above. <br />
|
|
||||||
{% if iphone %}<img width="357" height="156" src="/static/images/clickhere.png" alt="how to open in safari" />{% else %}<img width="500" height="403" src="/static/images/open_safari.png" alt="how to open in safari" />{% endif %}<br clear="left" />
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if formats.pdf %}
|
{% if can_kindle %}
|
||||||
You should also be able to use the <a href="{{ formats.pdf }}">pdf</a> file.
|
<div id="kindle_div">
|
||||||
{% elif formats.html %}
|
{% if request.user.is_authenticated and request.user.profile.kindle_email %}
|
||||||
You can read the <a href="{{ formats.html }}">HTML version</a> of this book right here in this browser.
|
<div class="yes_js">
|
||||||
{% elif formats.text %}
|
<div id="kindle" class="authenticated" title="{{ work.id }}" >
|
||||||
You can read the <a href="{{ formats.text }}">text version</a> of this book right here in this browser.
|
<a class="button success" >Send to Kindle</a>
|
||||||
{% endif %}
|
</div>
|
||||||
</p>
|
</div>
|
||||||
<p class="other_instructions_paragraph">
|
<div class="no_js">
|
||||||
Not on iOS? Try the instructions for <a class="android other_instructions">Android</a>, <a class="desktop other_instructions">desktop computers</a>, or <a class="ereader other_instructions">ereaders (Kindle, Nook, Kobo, etc.)</a>.
|
<form method="POST" action="{% url 'send_to_kindle' work.id 0 %}">
|
||||||
</p>
|
<input class="button success" type="submit" value="Send to Kindle">
|
||||||
</div>
|
</form>
|
||||||
|
</div>
|
||||||
<div id="ios_div"{% if iOS %}{% if not iOS_app %} class="active"{% endif %}{% endif %}>
|
|
||||||
<h4>iOS devices</h4>
|
|
||||||
{% if formats.epub %}
|
|
||||||
<p>
|
|
||||||
You may already have an app which reads ebooks. Download the <a href="{{ formats.epub }}">epub file</a> and see if you're offered an option for opening the file. If so, you're done! If not...
|
|
||||||
</p>
|
|
||||||
<p class="ebook_download logo"><img src="/static/images/ibooks_logo.jpg" alt="iBooks Logo" />iBooks</p>
|
|
||||||
<ul>
|
|
||||||
<li><a href="https://itunes.apple.com/us/app/ibooks/id364709193?mt=8">Download the free iBooks app</a> from the App Store.</li>
|
|
||||||
<li>Download the <a href="{{ formats.epub }}">epub file</a>.</li>
|
|
||||||
<li>You will be given the option of opening the file in iBooks.</li>
|
|
||||||
</ul>
|
|
||||||
<p class="ebook_download logo"><img src="/static/images/marvin_logo.jpg" alt="Marvin Logo" />Marvin is a great way to read ebooks. </p>
|
|
||||||
<ul>
|
|
||||||
<li><a href="https://itunes.apple.com/us/app/marvin-ebook-reader-for-epub/id667361209?ls=1&mt=8">Install Marvin</a> from the App Store.</li>
|
|
||||||
<li>Click the "Load to Marvin" button above.</li>
|
|
||||||
</ul>
|
|
||||||
<p class="ebook_download logo"><img src="/static/images/aldiko_logo.png" alt="Aldiko Logo" />So is Aldiko.</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><a href="http://www.aldiko.com/">Download the free Aldiko app.</a></li>
|
|
||||||
<li>Download the <a href="{{ formats.epub }}">epub file</a>.</li>
|
|
||||||
<li>When the download is complete, tap it in your notifications menu. It will be added to Aldiko, ready to read next time you open the app.</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
{% elif formats.pdf %}
|
|
||||||
<p>
|
|
||||||
You may already have an app which reads ebooks. Download the <a href="{{ formats.pdf }}">pdf file</a> and see if you're offered an option for opening the file. If so, you're done! If not...
|
|
||||||
</p>
|
|
||||||
<p class="ebook_download logo"><img src="/static/images/ibooks_logo.jpg" alt="iBooks Logo" />iBooks</p>
|
|
||||||
<ul>
|
|
||||||
<li><a href="https://itunes.apple.com/us/app/ibooks/id364709193?mt=8">Download the free iBooks app</a> from the App Store.</li>
|
|
||||||
<li>Download the <a href="{{ formats.pdf }}">pdf file</a>.</li>
|
|
||||||
<li>You will be given the option of opening the file in iBooks.</li>
|
|
||||||
</ul>
|
|
||||||
{% elif formats.html %}
|
|
||||||
<p>
|
|
||||||
Download the <a href="{{ formats.html }}">HTML version</a>.
|
|
||||||
</p>
|
|
||||||
{% elif formats.text %}
|
|
||||||
<p>
|
|
||||||
Download the <a href="{{ formats.text }}">text version</a>.
|
|
||||||
</p>
|
|
||||||
{% else %}
|
|
||||||
<p>
|
|
||||||
This ebook is only available in .mobi. Your best bet is to install the free Amazon Kindle app from the Apple Store and then use the Send-to-Kindle option above.
|
|
||||||
</p>
|
|
||||||
{% endif %}
|
|
||||||
<p class="other_instructions_paragraph">
|
|
||||||
Not on iOS? Try the instructions for <a class="android other_instructions">Android</a>, <a class="desktop other_instructions">desktop computers</a>, or <a class="ereader other_instructions">ereaders (Kindle, Nook, Kobo, etc.)</a>.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="android_div"{% if android %} class="active"{% endif %}>
|
|
||||||
<h4>Android devices</h4>
|
|
||||||
{% if formats.epub %}
|
|
||||||
<p>
|
|
||||||
You may already have an app which reads ebooks. Download the <a href="{{ formats.epub }}">epub file</a> and see if you're offered an option for opening the file. If so, you're done! If not...
|
|
||||||
</p>
|
|
||||||
<p class="ebook_download logo"><img src="/static/images/aldiko_logo.png" alt="Aldiko Logo" />Aldiko</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><a href="http://www.aldiko.com/">Download the free Aldiko app.</a></li>
|
|
||||||
<li>Download the <a href="{{ formats.epub }}">epub file</a>.</li>
|
|
||||||
<li>When the download is complete, tap it in your notifications menu. It will be added to Aldiko, ready to read next time you open the app.</li>
|
|
||||||
</ul>
|
|
||||||
{% else %}{% if formats.pdf %}
|
|
||||||
<p>
|
|
||||||
You may already have an app which reads ebooks. Download the <a href="{{ formats.pdf }}">pdf file</a> and see if you're offered an option for opening the file. If so, you're done! If not...
|
|
||||||
</p>
|
|
||||||
<p class="ebook_download logo"><img src="/static/images/aldiko_logo.png" alt="Aldiko Logo" />Aldiko</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><a href="http://www.aldiko.com/">Download the free Aldiko app.</a></li>
|
|
||||||
<li>Download the <a href="{{ formats.pdf }}">pdf file</a>.</li>
|
|
||||||
<li>When the download is complete, tap it in your notifications menu. It will be added to Aldiko, ready to read next time you open the app.</li>
|
|
||||||
</ul>
|
|
||||||
{% else %}{% if formats.html %}
|
|
||||||
<p>
|
|
||||||
Download the <a href="{{ formats.html }}">HTML version</a>.
|
|
||||||
</p>
|
|
||||||
{% else %}{% if formats.text %}
|
|
||||||
<p>
|
|
||||||
Download the <a href="{{ formats.text }}">text version</a>.
|
|
||||||
</p>
|
|
||||||
{% else %}
|
|
||||||
<p>
|
|
||||||
This ebook is only available in .mobi. Your best bet is to install the free Amazon Kindle app from Google Play and then use the Send-to-Kindle option above.
|
|
||||||
</p>
|
|
||||||
{% endif %}{% endif %}{% endif %}{% endif %}
|
|
||||||
<p class="other_instructions_paragraph">
|
|
||||||
Not on Android? Try the instructions for <a class="ios other_instructions">iPhone/iPad</a>, <a class="desktop other_instructions">desktop computers</a>, or <a class="ereader other_instructions">ereaders (Kindle, Nook, Kobo, etc.)</a>.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="desktop_div"{% if desktop %} class="active"{% endif %}>
|
|
||||||
<h4>Reading on a {% if mac_ibooks %}Mac{% else %}PC, Mac, or Linux{% endif %}</h4>
|
|
||||||
{% if formats.pdf %}
|
|
||||||
<p>
|
|
||||||
You probably already have an app which reads PDFs. Download the <a href="{{ formats.pdf }}">pdf file</a> and open it.
|
|
||||||
</p>
|
|
||||||
{% elif formats.epub %}
|
|
||||||
{% if mac_ibooks %}
|
|
||||||
<p class="ebook_download logo"><img src="/static/images/ibooks_logo.jpg" alt="iBooks Logo" />iBooks</p>
|
|
||||||
<ul>
|
|
||||||
<li>The iBooks app is pre-installed with your system software.</li>
|
|
||||||
<li>Download the <a href="{{ formats.epub }}">epub file</a>. You should be offered the choice to open it in iBooks</li>
|
|
||||||
</ul>
|
|
||||||
{% endif %}
|
|
||||||
<p class="ebook_download logo"><img src="/static/images/calibre_logo.png" alt="Calibre Logo" />Calibre</p>
|
|
||||||
<ul>
|
|
||||||
<li><a href="http://calibre-ebook.com/download">Download the free Calibre app.</a></li>
|
|
||||||
<li>Download the <a href="{{ formats.epub }}">epub file</a>.</li>
|
|
||||||
<li>Open the file in Calibre.</li>
|
|
||||||
<li>You can <a href="http://blog.marvinapp.com/post/53438723356">use a Calibre plugin</a> to manage files on reader apps.
|
|
||||||
</ul>
|
|
||||||
{% elif formats.mobi %}
|
|
||||||
<p class="ebook_download logo"><img src="/static/images/calibre_logo.png" alt="Calibre Logo" />Calibre</p>
|
|
||||||
<ul>
|
|
||||||
<li><a href="http://calibre-ebook.com/download">Download the free Calibre app.</a></li>
|
|
||||||
<li>Download the <a href="{{ formats.mobi }}">mobi file</a>.</li>
|
|
||||||
<li>Open the file in Calibre.</li>
|
|
||||||
<li>You can <a href="http://blog.marvinapp.com/post/53438723356">use a Calibre plugin</a> to manage files on reader apps.
|
|
||||||
</ul>
|
|
||||||
{% elif formats.html %}
|
|
||||||
<p>
|
|
||||||
You can read the <a href="{{ formats.html }}">HTML version</a> right here in your browser.
|
|
||||||
</p>
|
|
||||||
{% else %}
|
|
||||||
<p>
|
|
||||||
You can read the <a href="{{ formats.text }}">text version</a> right here in your browser.
|
|
||||||
</p>
|
|
||||||
{% endif %}
|
|
||||||
<p class="other_instructions_paragraph">
|
|
||||||
Not on a desktop computer, or want to "side-load" ebooks onto a device or app? Try the instructions for <a class="ios other_instructions">iPhone/iPad</a>, <a class="android other_instructions">Android</a>, or <a class="ereader other_instructions">ereaders (Kindle, Nook, Kobo, etc.)</a>.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="ereader_div"{% if desktop %} class="active"{% endif %}>
|
|
||||||
<h4>Ereaders (Kindle, Nook, Kobo, etc.)</h4>
|
|
||||||
|
|
||||||
{% if formats.mobi or formats.pdf or formats.epub %}
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
{% if formats.mobi %}
|
|
||||||
<b>Kindle</b>: download the <a href="{{ formats.mobi }}">mobi file</a> to your computer, or use the <i>Send To Kindle</i> button above.
|
|
||||||
{% elif formats.pdf %}
|
|
||||||
<b>Kindle</b>: download the <a href="{{ formats.pdf }}">pdf file</a> to your computer, or use the <i>Send To Kindle</i> button above.
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<b>Kindle</b>: We're sorry; we don't have a version suitable for Kindle.
|
<a class="button secondary" href="{% url 'kindle_config_download' work.id %}">Set up Send to Kindle </a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% if xfer_url %}
|
||||||
|
{% if iOS %}
|
||||||
|
<div id="marvin" title="{{ work.id }}" >
|
||||||
|
<a class="button success" href="marvinhttp://{{ xfer_url|urlencode }}">Load to Marvin</a>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
{% if can_kindle %}{% if not request.user.is_authenticated %}
|
||||||
|
<div> You'll need an unglue.it account to <i>Send to Kindle</i>.</div>
|
||||||
|
{% endif %}{% endif %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
{% if unglued_ebooks or other_ebooks or acq %}
|
||||||
|
<h2 class="h4">Need Instructions?</h2>
|
||||||
|
<ul class="accordion flex_ul" data-accordion data-allow-all-closed="true" data-multi-expand="true">
|
||||||
|
<li class="accordion-item {% if iOS_app %}is-active{% endif %}" data-accordion-item style="order: {% if iOS_app %} 0 {% else %} 1 {% endif %}">
|
||||||
|
<a href="#" class="accordion-title">iOS App</a>
|
||||||
|
<div class="accordion-content" data-tab-content>
|
||||||
|
<p>
|
||||||
|
Looks like you're using an embedded browser inside an iOS app. (Maybe you followed a link in Twitter or Facebook?)
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
{% if formats.epub or formats.mobi %}
|
||||||
|
To read this ebook you should open this page in safari, or use one of the "One-click" buttons, above. <br />
|
||||||
|
{% if iphone %}<img width="357" height="156" src="/static/images/clickhere.png" alt="how to open in safari" />{% else %}<img width="500" height="403" src="/static/images/open_safari.png" alt="how to open in safari" />{% endif %}<br clear="left" />
|
||||||
|
{% endif %}
|
||||||
|
{% if formats.pdf %}
|
||||||
|
You should also be able to use the <a href="{{ formats.pdf }}">pdf</a> file.
|
||||||
|
{% elif formats.html %}
|
||||||
|
You can read the <a href="{{ formats.html }}">HTML version</a> of this book right here in this browser.
|
||||||
|
{% elif formats.text %}
|
||||||
|
You can read the <a href="{{ formats.text }}">text version</a> of this book right here in this browser.
|
||||||
|
{% endif %}
|
||||||
|
</p>
|
||||||
|
<p class="other_instructions_paragraph">
|
||||||
|
Not on iOS? Try the instructions for <a class="android other_instructions">Android</a>, <a class="desktop other_instructions">desktop computers</a>, or <a class="ereader other_instructions">ereaders (Kindle, Nook, Kobo, etc.)</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="accordion-item {% if iOS_app %}{% if not iOS_app %}is-active{% endif %}{% endif %}" data-accordion-item style="order: {% if iOS_app %}{% if not iOS_app %} 0 {% else %} 2 {% endif %} {% else %} 2 {% endif %}">
|
||||||
|
<a href="#" class="accordion-title">iOS</a>
|
||||||
|
<div class="accordion-content" data-tab-content>
|
||||||
|
<h4>iOS devices</h4>
|
||||||
{% if formats.epub %}
|
{% if formats.epub %}
|
||||||
<b>All other ereaders</b>: download the <a href="{{ formats.epub }}">epub file</a> to your computer.
|
<p>
|
||||||
|
You may already have an app which reads ebooks. Download the <a href="{{ formats.epub }}">epub file</a> and see if you're offered an option for opening the file. If so, you're done! If not...
|
||||||
|
</p>
|
||||||
|
<p class="logo"><img src="/static/images/ibooks_logo.jpg" alt="iBooks Logo" />iBooks</p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://itunes.apple.com/us/app/ibooks/id364709193?mt=8">Download the free iBooks app</a> from the App Store.</li>
|
||||||
|
<li>Download the <a href="{{ formats.epub }}">epub file</a>.</li>
|
||||||
|
<li>You will be given the option of opening the file in iBooks.</li>
|
||||||
|
</ul>
|
||||||
|
<p class="logo"><img src="/static/images/marvin_logo.jpg" alt="Marvin Logo" />Marvin is a great way to read ebooks. </p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://itunes.apple.com/us/app/marvin-ebook-reader-for-epub/id667361209?ls=1&mt=8">Install Marvin</a> from the App Store.</li>
|
||||||
|
<li>Click the "Load to Marvin" button above.</li>
|
||||||
|
</ul>
|
||||||
|
<p class="logo"><img src="/static/images/aldiko_logo.png" alt="Aldiko Logo" />So is Aldiko.</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://www.aldiko.com/">Download the free Aldiko app.</a></li>
|
||||||
|
<li>Download the <a href="{{ formats.epub }}">epub file</a>.</li>
|
||||||
|
<li>When the download is complete, tap it in your notifications menu. It will be added to Aldiko, ready to read next time you open the app.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
{% elif formats.pdf %}
|
{% elif formats.pdf %}
|
||||||
<b>All other ereaders</b>: download the <a href="{{ formats.pdf }}">pdf file</a> to your computer.
|
<p>
|
||||||
|
You may already have an app which reads ebooks. Download the <a href="{{ formats.pdf }}">pdf file</a> and see if you're offered an option for opening the file. If so, you're done! If not...
|
||||||
|
</p>
|
||||||
|
<p class="logo"><img src="/static/images/ibooks_logo.jpg" alt="iBooks Logo" />iBooks</p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://itunes.apple.com/us/app/ibooks/id364709193?mt=8">Download the free iBooks app</a> from the App Store.</li>
|
||||||
|
<li>Download the <a href="{{ formats.pdf }}">pdf file</a>.</li>
|
||||||
|
<li>You will be given the option of opening the file in iBooks.</li>
|
||||||
|
</ul>
|
||||||
|
{% elif formats.html %}
|
||||||
|
<p>
|
||||||
|
Download the <a href="{{ formats.html }}">HTML version</a>.
|
||||||
|
</p>
|
||||||
|
{% elif formats.text %}
|
||||||
|
<p>
|
||||||
|
Download the <a href="{{ formats.text }}">text version</a>.
|
||||||
|
</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<b>All other ereaders</b>: We're sorry; we don't have a version suitable for your device.
|
<p>
|
||||||
|
This ebook is only available in .mobi. Your best bet is to install the free Amazon Kindle app from the Apple Store and then use the Send-to-Kindle option above.
|
||||||
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</li>
|
<p class="other_instructions_paragraph">
|
||||||
<li>Plug the ereader into your computer with a USB cable.</li>
|
Not on iOS? Try the instructions for <a class="android other_instructions">Android</a>, <a class="desktop other_instructions">desktop computers</a>, or <a class="ereader other_instructions">ereaders (Kindle, Nook, Kobo, etc.)</a>.
|
||||||
<li>Using the Finder (Mac) or Windows Explorer (Windows), drag and drop the ebook file into the Documents folder on your device. (It may also be called My Documents or My Stuff, depending on your ereader.)</li>
|
</p>
|
||||||
<li>Eject your device from the Finder or Explorer and disconnect the USB.</li>
|
</div>
|
||||||
<li>You may need to reboot your device to see the new book.</li>
|
</li>
|
||||||
</ul>
|
<li class="accordion-item {% if android %}is-active{% endif %}" data-accordion-item style="order: {% if android %} 0 {% else %} 3 {% endif %}">
|
||||||
{% else %}
|
<a href="#" class="accordion-title">Android</a>
|
||||||
<p>
|
<div class="accordion-content" data-tab-content>
|
||||||
We're sorry; we don't have a file format suitable for ereaders.
|
<h4>Android devices</h4>
|
||||||
</p>
|
{% if formats.epub %}
|
||||||
{% endif %}
|
<p>
|
||||||
|
You may already have an app which reads ebooks. Download the <a href="{{ formats.epub }}">epub file</a> and see if you're offered an option for opening the file. If so, you're done! If not...
|
||||||
<p class="other_instructions_paragraph">
|
</p>
|
||||||
Not using an ereader? Try the instructions for <a class="ios other_instructions">iPhone/iPad</a>, <a class="android other_instructions">Android</a>, or <a class="desktop other_instructions">desktop computers</a>.
|
<p class="logo"><img src="/static/images/aldiko_logo.png" alt="Aldiko Logo" />Aldiko</p>
|
||||||
</p>
|
|
||||||
</div>
|
<ul>
|
||||||
<div id="ereader_div" class="active">
|
<li><a href="http://www.aldiko.com/">Download the free Aldiko app.</a></li>
|
||||||
<h4>Dropbox</h4>
|
<li>Download the <a href="{{ formats.epub }}">epub file</a>.</li>
|
||||||
<p class="other_instructions_paragraph"> Dropbox is a good way to share your ebooks between desktop, tablet and smartphone. If you see a dropbox button above, click it to load your books into your dropbox folder. Then load the file into your reader application on your device.
|
<li>When the download is complete, tap it in your notifications menu. It will be added to Aldiko, ready to read next time you open the app.</li>
|
||||||
</p>
|
</ul>
|
||||||
|
{% else %}{% if formats.pdf %}
|
||||||
|
<p>
|
||||||
|
You may already have an app which reads ebooks. Download the <a href="{{ formats.pdf }}">pdf file</a> and see if you're offered an option for opening the file. If so, you're done! If not...
|
||||||
|
</p>
|
||||||
|
<p class="logo"><img src="/static/images/aldiko_logo.png" alt="Aldiko Logo" />Aldiko</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://www.aldiko.com/">Download the free Aldiko app.</a></li>
|
||||||
|
<li>Download the <a href="{{ formats.pdf }}">pdf file</a>.</li>
|
||||||
|
<li>When the download is complete, tap it in your notifications menu. It will be added to Aldiko, ready to read next time you open the app.</li>
|
||||||
|
</ul>
|
||||||
|
{% else %}{% if formats.html %}
|
||||||
|
<p>
|
||||||
|
Download the <a href="{{ formats.html }}">HTML version</a>.
|
||||||
|
</p>
|
||||||
|
{% else %}{% if formats.text %}
|
||||||
|
<p>
|
||||||
|
Download the <a href="{{ formats.text }}">text version</a>.
|
||||||
|
</p>
|
||||||
|
{% else %}
|
||||||
|
<p>
|
||||||
|
This ebook is only available in .mobi. Your best bet is to install the free Amazon Kindle app from Google Play and then use the Send-to-Kindle option above.
|
||||||
|
</p>
|
||||||
|
{% endif %}{% endif %}{% endif %}{% endif %}
|
||||||
|
<p class="other_instructions_paragraph">
|
||||||
|
Not on Android? Try the instructions for <a class="ios other_instructions">iPhone/iPad</a>, <a class="desktop other_instructions">desktop computers</a>, or <a class="ereader other_instructions">ereaders (Kindle, Nook, Kobo, etc.)</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="accordion-item {% if desktop %}is-active{% endif %}" data-accordion-item style="order: {% if desktop %} 0 {% else %} 4 {% endif %}">
|
||||||
|
<a href="#" class="accordion-title">Desktop</a>
|
||||||
|
<div class="accordion-content" data-tab-content>
|
||||||
|
<h4>Reading on a {% if mac_ibooks %}Mac{% else %}PC, Mac, or Linux{% endif %}</h4>
|
||||||
|
{% if formats.pdf %}
|
||||||
|
<p>
|
||||||
|
You probably already have an app which reads PDFs. Download the <a href="{{ formats.pdf }}">pdf file</a> and open it.
|
||||||
|
</p>
|
||||||
|
{% elif formats.epub %}
|
||||||
|
{% if mac_ibooks %}
|
||||||
|
<p class="logo"><img src="/static/images/ibooks_logo.jpg" alt="iBooks Logo" />iBooks</p>
|
||||||
|
<ul>
|
||||||
|
<li>The iBooks app is pre-installed with your system software.</li>
|
||||||
|
<li>Download the <a href="{{ formats.epub }}">epub file</a>. You should be offered the choice to open it in iBooks</li>
|
||||||
|
</ul>
|
||||||
|
{% endif %}
|
||||||
|
<p class="logo"><img src="/static/images/calibre_logo.png" alt="Calibre Logo" />Calibre</p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://calibre-ebook.com/download">Download the free Calibre app.</a></li>
|
||||||
|
<li>Download the <a href="{{ formats.epub }}">epub file</a>.</li>
|
||||||
|
<li>Open the file in Calibre.</li>
|
||||||
|
<li>You can <a href="http://blog.marvinapp.com/post/53438723356">use a Calibre plugin</a> to manage files on reader apps.
|
||||||
|
</ul>
|
||||||
|
{% elif formats.mobi %}
|
||||||
|
<p class="logo"><img src="/static/images/calibre_logo.png" alt="Calibre Logo" />Calibre</p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://calibre-ebook.com/download">Download the free Calibre app.</a></li>
|
||||||
|
<li>Download the <a href="{{ formats.mobi }}">mobi file</a>.</li>
|
||||||
|
<li>Open the file in Calibre.</li>
|
||||||
|
<li>You can <a href="http://blog.marvinapp.com/post/53438723356">use a Calibre plugin</a> to manage files on reader apps.
|
||||||
|
</ul>
|
||||||
|
{% elif formats.html %}
|
||||||
|
<p>
|
||||||
|
You can read the <a href="{{ formats.html }}">HTML version</a> right here in your browser.
|
||||||
|
</p>
|
||||||
|
{% else %}
|
||||||
|
<p>
|
||||||
|
You can read the <a href="{{ formats.text }}">text version</a> right here in your browser.
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
|
<p class="other_instructions_paragraph">
|
||||||
|
Not on a desktop computer, or want to "side-load" ebooks onto a device or app? Try the instructions for <a class="ios other_instructions">iPhone/iPad</a>, <a class="android other_instructions">Android</a>, or <a class="ereader other_instructions">ereaders (Kindle, Nook, Kobo, etc.)</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="accordion-item {% if desktop %}is-active{% endif %}" data-accordion-item style="order: {% if desktop %} 0 {% else %} 5 {% endif %}">
|
||||||
|
<a href="#" class="accordion-title">E-Readers</a>
|
||||||
|
<div class="accordion-content" data-tab-content>
|
||||||
|
<h4>Ereaders (Kindle, Nook, Kobo, etc.)</h4>
|
||||||
|
|
||||||
|
{% if formats.mobi or formats.pdf or formats.epub %}
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
{% if formats.mobi %}
|
||||||
|
<b>Kindle</b>: download the <a href="{{ formats.mobi }}">mobi file</a> to your computer, or use the <i>Send To Kindle</i> button above.
|
||||||
|
{% elif formats.pdf %}
|
||||||
|
<b>Kindle</b>: download the <a href="{{ formats.pdf }}">pdf file</a> to your computer, or use the <i>Send To Kindle</i> button above.
|
||||||
|
{% else %}
|
||||||
|
<b>Kindle</b>: We're sorry; we don't have a version suitable for Kindle.
|
||||||
|
{% endif %}
|
||||||
|
{% if formats.epub %}
|
||||||
|
<b>All other ereaders</b>: download the <a href="{{ formats.epub }}">epub file</a> to your computer.
|
||||||
|
{% elif formats.pdf %}
|
||||||
|
<b>All other ereaders</b>: download the <a href="{{ formats.pdf }}">pdf file</a> to your computer.
|
||||||
|
{% else %}
|
||||||
|
<b>All other ereaders</b>: We're sorry; we don't have a version suitable for your device.
|
||||||
|
{% endif %}
|
||||||
|
</li>
|
||||||
|
<li>Plug the ereader into your computer with a USB cable.</li>
|
||||||
|
<li>Using the Finder (Mac) or Windows Explorer (Windows), drag and drop the ebook file into the Documents folder on your device. (It may also be called My Documents or My Stuff, depending on your ereader.)</li>
|
||||||
|
<li>Eject your device from the Finder or Explorer and disconnect the USB.</li>
|
||||||
|
<li>You may need to reboot your device to see the new book.</li>
|
||||||
|
</ul>
|
||||||
|
{% else %}
|
||||||
|
<p>
|
||||||
|
We're sorry; we don't have a file format suitable for ereaders.
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<p class="other_instructions_paragraph">
|
||||||
|
Not using an ereader? Try the instructions for <a class="ios other_instructions">iPhone/iPad</a>, <a class="android other_instructions">Android</a>, or <a class="desktop other_instructions">desktop computers</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="accordion-item {% if desktop %}is-active{% endif %}" data-accordion-item style="order: {% if desktop %} 0 {% else %} 6 {% endif %}">
|
||||||
|
<a href="#" class="accordion-title">Dropbox</a>
|
||||||
|
<div class="accordion-content" data-tab-content>
|
||||||
|
<h4>Dropbox</h4>
|
||||||
|
<p class="other_instructions_paragraph"> Dropbox is a good way to share your ebooks between desktop, tablet and smartphone. If you see a dropbox button above, click it to load your books into your dropbox folder. Then load the file into your reader application on your device.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<div class="download_footer card">
|
||||||
|
<h4>Need more help?</h4>
|
||||||
|
<p><a href="{% url 'feedback' %}?page={{request.build_absolute_uri|urlencode:""}}">Ask us a question!</a></p>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<a href="https://www.defectivebydesign.org/drm-free">
|
||||||
|
<img src="/static/images/DRM-free150.png" alt="DefectiveByDesign.org" border="0" align="middle" />
|
||||||
|
</a>
|
||||||
|
<span>
|
||||||
|
All downloads from Unglue.it are DRM free. Hooray!
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br />
|
|
||||||
<h4>Need more help?</h4>
|
|
||||||
<p><a href="{% url 'feedback' %}?page={{request.build_absolute_uri|urlencode:""}}">Ask us a question!</a></p>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<a href="http://www.defectivebydesign.org/drm-free"><img src="/static/images/DRM-free150.png" alt="DefectiveByDesign.org" border="0" align="middle" /></a> All downloads from Unglue.it are DRM free. Hooray!
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript" src="/static/js/dropins.js" ></script>
|
<script type="text/javascript" src="/static/js/dropins.js" ></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -45,7 +45,7 @@ MEDIA_ROOT = ''
|
||||||
MEDIA_URL = '/media/'
|
MEDIA_URL = '/media/'
|
||||||
|
|
||||||
# set once instead of in all the templates
|
# set once instead of in all the templates
|
||||||
JQUERY_HOME = "/static/js/jquery-1.7.1.min.js"
|
JQUERY_HOME = "/static/js/jquery-1.12.4.min.js"
|
||||||
JQUERY_UI_HOME = "/static/js/jquery-ui-1.8.16.custom.min.js"
|
JQUERY_UI_HOME = "/static/js/jquery-ui-1.8.16.custom.min.js"
|
||||||
|
|
||||||
CKEDITOR_UPLOAD_PATH = ''
|
CKEDITOR_UPLOAD_PATH = ''
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -48,8 +48,9 @@ $j(document).ready(function() {
|
||||||
new Foundation.DropdownMenu($j(element), {});
|
new Foundation.DropdownMenu($j(element), {});
|
||||||
});
|
});
|
||||||
|
|
||||||
document.querySelectorAll('[data-responsive-menu]').forEach(element => {
|
document.querySelectorAll('[data-accordion]').forEach(element => {
|
||||||
new Foundation.ResponsiveToggle(element, {});
|
console.log(element);
|
||||||
|
new Foundation.Accordion($j(element), {'data-multi-expand': true});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,85 +1,11 @@
|
||||||
@import "variables.scss";
|
@import "variables.scss";
|
||||||
@import "social_share.scss";
|
@import "social_share.scss";
|
||||||
|
@import 'settings';
|
||||||
|
@import 'foundation';
|
||||||
|
|
||||||
.download_container {
|
|
||||||
width: 75%;
|
|
||||||
margin: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
#lightbox_content a {
|
.download-body {
|
||||||
color: $medium-blue;
|
width: 100%;
|
||||||
}
|
|
||||||
|
|
||||||
#lightbox_content .signuptoday a {
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
#lightbox_content h2, #lightbox_content h3, #lightbox_content h4 {
|
|
||||||
margin-top: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#lightbox_content h2 a {
|
|
||||||
font-size: $font-size-larger*1.25;
|
|
||||||
}
|
|
||||||
|
|
||||||
#lightbox_content .ebook_download {
|
|
||||||
a {
|
|
||||||
margin: auto 5px auto 0;
|
|
||||||
font-size: $font-size-larger;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#lightbox_content .logo {
|
|
||||||
img {
|
|
||||||
@include one-border-radius(7px);
|
|
||||||
height: 50px;
|
|
||||||
width: 50px;
|
|
||||||
margin-right: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
font-size: $font-size-larger;
|
|
||||||
}
|
|
||||||
|
|
||||||
#lightbox_content .one_click, #lightbox_content .ebook_download_container {
|
|
||||||
@include one-border-radius(5px);
|
|
||||||
margin-left: -.25%;
|
|
||||||
padding: 0.5%;
|
|
||||||
padding-bottom: 15px;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
width: 74%;
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#lightbox_content .one_click {
|
|
||||||
border: solid 2px $call-to-action;
|
|
||||||
}
|
|
||||||
|
|
||||||
#lightbox_content .ebook_download_container {
|
|
||||||
border: solid 2px $blue-grey;
|
|
||||||
}
|
|
||||||
|
|
||||||
#lightbox_content a.add-wishlist .on-wishlist, #lightbox_content a.success, a.success:hover {
|
|
||||||
text-decoration: none;
|
|
||||||
color: $text-blue;
|
|
||||||
}
|
|
||||||
|
|
||||||
#lightbox_content a.success, a.success:hover {
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
||||||
|
|
||||||
#lightbox_content ul {
|
|
||||||
padding-left: 50px;
|
|
||||||
|
|
||||||
li {
|
|
||||||
margin-bottom: 4px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.border {
|
.border {
|
||||||
|
@ -130,4 +56,86 @@
|
||||||
width: auto;
|
width: auto;
|
||||||
font-size: $font-size-larger;
|
font-size: $font-size-larger;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
|
||||||
|
.download_option.flexible {
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
padding: 7px 5px;
|
||||||
|
|
||||||
|
i {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.h4 {
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.ebook_download {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex_ul {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.askform {
|
||||||
|
max-width: 400px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.download_footer {
|
||||||
|
padding: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.download_container {
|
||||||
|
margin: 0px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropbox_download_option {
|
||||||
|
min-width: 122px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.download_option > * {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.download-centered {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint (medium) {
|
||||||
|
.download_container {
|
||||||
|
width: 75%;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
#download_content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
.rh_ask, #askblock {
|
||||||
|
padding: 15px;
|
||||||
|
flex: 1 0 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.download-label {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -85,3 +85,10 @@
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Utility classes */
|
||||||
|
|
||||||
|
.inline-block {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
@import "variables.scss";
|
@import "variables.scss";
|
||||||
@import "mixins.scss";
|
@import "mixins.scss";
|
||||||
@import "download.scss";
|
|
||||||
@import "buttons.scss";
|
@import "buttons.scss";
|
||||||
@import "bootstrap-social.scss";
|
@import "bootstrap-social.scss";
|
||||||
@import "font-awesome.min.css";
|
@import "font-awesome.min.css";
|
||||||
|
@ -876,38 +875,10 @@ li.checked {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.one_click {
|
|
||||||
float: left;
|
|
||||||
& > div {
|
|
||||||
float: left;
|
|
||||||
|
|
||||||
#kindle a, .kindle a , #marvin a, .marvin a, #mac_ibooks a, .mac_ibooks a{
|
|
||||||
font-size: $font-size-larger;
|
|
||||||
padding: 9px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
div {
|
|
||||||
margin: 0 10px 0 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ebook_download_container {
|
.ebook_download_container {
|
||||||
clear: left;
|
clear: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.other_instructions_paragraph {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#iOS_app_div, #ios_div {
|
|
||||||
/* JS overrides display: none on instructions if it's enabled
|
|
||||||
if JS isn't enabled, they are not on an iOS device, so no need to
|
|
||||||
clutter up the download instructions with this
|
|
||||||
*/
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.yes_js {
|
.yes_js {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -917,34 +888,11 @@ li.checked {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contrib_amount {
|
|
||||||
padding: 10px;
|
|
||||||
font-size: $font-size-header;
|
|
||||||
text-align: center;
|
|
||||||
|
|
||||||
}
|
|
||||||
#id_preapproval_amount {
|
#id_preapproval_amount {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
font-size: $font-size-larger;
|
font-size: $font-size-larger;
|
||||||
}
|
}
|
||||||
#askblock {
|
|
||||||
float:right;
|
|
||||||
min-width:260px;
|
|
||||||
background: $pale-blue;
|
|
||||||
padding: 10px;
|
|
||||||
width:30%
|
|
||||||
}
|
|
||||||
.rh_ask {
|
|
||||||
font-size: $font-size-larger;
|
|
||||||
width:65%;
|
|
||||||
}
|
|
||||||
#contribsubmit {
|
|
||||||
text-align: center;
|
|
||||||
font-size: $font-size-header;
|
|
||||||
margin: 0 0 10px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
#anoncontribbox {
|
#anoncontribbox {
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue