2011-09-04 04:21:51 +00:00
|
|
|
<!DOCTYPE html>
|
2011-09-29 23:27:31 +00:00
|
|
|
{# raw url references raise test errors in tests for django registration; this is a workaround #}
|
|
|
|
{% url privacy as privacyurl %}
|
2011-10-03 16:36:04 +00:00
|
|
|
{% url regluit.frontend.views.edit_user as editurl %}
|
2011-10-03 16:50:34 +00:00
|
|
|
{% url rightsholders as rhtoolsurl %}
|
2011-11-12 03:51:12 +00:00
|
|
|
{% url faq as faqurl %}
|
2011-11-16 19:45:37 +00:00
|
|
|
{% url rh_admin as adminurl %}
|
2011-10-03 16:50:34 +00:00
|
|
|
|
2011-09-04 04:21:51 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
2011-09-26 18:43:41 +00:00
|
|
|
<title>unglue.it {% block title %}{% endblock %}</title>
|
2011-11-06 20:24:16 +00:00
|
|
|
<link type="text/css" rel="stylesheet" href="/static/css/sitewide.css" />
|
2011-09-12 03:44:21 +00:00
|
|
|
<link href="/static/css/book-panel.css" rel="stylesheet" type="text/css" />
|
2011-11-15 18:54:13 +00:00
|
|
|
<link REL="SHORTCUT ICON" HREF="/static/images/favicon.ico">
|
2011-11-18 14:22:21 +00:00
|
|
|
{% block base_js %}
|
2011-11-15 18:54:13 +00:00
|
|
|
<script type="text/javascript" src="/static/js/jquery-1.6.3.min.js"></script>
|
2011-09-12 03:44:21 +00:00
|
|
|
<script type="text/javascript" src="/static/js/book-panel.js"></script>
|
2011-11-18 14:22:21 +00:00
|
|
|
{% endblock %}
|
|
|
|
{% block extra_head %}
|
|
|
|
{% endblock %}
|
2011-09-04 04:21:51 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
2011-09-21 15:11:36 +00:00
|
|
|
<div id="js-page-wrap">
|
2011-10-14 02:19:14 +00:00
|
|
|
<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>
|
2011-09-04 04:21:51 +00:00
|
|
|
</div>
|
2011-10-14 02:32:30 +00:00
|
|
|
{% if not suppress_search_box %}
|
2011-11-07 20:11:52 +00:00
|
|
|
<div class="js-search">
|
2011-10-14 02:32:30 +00:00
|
|
|
<div class="js-search-inner">
|
|
|
|
<form action="{% url search %}" method="get">
|
2011-10-14 14:18:38 +00:00
|
|
|
<input type="text" placeholder="Search for a book..." size="25" class="inputbox" name="q" value="{{ q }}">
|
2011-10-14 02:32:30 +00:00
|
|
|
<input type="button" onclick="this.form.searchword.focus();" class="button" value="Search">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2011-09-21 15:11:36 +00:00
|
|
|
<div class="js-topmenu">
|
2011-10-14 02:19:14 +00:00
|
|
|
<ul class="menu">
|
2011-09-04 04:21:51 +00:00
|
|
|
{% if user.is_authenticated %}
|
2011-10-13 16:23:16 +00:00
|
|
|
<li class="first"><a href="/supporter/{{user.username}}"><span id="welcome">Welcome, {{ user.username }}</span></a></li>
|
2011-09-04 05:29:18 +00:00
|
|
|
<li><a href="{% url auth_logout %}"><span>Sign Out</span></a></li>
|
2011-09-04 04:21:51 +00:00
|
|
|
{% else %}
|
2011-10-20 00:08:17 +00:00
|
|
|
<li class="first"><a href="{% url auth_login %}?next={% firstof request.path '/' %}"><span>Sign In</span></a></li>
|
2011-09-04 04:21:51 +00:00
|
|
|
{% endif %}
|
2011-11-02 19:40:43 +00:00
|
|
|
<li><a href="/stub/tour"><span>Tour</span></a></li>
|
2011-11-12 03:51:12 +00:00
|
|
|
<li><a href="{{faqurl}}"><span>FAQs</span></a></li>
|
2011-11-02 19:40:43 +00:00
|
|
|
<li><a href="/stub/Help"><span>Help</span></a></li>
|
2011-09-04 04:21:51 +00:00
|
|
|
{% if not user.is_authenticated %}
|
|
|
|
<li class="last"><a href="{% url registration_register %}"><span>sign up</span></a></li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2011-10-13 16:23:16 +00:00
|
|
|
{% block topsection %}{% endblock %}
|
2011-09-04 04:21:51 +00:00
|
|
|
{% block content %}{% endblock %}
|
|
|
|
|
2011-09-13 18:35:06 +00:00
|
|
|
<div id="footer">
|
2011-11-16 16:01:45 +00:00
|
|
|
<div class="js-main">
|
2011-11-15 21:14:09 +00:00
|
|
|
<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>
|
2011-11-20 19:22:51 +00:00
|
|
|
{% if user.is_staff %}
|
2011-11-16 19:45:37 +00:00
|
|
|
<li><a href="{{adminurl}}">Unglue.it Administration</a></li>
|
|
|
|
{% endif %}
|
2011-11-15 21:14:09 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="column">
|
|
|
|
<span>Help</span>
|
|
|
|
<ul>
|
2011-11-18 18:27:26 +00:00
|
|
|
<li><a href="{{faqurl}}">FAQ</a></li>
|
2011-11-15 21:14:09 +00:00
|
|
|
<li><a href="/stub/rhfaq">Rights Holder FAQ</a></li>
|
|
|
|
<li><a href="{% url api_help %}">API</a></li>
|
2011-11-16 16:01:45 +00:00
|
|
|
<li><a href="mailto:support@gluejar.com">support@gluejar.com</a>
|
2011-11-15 21:14:09 +00:00
|
|
|
</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>
|
2011-09-13 18:35:06 +00:00
|
|
|
</div>
|
2011-11-15 21:14:09 +00:00
|
|
|
</div>
|
2011-11-16 16:01:45 +00:00
|
|
|
</div>
|
2011-09-13 18:35:06 +00:00
|
|
|
|
2011-09-04 04:21:51 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|
|
|
|
|