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-12-16 22:19:59 +00:00
|
|
|
{% url terms as termsurl %}
|
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 %}
|
2012-01-15 18:19:35 +00:00
|
|
|
{% url about as abouturl %}
|
|
|
|
{% url press as pressurl %}
|
2011-11-16 19:45:37 +00:00
|
|
|
{% url rh_admin as adminurl %}
|
2012-05-24 19:29:45 +00:00
|
|
|
{% url landing as landingurl %}
|
2012-05-11 18:13:09 +00:00
|
|
|
{% url new_edition '' '' as editionurl %}
|
2011-12-29 17:50:09 +00:00
|
|
|
{% load truncatechars %}
|
2011-10-03 16:50:34 +00:00
|
|
|
|
2011-09-04 04:21:51 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
2012-03-09 20:04:10 +00:00
|
|
|
<meta charset="utf-8" />
|
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-11-15 18:54:13 +00:00
|
|
|
<link REL="SHORTCUT ICON" HREF="/static/images/favicon.ico">
|
2011-11-29 23:14:25 +00:00
|
|
|
{% block extra_css %}{% endblock %}
|
2011-11-18 14:22:21 +00:00
|
|
|
{% block base_js %}
|
2012-03-08 02:47:40 +00:00
|
|
|
<script type="text/javascript" src="{{ jquery_home }}"></script>
|
2012-01-13 17:34:42 +00:00
|
|
|
{% endblock %}
|
2012-05-21 17:39:19 +00:00
|
|
|
<script type="text/javascript" src="/static/js/expand_about.js"></script>
|
2012-01-13 17:34:42 +00:00
|
|
|
{% block extra_js %}
|
2011-11-18 14:22:21 +00:00
|
|
|
{% endblock %}
|
2011-12-12 19:10:49 +00:00
|
|
|
<script type="text/javascript" src="/static/js/watermark_init.js"></script>
|
|
|
|
<script type="text/javascript" src="/static/js/watermark_change.js"></script>
|
2011-11-18 14:22:21 +00:00
|
|
|
{% block extra_head %}
|
|
|
|
{% endblock %}
|
2011-09-04 04:21:51 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
2012-01-09 20:53:09 +00:00
|
|
|
<div id="feedback">
|
2012-01-15 17:04:43 +00:00
|
|
|
<p><a href="/feedback/?page={{request.build_absolute_uri|urlencode:""}}" class="nounderline">Feedback</a></p>
|
2012-01-09 20:53:09 +00:00
|
|
|
</div>
|
2012-05-21 14:03:56 +00:00
|
|
|
|
2012-06-13 19:50:57 +00:00
|
|
|
<div id="about_expandable">
|
|
|
|
<div id="about_collapser" class="collapser_x">X</div>
|
|
|
|
<div id="lightbox">
|
|
|
|
<!-- content will be inserted here by expand_about.js -->
|
|
|
|
</div>
|
|
|
|
<div class="right_border"><a href="{{ faqurl }}">Read the FAQ</a></div>
|
|
|
|
<div class="right_border"><a href="{% url faq_location 'rightsholders' %}">Read the FAQ for authors and publishers</a></div>
|
|
|
|
<div class="right_border"><a href="{% url press %}">Our press coverage</a></div>
|
|
|
|
{% if not user.is_authenticated %}
|
|
|
|
<div class="signuptoday"><a href="{% url registration_register %}">Sign up today</a></div>
|
|
|
|
{% else %}
|
|
|
|
<div class="signuptoday"><a href="{% url campaign_list 'ending' %}">Our campaigns</a></div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2012-05-21 14:03:56 +00:00
|
|
|
|
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">
|
2012-05-24 19:29:45 +00:00
|
|
|
<a href="{{ landingurl }}"><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-12-13 21:17:51 +00:00
|
|
|
<div class="inputalign">
|
2011-12-12 21:09:18 +00:00
|
|
|
<input type="text" id="watermark" size="25" onfocus="imgfocus()" onblur="imgblur(15)" class="inputbox" name="q" value="{{ q }}">
|
2011-12-13 21:17:51 +00:00
|
|
|
<input type="submit" class="button">
|
|
|
|
</div>
|
2011-10-14 02:32:30 +00:00
|
|
|
</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 %}
|
2012-04-13 19:29:46 +00:00
|
|
|
<li class="first">
|
2012-07-06 16:25:20 +00:00
|
|
|
<a href="{% url supporter supporter_username=user.username %}"><span id="welcome">Welcome, {{ user.username|truncatechars:20 }}</span></a>
|
2012-07-05 14:30:26 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2012-04-13 19:29:46 +00:00
|
|
|
{% if unseen_count %}
|
2012-04-17 20:28:10 +00:00
|
|
|
<a href="/notification" id="unseen_count"><div id="i_haz_notifications">{{ unseen_count }}</div></a>
|
2012-04-13 19:29:46 +00:00
|
|
|
{% else %}
|
2012-04-17 20:28:10 +00:00
|
|
|
<a href="/notification" id="unseen_count"><div id="no_notifications_for_you">0</div></a>
|
2012-04-13 19:29:46 +00:00
|
|
|
{% endif %}
|
|
|
|
</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-12-29 05:11:28 +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 %}
|
2012-07-17 16:17:43 +00:00
|
|
|
<li class="about_expander" id="about_main"><a href="#"><span>About</span></a></li>
|
2012-05-24 19:33:34 +00:00
|
|
|
<li><a href="{{ landingurl }}"><span>Home</span></a></li>
|
2011-09-04 04:21:51 +00:00
|
|
|
{% if not user.is_authenticated %}
|
2011-12-28 18:51:24 +00:00
|
|
|
<li class="last" id="expander"><a href="{% url registration_register %}"><span>sign up</span></a></li>
|
2011-09-04 04:21:51 +00:00
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2012-05-17 01:43:45 +00:00
|
|
|
<div class="launch_top">
|
2012-07-12 04:39:21 +00:00
|
|
|
The <a href="/work/81724/">first unglued book</a> is on the way! Please consider supporting our <a href="/campaigns/ending#2">four active campaigns</a>.
|
2012-05-17 01:43:45 +00:00
|
|
|
</div>
|
2011-10-13 16:23:16 +00:00
|
|
|
{% block topsection %}{% endblock %}
|
2011-09-04 04:21:51 +00:00
|
|
|
{% block content %}{% endblock %}
|
2012-01-10 21:27:31 +00:00
|
|
|
</div>
|
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">
|
2012-05-08 20:15:23 +00:00
|
|
|
<span>About Unglue.it</span>
|
2012-03-08 02:47:40 +00:00
|
|
|
<ul>
|
2012-05-21 14:03:56 +00:00
|
|
|
<li><a href="{{ abouturl }}">Team</a></li>
|
2012-04-26 19:37:41 +00:00
|
|
|
<li><a href="http://blog.unglue.it">Blog</a></li>
|
2012-03-08 02:47:40 +00:00
|
|
|
<li><a href="{{ pressurl }}">Press</a></li>
|
|
|
|
<li><a href="http://eepurl.com/fKLfI">Newsletter</a></li>
|
|
|
|
</ul>
|
2011-11-15 21:14:09 +00:00
|
|
|
</div>
|
|
|
|
<div class="column">
|
2012-03-08 02:47:40 +00:00
|
|
|
<span>Your account</span>
|
|
|
|
<ul>
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<li><a href="{{editurl}}">Account Settings</a></li>
|
|
|
|
{% endif %}
|
|
|
|
<li><a href="{{rhtoolsurl}}">Rights Holder Tools</a></li>
|
|
|
|
<li><a href="{{privacyurl}}">Privacy</a></li>
|
2012-04-07 19:12:25 +00:00
|
|
|
<li><a href="{{termsurl}}">Terms of Use</a></li>
|
2012-03-08 02:47:40 +00:00
|
|
|
{% if user.is_staff %}
|
|
|
|
<li><a href="{{adminurl}}">Unglue.it Administration</a></li>
|
2012-05-11 18:13:09 +00:00
|
|
|
<li><a href="{{editionurl}}">Create New Editions</a></li>
|
2012-03-08 02:47:40 +00:00
|
|
|
{% endif %}
|
|
|
|
</ul>
|
2011-11-15 21:14:09 +00:00
|
|
|
</div>
|
|
|
|
<div class="column">
|
2012-03-08 02:47:40 +00:00
|
|
|
<span>Help</span>
|
|
|
|
<ul>
|
|
|
|
<li><a href="{{faqurl}}">General FAQ</a></li>
|
|
|
|
<li><a href="/faq/rightsholders/">Rights Holder FAQ</a></li>
|
|
|
|
<li><a href="{% url api_help %}">API</a></li>
|
|
|
|
<li><a href="mailto:support@gluejar.com">support@gluejar.com</a>
|
|
|
|
</ul>
|
2011-11-15 21:14:09 +00:00
|
|
|
</div>
|
|
|
|
<div class="column">
|
2012-03-08 02:47:40 +00:00
|
|
|
<span>Contact</span>
|
|
|
|
<ul>
|
|
|
|
<li>General inquiries</li>
|
|
|
|
<li><a href="mailto:faq@gluejar.com">faq@gluejar.com</a></li>
|
|
|
|
<li>Rights Holders</li>
|
|
|
|
<li><a href="mailto:rights@gluejar.com">rights@gluejar.com</a></li>
|
|
|
|
</ul>
|
2011-11-15 21:14:09 +00:00
|
|
|
</div>
|
2012-03-08 02:47:40 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2011-11-29 23:14:25 +00:00
|
|
|
{% block counter %}
|
|
|
|
<script type="text/javascript">
|
2012-01-16 17:16:45 +00:00
|
|
|
|
|
|
|
var _gaq = _gaq || [];
|
|
|
|
_gaq.push(['_setAccount', 'UA-28369982-1']);
|
|
|
|
_gaq.push(['_trackPageview']);
|
|
|
|
|
|
|
|
(function() {
|
|
|
|
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
|
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
|
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
|
|
})();
|
|
|
|
|
|
|
|
</script>{% endblock %}
|
2011-09-04 04:21:51 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|
|
|
|
|