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-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-10-04 20:18:59 +00:00
|
|
|
<link type="text/css" rel="stylesheet" href="/static/css/layout.css" />
|
2011-09-12 03:44:21 +00:00
|
|
|
<link href="/static/css/book-panel.css" rel="stylesheet" type="text/css" />
|
|
|
|
<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>
|
2011-09-29 06:23:50 +00:00
|
|
|
{% 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 %}
|
|
|
|
<div class="js-search" style="float: left; margin-left: 50px;">
|
|
|
|
<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>
|
|
|
|
<li><a href="/stub/FAQ"><span>FAQs</span></a></li>
|
|
|
|
<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 %}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2011-09-13 18:35:06 +00:00
|
|
|
<div id="footer">
|
2011-10-14 02:19:14 +00:00
|
|
|
<p>
|
|
|
|
<a href="{{privacyurl}}"><span>Privacy</span></a>
|
|
|
|
<a href="{{rhtoolsurl}}"><span>Rightsholder tools</span></a>
|
2011-10-20 00:08:17 +00:00
|
|
|
<a href="{% url api_help %}"<span>API</span></a>
|
2011-10-14 02:19:14 +00:00
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<a href="{{editurl}}"><span>Settings</span></a>
|
|
|
|
{% endif %}
|
2011-11-02 19:40:43 +00:00
|
|
|
<a href="/stub/terms_and_conditions"<span>Terms and Conditions</span></a>
|
|
|
|
<a href="/stub/about"><span>About</span></a>
|
|
|
|
<a href="/stub/contact"><span>Contact</span></a>
|
|
|
|
<a href="http://www.gluejar.com/Blog"><span>Blog</span>
|
2011-10-03 16:36:04 +00:00
|
|
|
</p>
|
2011-09-13 18:35:06 +00:00
|
|
|
</div>
|
|
|
|
|
2011-09-04 04:21:51 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|
|
|
|
|