Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4a0bab6bef
Fetching contributors…

Cannot retrieve contributors at this time

139 lines (123 sloc) 6.379 kb
{% load utils_tags %}
<!DOCTYPE html>
<html>
<head>
<title>{% block title %}NewsBlur{% endblock %}</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<link rel="shortcut icon" HREF="/media/img/favicon.png">
<link rel="apple-touch-icon" href="/media/img/mobile/apple-touch-icon-precomposed.png" />
<script type="text/javascript" charset="utf-8">
window.NEWSBLUR = {};
NEWSBLUR.Globals = {
'is_authenticated' : {{ user.is_authenticated|yesno:"true,false" }},
'is_anonymous' : {{ user.is_anonymous|yesno:"true,false" }},
'is_premium' : {{ user.profile.is_premium|yesno:"true,false" }},
'is_admin' : {{ user.is_staff|yesno:"true,false" }},
'is_staff' : {{ user.is_staff|yesno:"true,false" }},
'secret_token' : "{{ user.profile.secret_token }}",
'username' : "{{ user.username|safe }}",
{% if user.pk %}'user_id' : {{ user.pk }},{% endif %}
'email' : "{{ user.email|safe }}",
'MEDIA_URL' : "{{ MEDIA_URL }}",
'debug' : {{ debug|yesno:"true,false" }}
};
NEWSBLUR.Flags = {
'start_import_from_google_reader': {{ start_import_from_google_reader|yesno:"true,false" }}
};
NEWSBLUR.Preferences = {
'unread_view' : 0,
'lock_mouse_indicator' : 0,
'feed_pane_size' : {% firstof user_profile.feed_pane_size 240 %},
'hide_getting_started' : {{ user_profile.hide_getting_started|yesno:"true,false" }},
'has_setup_feeds' : {{ user_profile.has_setup_feeds|yesno:"true,false" }},
'has_found_friends' : {{ user_profile.has_found_friends|yesno:"true,false" }},
'has_trained_intelligence': {{ user_profile.has_trained_intelligence|yesno:"true,false" }},
'hide_mobile' : {{ user_profile.hide_mobile|yesno:"true,false" }},
'story_titles_pane_size' : 168,
'story_pane_anchor' : 'south',
'new_window' : 1,
'default_view' : 'page',
'default_order' : 'newest',
'default_read_filter' : 'all',
'hide_read_feeds' : 0,
'show_tooltips' : 1,
'feed_order' : 'ALPHABETICAL',
'ssl' : 0,
'open_feed_action' : 0,
'read_story_delay' : 0,
'hide_story_changes' : 1,
'feed_view_single_story' : 0,
'animations' : true,
'folder_counts' : false,
'send_emails' : {{ user_profile.send_emails|yesno:"true,false" }},
'view_settings' : {},
'collapsed_folders' : [],
'story_styling' : 'sans-serif',
'timezone' : "{{ user_profile.timezone }}",
'story_share_twitter' : true,
'story_share_facebook' : true,
'story_share_readitlater' : false,
'story_share_instapaper' : true,
'story_share_readability' : false,
'story_share_email' : true
};
NEWSBLUR.URLs = {
'google-reader-authorize' : "{% url google-reader-authorize %}",
'opml-upload' : "{% url opml-upload %}",
'opml-export' : "{% url opml-export %}",
'domain' : "{% current_domain %}",
'favicon' : "/rss_feeds/icon/{id}"
};
NEWSBLUR.Models = {};
NEWSBLUR.Collections = {};
NEWSBLUR.Views = {};
NEWSBLUR.app = {};
</script>
{% include_stylesheets "common" %}
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-8371683-2']);
_gaq.push(['_setDomainName', "{% current_domain %}"]);
_gaq.push(['_trackPageview']);
</script>
{% if not debug %}
<script type="text/javascript">
(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>
{% endif %}
</head>
<body class="{% block bodyclass %}{% endblock %}">
{% block header %}{% endblock %}
<div class="NB-splash-info NB-splash-top">
<a href="{% url index %}"><img class="NB-splash-title" src="{{ MEDIA_URL }}/img/logo_newsblur_blur.png" /></a>
</div>
<div class="NB-splash-info NB-splash-bottom">
<ul class="NB-splash-links">
<li class="NB-splash-link NB-splash-link-logo"><a href="{% url index %}"><img src="{{ MEDIA_URL }}/img/logo_newsblur_blur.png" style="height: 32px; width: 183px;" /></a></li>
<li class="NB-splash-link NB-splash-link-about"><a href="{% url about %}">About</a></li>
<li class="NB-splash-link NB-splash-link-faq"><a href="{% url faq %}">FAQ</a></li>
<li class="NB-splash-link NB-splash-link-api"><a href="{% url api %}">API</a></li>
<li class="NB-splash-link NB-splash-link-press"><a href="{% url press %}">Press</a></li>
<li class="NB-splash-link NB-splash-link-github"><a href="http://github.com/samuelclay">GitHub</a></li>
<li class="NB-splash-link NB-splash-link-getsatisfaction"><a href="https://getsatisfaction.com/newsblur">Feedback</a></li>
<li class="NB-splash-link NB-splash-link-blog"><a href="http://blog.newsblur.com">The Blog</a></li>
<li class="NB-splash-link NB-first NB-splash-link-twitter"><a href="http://twitter.com/newsblur">@newsblur</a></li>
</ul>
</div>
{% block content %}{% endblock %}
{% block head_js %}
{% include_javascripts "common" %}
{% endblock head_js %}
<script type="text/javascript" charset="utf-8">
_.extend(NEWSBLUR.Preferences, {% if user_profile.preferences %}{{ user_profile.preferences|safe }}{% else %}{}{% endif %});
_.extend(NEWSBLUR.Preferences['view_settings'], {% if user_profile.view_settings %}{{ user_profile.view_settings|safe }}{% else %}{}{% endif %});
_.extend(NEWSBLUR.Preferences['collapsed_folders'], {% if user_profile.collapsed_folders %}{{ user_profile.collapsed_folders|safe }}{% else %}[]{% endif %});
</script>
{% block extra_head_js %}
{% endblock extra_head_js %}
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.