NewsBlur-viq/templates/mobile/mobile_workspace.xhtml

76 lines
No EOL
2.3 KiB
HTML

{% load compressed 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">
<script type="text/javascript" charset="utf-8">
var 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" }},
'secret_token' : "{{ user.profile.secret_token }}",
'username' : "{{ user.username|safe }}",
'email' : "{{ user.email|safe }}",
'google_favicon_url' : 'http://www.google.com/s2/favicons?domain_url=',
'MEDIA_URL' : "{{ MEDIA_URL }}"
};
NEWSBLUR.Flags = {
'start_import_from_google_reader': {{ start_import_from_google_reader|yesno:"true,false" }}
};
NEWSBLUR.URLs = {
'domain' : "{% current_domain %}"
};
</script>
{% compressed_css 'mobile' %}
{% block head_js %}
{% compressed_js 'mobile' %}
{% endblock head_js %}
{% block extra_head_js %}
{% endblock extra_head_js %}
{% if not debug %}
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-8371683-2']);
_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>
{% endif %}
</head>
<body>
<div data-role="page" id="NB-page-feeds">
<div data-role="header">
<h1>{{ request.user.username }}</h1>
</div>
<div data-role="content">
<div id="NB-feed-list"></div>
</div>
<div data-role="footer"> 1
<div class="NB-footer-site-count ui-li-count">12 sites</div>
</div>
</div>
<script>
$(document).bind('ready', function() {
NEWSBLUR.mobile_reader = new NEWSBLUR.MobileReader();
});
</script>
</body>
</html>