92 lines
2.9 KiB
HTML
92 lines
2.9 KiB
HTML
{% extends 'basedocumentation.html' %}
|
|
|
|
|
|
{% block title %} MARC records{% endblock %}
|
|
|
|
{% block extra_extra_head %}
|
|
<style type="text/css">
|
|
.marc {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.marc div a.fakeinput {
|
|
clear: both;
|
|
}
|
|
|
|
.marc div a.title {
|
|
vertical-align: middle;
|
|
padding-left: 5px;
|
|
}
|
|
|
|
ul.local li {
|
|
list-style-type: disc;
|
|
list-style-position: inside;
|
|
}
|
|
|
|
/* need to do a hide/show instead of a .replaceWith() on the submit button
|
|
because the image takes long enough to load that it's preempted by the
|
|
redirect for quick downloads, and users never see it
|
|
*/
|
|
#unsubmit {
|
|
display: none;
|
|
}
|
|
|
|
#unsubmit img {
|
|
vertical-align: middle;
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block topsection %}
|
|
{% endblock %}
|
|
|
|
{% block doccontent %}
|
|
<h2>MARC records at Unglue.it</h2>
|
|
|
|
<p>Go ahead: add unglued ebooks to your library catalog!</p>
|
|
|
|
{% if messages %}
|
|
<ul class="errors">
|
|
{% for message in messages %}
|
|
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
<p>You can download all our full records:</p>
|
|
<div class="marc">
|
|
<form method="POST" id="record_form" action="{% url 'marc_all' %}">
|
|
{% include 'marc_form.html' %}
|
|
<input type="submit" name="submit" value="Download All Records" id="submit">
|
|
<span id="unsubmit"><img src="/static/images/loading.gif" alt="spinning wheel" /> Fetching record(s)...</span>
|
|
</form>
|
|
<br />
|
|
{% if request.user.is_authenticated %}
|
|
<p>...or you can get records (both stub and full) for ebooks on your fave list.</p>
|
|
<div class="marc">
|
|
<form method="POST" id="record_form" action="{% url 'user_marc' request.user.username %}">
|
|
{% include 'marc_form.html' %}
|
|
<input type="submit" name="submit" value="Download {{request.user.username}}'s Records" id="submit">
|
|
<span id="unsubmit"><img src="/static/images/loading.gif" alt="spinning wheel" /> Fetching record(s)...</span>
|
|
</form>
|
|
<br /><hr>
|
|
{% endif %}
|
|
<p>The 856 link options are:</p>
|
|
<ul class="local">
|
|
<li> Download page link. MARC records link through Unglue.it download page ( library user authentication, context sensitive help for getting files onto user's device)</li>
|
|
<li> Links to each file type if available. MARC records link directly to files ( less help, not available for "Buy-to-unglue" titles) </li>
|
|
</ul>
|
|
<p>"Stub" records are automatically generated using information in our database.</p>
|
|
</div>
|
|
|
|
|
|
{% if request.user.is_authenticated %}
|
|
<div>
|
|
{% if request.user.libpref %}
|
|
<p>You have enabled librarian tools. You can <a href="{% url 'marc_config' %}">change your librarian status here</a>.</p>
|
|
{% else %}
|
|
<p>You have not enabled librarian tools. You can <a href="{% url 'marc_config' %}">change your librarian status here</a>.</p>
|
|
{% endif %}
|
|
<p>If you enable librarian tools, you can also <a href="{% url 'upload_marc' %}">add new records</a>.</p>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %} |