105 lines
3.8 KiB
HTML
105 lines
3.8 KiB
HTML
<!DOCTYPE html>
|
|
{# raw url references raise test errors in tests for django registration; this is a workaround #}
|
|
{% url privacy as privacyurl %}
|
|
{% url regluit.frontend.views.edit_user as editurl %}
|
|
{% url rightsholders as rhtoolsurl %}
|
|
{% url faq as faqurl %}
|
|
|
|
<html>
|
|
<head>
|
|
<title>unglue.it {% block title %}{% endblock %}</title>
|
|
<link type="text/css" rel="stylesheet" href="/static/css/sitewide.css" />
|
|
<link href="/static/css/book-panel.css" rel="stylesheet" type="text/css" />
|
|
<link REL="SHORTCUT ICON" HREF="/static/images/favicon.ico">
|
|
<script type="text/javascript" src="/static/js/jquery-1.6.3.min.js"></script>
|
|
<script type="text/javascript" src="/static/js/book-panel.js"></script>
|
|
{% block extra_head %}{% endblock %}
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="js-page-wrap">
|
|
<div id="js-header">
|
|
<div class="js-main">
|
|
<div class="js-logo">
|
|
<a href="/"><img src="/static/images/logo.png" alt="unglue.it" title="unglue.it" /></a>
|
|
</div>
|
|
{% if not suppress_search_box %}
|
|
<div class="js-search">
|
|
<div class="js-search-inner">
|
|
<form action="{% url search %}" method="get">
|
|
<input type="text" placeholder="Search for a book..." size="25" class="inputbox" name="q" value="{{ q }}">
|
|
<input type="button" onclick="this.form.searchword.focus();" class="button" value="Search">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
<div class="js-topmenu">
|
|
<ul class="menu">
|
|
{% if user.is_authenticated %}
|
|
<li class="first"><a href="/supporter/{{user.username}}"><span id="welcome">Welcome, {{ user.username }}</span></a></li>
|
|
<li><a href="{% url auth_logout %}"><span>Sign Out</span></a></li>
|
|
{% else %}
|
|
<li class="first"><a href="{% url auth_login %}?next={% firstof request.path '/' %}"><span>Sign In</span></a></li>
|
|
{% endif %}
|
|
<li><a href="/stub/tour"><span>Tour</span></a></li>
|
|
<li><a href="{{faqurl}}"><span>FAQs</span></a></li>
|
|
<li><a href="/stub/Help"><span>Help</span></a></li>
|
|
{% if not user.is_authenticated %}
|
|
<li class="last"><a href="{% url registration_register %}"><span>sign up</span></a></li>
|
|
{% endif %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% block topsection %}{% endblock %}
|
|
{% block content %}{% endblock %}
|
|
|
|
<div id="footer">
|
|
<div class="column">
|
|
<span>About unglue.it</span>
|
|
<ul>
|
|
<li><a href="/stub/about">About</a></li>
|
|
<li><a href="http://www.gluejar.com/Blog">Blog</a></li>
|
|
<li><a href="/stub/press">Press</a></li>
|
|
<li><a href="/stub/newsletter">Newsletter</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="column">
|
|
<span>Your account</span>
|
|
<ul>
|
|
{% if user.is_authenticated %}
|
|
<li><a href="{{editurl}}">Settings</a></li>
|
|
{% endif %}
|
|
<li><a href="{{rhtoolsurl}}">Rights Holder Tools</a></li>
|
|
<li><a href="{{privacyurl}}">Privacy</a></li>
|
|
<li><a href="/stub/terms_and_conditions">Terms and Conditions</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="column">
|
|
<span>Help</span>
|
|
<ul>
|
|
<li><a href="/stub/faq">FAQ</a></li>
|
|
<li><a href="/stub/rhfaq">Rights Holder FAQ</a></li>
|
|
<li><a href="{% url api_help %}">API</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="column">
|
|
<span>Contact</span>
|
|
<ul>
|
|
<li>General inquiries</li>
|
|
<li><a href="mailto:aqf@gluejar.com">aqf@gluejar.com</a></li>
|
|
<li>Rights Holders</li>
|
|
<li><a href="mailto:rights@gluejar.com">rights@gluejar.com</a></li>
|
|
</ul>
|
|
</div>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|
|
|
|
|