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-09-21 15:11:36 +00:00
|
|
|
|
<link type="text/css" rel="stylesheet" href="/static/css/merged_layout.css" />
|
2011-09-12 03:44:21 +00:00
|
|
|
|
<link type="text/css" rel="stylesheet" href="/static/css/book-panel.css" />
|
|
|
|
|
<link href="/static/css/book-panel.css" rel="stylesheet" type="text/css" />
|
2011-09-21 15:11:36 +00:00
|
|
|
|
<link type="text/css" rel="stylesheet" href="/static/css/book_list.css" />
|
2011-09-12 03:44:21 +00:00
|
|
|
|
<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">
|
|
|
|
|
<div id="js-header">
|
|
|
|
|
<div class="js-main">
|
|
|
|
|
<div class="js-logo">
|
2011-09-27 09:11:26 +00:00
|
|
|
|
<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-09-21 15:11:36 +00:00
|
|
|
|
<div class="js-topmenu">
|
|
|
|
|
<ul class="menu">
|
2011-09-04 04:21:51 +00:00
|
|
|
|
{% if user.is_authenticated %}
|
2011-09-04 05:29:18 +00:00
|
|
|
|
<li class="first"><span id="welcome">Welcome, {{ user.username }}</span></li>
|
|
|
|
|
<li><a href="{% url auth_logout %}"><span>Sign Out</span></a></li>
|
2011-09-04 04:21:51 +00:00
|
|
|
|
{% else %}
|
|
|
|
|
<li class="first"><a href="{% url auth_login %}"><span>Sign In</span></a></li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
<li><a href="#"><span>Tour</span></a></li>
|
|
|
|
|
<li><a href="#"><span>FAQ’s</span></a></li>
|
|
|
|
|
<li><a href="#"><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 content %}{% endblock %}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
2011-09-13 18:35:06 +00:00
|
|
|
|
<div id="footer">
|
2011-10-03 16:36:04 +00:00
|
|
|
|
<p>
|
|
|
|
|
<a href="{{privacyurl}}"><span>Privacy</span></a>
|
2011-10-03 18:51:31 +00:00
|
|
|
|
<a href="{{rhtoolsurl}}"><span>Rightsholder tools</span></a>
|
2011-10-03 16:36:04 +00:00
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
|
<a href="{{editurl}}"><span>Settings</span></a>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</p>
|
2011-09-13 18:35:06 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
2011-09-04 04:21:51 +00:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
|
|
|
|
|
|