2016-05-11 14:36:20 +00:00
|
|
|
<!DOCTYPE html>
|
2018-01-30 03:56:18 +00:00
|
|
|
{% load truncatechars %}{% load sass_tags %}
|
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" />
|
2018-04-25 20:13:27 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2015-06-04 19:15:59 +00:00
|
|
|
<meta name="referrer" content="origin" />
|
2011-09-26 18:43:41 +00:00
|
|
|
<title>unglue.it {% block title %}{% endblock %}</title>
|
2018-02-13 18:21:10 +00:00
|
|
|
<link REL="SHORTCUT ICON" HREF="/static/images/favicon.ico">
|
2018-01-05 21:23:56 +00:00
|
|
|
<meta name="twitter:card" content="summary" />
|
|
|
|
<meta name="twitter:site" content="@unglueit" />
|
|
|
|
{% block extra_meta %}{% endblock %}
|
2018-01-30 03:56:18 +00:00
|
|
|
<link type="text/css" rel="stylesheet" href="{% sass_src 'scss/sitewide4.scss' %}" />
|
2011-11-29 23:14:25 +00:00
|
|
|
{% block extra_css %}{% endblock %}
|
2017-12-05 23:46:18 +00:00
|
|
|
|
2017-12-07 21:55:16 +00:00
|
|
|
<link href="{% sass_src 'scss/global.scss' %}" rel="stylesheet" type="text/css" />
|
2018-02-08 04:56:59 +00:00
|
|
|
<link href="{% sass_src 'scss/header.scss' %}" rel="stylesheet" type="text/css" />
|
|
|
|
<link type="text/css" rel="stylesheet" href="/static/css/font-awesome.min.css" />
|
|
|
|
|
2018-02-13 18:21:10 +00:00
|
|
|
<script type="text/javascript" src="{{ jquery_home }}"></script>
|
2013-03-08 19:16:24 +00:00
|
|
|
<script type="text/javascript" src="/static/js/jquery.cookie.js"></script>
|
2018-02-13 18:21:10 +00:00
|
|
|
<script type="text/javascript" src="/static/js/watermark_init.js"></script>
|
|
|
|
<script type="text/javascript" src="/static/js/watermark_change.js"></script>
|
2018-02-15 00:51:17 +00:00
|
|
|
<script defer type="text/javascript" src="/static/js/sitewide1.js"></script>
|
2013-03-08 19:16:24 +00:00
|
|
|
{% block extra_js %}
|
|
|
|
{% endblock %}
|
2012-07-21 20:26:16 +00:00
|
|
|
{% if show_langs %}
|
|
|
|
<script>
|
|
|
|
var $j = jQuery.noConflict();
|
|
|
|
$j(document).ready(function(){
|
|
|
|
$j('.show_langs').click(function(){
|
|
|
|
$j(this).next().toggle();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{% endif %}
|
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">
|
2015-08-18 15:03:49 +00:00
|
|
|
<p><a href="{% url '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">
|
2012-08-27 19:35:29 +00:00
|
|
|
<!-- content will be inserted here by hijax.js -->
|
2012-06-13 19:50:57 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2012-05-21 14:03:56 +00:00
|
|
|
|
2018-02-08 04:56:59 +00:00
|
|
|
<div id="page-wrapper">
|
|
|
|
<div id="header">
|
|
|
|
<div id="header-logo">
|
|
|
|
<a href="{% url 'landing' %}"><img src="/static/images/logo.png" alt="unglue.it" title="unglue.it"/></a>
|
|
|
|
</div>
|
|
|
|
<div id="header-search-bar">
|
|
|
|
<form action="{% url 'search' %}" method="get">
|
2018-02-13 17:25:00 +00:00
|
|
|
<input type="text" placeholder="Search" id="nowatermark" size="25" onfocus="imgfocus()" onblur="imgblur(15)" class="inputbox" name="q" value="{{ q }}"></input>
|
2018-02-08 04:56:59 +00:00
|
|
|
<i class="fa fa-search"></i>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div id="header-login">
|
2016-05-25 15:53:29 +00:00
|
|
|
{% block signin %}
|
2012-10-19 16:01:28 +00:00
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<div class="js-topmenu" id="authenticated">
|
|
|
|
<ul class="menu">
|
|
|
|
<li>
|
2016-06-20 17:08:23 +00:00
|
|
|
<a class="notbutton" href="#"><span id="welcome">Hi, {{ user.username }} <i class="fa fa-chevron-down"> </i></span></a>
|
2012-10-19 16:01:28 +00:00
|
|
|
</li>
|
2014-11-10 18:40:25 +00:00
|
|
|
<li>{% block avatar %}
|
|
|
|
<img class="user-avatar" src="{{ user.profile.avatar_url }}" height=36 width="36" alt="Avatar for {{ user.username }}" title="{{ user.username }}" />{% endblock %}
|
2012-11-20 20:48:41 +00:00
|
|
|
{% if unseen_count %}
|
|
|
|
<a href="/notification"><span id="i_haz_notifications_badge">{{ unseen_count }}</span></a>
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
</ul>
|
2012-10-19 16:01:28 +00:00
|
|
|
<ul id="user_menu">
|
2015-04-28 03:24:02 +00:00
|
|
|
<li><a class="notbutton" href="{% url 'supporter' user %}">My Faves</a></li>
|
2012-10-19 16:19:56 +00:00
|
|
|
<li>
|
2015-04-09 13:21:59 +00:00
|
|
|
<a class="notbutton" href="/notification"><span>Notices</span>
|
2012-10-19 16:19:56 +00:00
|
|
|
{% if unseen_count %}
|
|
|
|
<span id="i_haz_notifications" class="unseen_count">{{ unseen_count }}</span>
|
|
|
|
{% else %}
|
|
|
|
<span id="no_notifications_for_you" class="unseen_count">0</span>
|
|
|
|
{% endif %}
|
|
|
|
</a>
|
|
|
|
</li>
|
2015-04-28 03:24:02 +00:00
|
|
|
<li><a class="notbutton" href="{% url 'supporter' user %}#edit" id="profile_edit"><span>Profile Settings</span></a></li>
|
|
|
|
<li><a class="notbutton" href="{% url 'manage_account' %}"><span>Account & Pledges</span></a></li>
|
2014-04-09 19:11:34 +00:00
|
|
|
{% if user.rights_holder.all %}
|
2016-05-11 14:36:20 +00:00
|
|
|
<li><a class="notbutton" href="{% url 'rightsholders' %}">Rights Holder Tools</a></li>
|
2014-04-09 19:11:34 +00:00
|
|
|
{% endif %}
|
2015-04-28 03:24:02 +00:00
|
|
|
<li><a class="notbutton" href="{% url 'auth_logout' %}"><span>Sign Out</span></a></li>
|
2012-10-19 16:01:28 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{% else %}
|
2018-02-08 04:56:59 +00:00
|
|
|
<a class="notbutton hijax" href="{% url 'superlogin' %}?next={% if request.GET.next %}{{ request.GET.next|urlencode }}{% else %}{{ request.get_full_path|urlencode}}{% endif %}"><span>Log In</span></a>
|
2018-02-27 19:49:11 +00:00
|
|
|
<a class="button success" href="{% url 'registration_register' %}?next={% if request.GET.next %}{{ request.GET.next|urlencode }}{% else %}{{ request.get_full_path|urlencode}}{% endif %}">Sign Up</a>
|
2012-10-19 16:01:28 +00:00
|
|
|
{% endif %}
|
2016-05-25 15:53:29 +00:00
|
|
|
{% endblock %}
|
2011-09-04 04:21:51 +00:00
|
|
|
</div>
|
2018-02-08 04:56:59 +00:00
|
|
|
<div id="header-menu">
|
2018-02-15 00:51:17 +00:00
|
|
|
<label for="menu-drilldown-box" toggle-header-menu>
|
|
|
|
<i class="fa fa-bars"></i>
|
|
|
|
</label>
|
2018-02-20 19:46:56 +00:00
|
|
|
<div id="top-menu" style="visibility: hidden;">
|
2018-02-15 00:51:17 +00:00
|
|
|
<ul class="vertical menu drilldown" data-drilldown >
|
|
|
|
<label for="menu-drilldown-box">
|
|
|
|
<li toggle-header-menu><a href="#">Back</a></li>
|
|
|
|
</label>
|
2018-02-20 18:14:14 +00:00
|
|
|
<li>
|
|
|
|
<a href="#">Account</a>
|
|
|
|
<ul class="menu vertical nested">
|
|
|
|
<li><a href="#">Pledges</a></li>
|
|
|
|
<li><a href="#">Notices</a></li>
|
|
|
|
<li><a href="#">Profile Settings</a></li>
|
|
|
|
<li><a href="#">Sign out</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#">About Unglue.it</a>
|
|
|
|
<ul class="menu vertical nested">
|
2018-02-20 19:52:37 +00:00
|
|
|
<li><a href="{% url 'about' %}">Concept</a></li>
|
2018-02-20 18:14:14 +00:00
|
|
|
<li><a href="https://blog.unglue.it/">Blog</a></li>
|
2018-02-20 19:52:37 +00:00
|
|
|
<li><a href="{% url 'press' %}">Press</a></li>
|
2018-02-20 18:14:14 +00:00
|
|
|
<li><a href="http://eepurl.com/fKLfI">Newsletter</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2018-02-20 19:52:37 +00:00
|
|
|
<li><a href="{% url 'faq' %}">FAQ</a></li>
|
|
|
|
<li><a href="{% url 'feedback' %}?page={{request.build_absolute_uri|urlencode:""}}">Help</a></li>
|
2018-02-13 17:25:00 +00:00
|
|
|
</ul>
|
2018-02-15 00:51:17 +00:00
|
|
|
</div>
|
2018-02-08 04:56:59 +00:00
|
|
|
</div>
|
2011-09-04 04:21:51 +00:00
|
|
|
</div>
|
|
|
|
|
2012-09-18 18:16:06 +00:00
|
|
|
{% block news %}
|
|
|
|
{% endblock %}
|
|
|
|
|
2018-02-08 04:56:59 +00:00
|
|
|
{% block topsection %}{% endblock %}
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
|
2012-09-18 18:16:06 +00:00
|
|
|
{% block footer %}
|
2018-02-13 16:34:32 +00:00
|
|
|
<div class="footer hide utilityheaders">
|
|
|
|
<ul>
|
|
|
|
<li><a href="{% url 'about' %}">Team</a></li>
|
|
|
|
<li><a href="https://blog.unglue.it">Blog</a></li>
|
|
|
|
<li><a href="{% url 'terms' %}">Terms of Use</a></li>
|
|
|
|
<li><a href="{% url 'faq' %}">General FAQ</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="footer utilityheaders">
|
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>
|
2016-05-11 14:36:20 +00:00
|
|
|
<li><a href="{% url 'about_specific' 'main' %}" class="hijax">Concept</a></li>
|
2016-04-12 18:32:22 +00:00
|
|
|
<li><a href="https://blog.unglue.it">Blog</a></li>
|
2016-05-11 14:36:20 +00:00
|
|
|
<li><a href="{% url 'press' %}">Press</a></li>
|
2012-10-19 16:01:28 +00:00
|
|
|
<li><a href="http://eepurl.com/fKLfI">Newsletter</a></li>
|
2012-03-08 02:47:40 +00:00
|
|
|
</ul>
|
2011-11-15 21:14:09 +00:00
|
|
|
</div>
|
2018-02-13 16:34:32 +00:00
|
|
|
<div class="column show-for-medium">
|
2012-03-08 02:47:40 +00:00
|
|
|
<span>Your account</span>
|
|
|
|
<ul>
|
2012-10-19 16:01:28 +00:00
|
|
|
{% if user.is_authenticated %}
|
2016-05-11 14:36:20 +00:00
|
|
|
<li><a href="{% url 'manage_account' %}">Account Settings</a></li>
|
2017-11-07 15:43:40 +00:00
|
|
|
<li><a href="{% url 'new_edition' '' '' %}">Add Books to Unglue.it</a></li>
|
2012-10-19 16:01:28 +00:00
|
|
|
{% endif %}
|
2017-11-07 15:43:40 +00:00
|
|
|
<li><a href="{% url 'rightsholders' %}">For Rights Holders</a></li>
|
2016-05-11 14:36:20 +00:00
|
|
|
<li><a href="{% url 'privacy' %}">Privacy</a></li>
|
|
|
|
<li><a href="{% url 'terms' %}">Terms of Use</a></li>
|
2013-11-28 03:14:52 +00:00
|
|
|
{% for library in user.libraries.all %}
|
2015-04-28 03:24:02 +00:00
|
|
|
<li><a href="{% url 'library_admin' library.id %}">{{ library }} Administration</a></li>
|
2013-11-28 03:14:52 +00:00
|
|
|
{% endfor %}
|
2012-10-19 16:01:28 +00:00
|
|
|
{% if user.is_staff %}
|
2016-05-11 14:36:20 +00:00
|
|
|
<li><a href="{% url 'rh_admin' %}">Unglue.it Administration</a></li>
|
2012-10-19 16:01:28 +00:00
|
|
|
{% endif %}
|
2012-03-08 02:47:40 +00:00
|
|
|
</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>
|
2016-05-11 14:36:20 +00:00
|
|
|
<li><a href="{% url 'faq' %}">General FAQ</a></li>
|
2015-04-28 03:24:02 +00:00
|
|
|
<li><a href="{% url 'faq_location' 'rightsholders' %}">Author/Publisher FAQ</a></li>
|
|
|
|
<li><a href="{% url 'api_help' %}">API</a></li>
|
2015-08-18 15:03:49 +00:00
|
|
|
<li><a href="{% url 'feedback' %}?page={{request.build_absolute_uri|urlencode:""}}">Support</a>
|
2017-11-18 21:35:19 +00:00
|
|
|
<li><a href="{% url 'libraries' %}">Unglue.it for Libraries</a>
|
2012-03-08 02:47:40 +00:00
|
|
|
</ul>
|
2011-11-15 21:14:09 +00:00
|
|
|
</div>
|
2018-02-13 16:34:32 +00:00
|
|
|
<div class="column show-for-medium">
|
2012-03-08 02:47:40 +00:00
|
|
|
<span>Contact</span>
|
|
|
|
<ul>
|
2017-11-18 21:34:56 +00:00
|
|
|
<li> <a href="mailto:info@ebookfoundation.org"><i class="fa fa-envelope fa-2x"></i></a> <a href="https://twitter.com/unglueit"><i class="fa fa-twitter fa-2x"></i></a> <a href="https://facebook/com/unglueit"><i class="fa fa-facebook fa-2x"></i></a></li>
|
2012-03-08 02:47:40 +00:00
|
|
|
</ul>
|
2011-11-15 21:14:09 +00:00
|
|
|
</div>
|
2012-03-08 02:47:40 +00:00
|
|
|
</div>
|
2012-09-18 18:16:06 +00:00
|
|
|
{% endblock %}
|
2018-02-08 04:56:59 +00:00
|
|
|
</div>
|
|
|
|
|
2011-11-29 23:14:25 +00:00
|
|
|
{% block counter %}
|
2012-10-23 14:24:16 +00:00
|
|
|
{% if show_google_analytics %}
|
|
|
|
<script type="text/javascript">
|
2018-02-08 04:56:59 +00:00
|
|
|
|
2012-10-23 14:24:16 +00:00
|
|
|
var _gaq = _gaq || [];
|
|
|
|
_gaq.push(['_setAccount', 'UA-28369982-1']);
|
|
|
|
_gaq.push(['_trackPageview']);
|
2018-02-08 04:56:59 +00:00
|
|
|
|
2012-10-23 14:24:16 +00:00
|
|
|
(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);
|
|
|
|
})();
|
2018-02-08 04:56:59 +00:00
|
|
|
|
2012-10-23 14:24:16 +00:00
|
|
|
</script>
|
|
|
|
{% endif %}
|
2012-09-18 18:16:06 +00:00
|
|
|
{% endblock %}
|
2018-04-24 23:42:52 +00:00
|
|
|
<script type="text/javascript" src="/static/scss/foundation/dist/js/foundation.js"></script>
|
2011-09-04 04:21:51 +00:00
|
|
|
</body>
|
|
|
|
</html>
|