Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 128 lines (113 sloc) 5.701 kB
d3804e3 @samuelclay JS is now complete. Need to fix css embeds.
authored
1 {% load utils_tags %}
b6b8bc6 @samuelclay HTML5 doctype.
authored
2 <!DOCTYPE html>
48ba40e @samuelclay Initial
authored
3 <html>
4 <head>
1e81010 @samuelclay Big new feature: locking the mouse indicator keyline. This comes with…
authored
5 <title>{% block title %}NewsBlur{% endblock %}</title>
6 <meta http-equiv="Content-type" content="text/html; charset=utf-8">
7 <link rel="shortcut icon" HREF="/media/img/favicon.png">
8
9 <script type="text/javascript" charset="utf-8">
10 var NEWSBLUR = {};
11 NEWSBLUR.Globals = {
4ab3904 @samuelclay Adding paging on recommendations. Also moved out of profile preferen…
authored
12 'is_authenticated' : {{ user.is_authenticated|yesno:"true,false" }},
13 'is_anonymous' : {{ user.is_anonymous|yesno:"true,false" }},
14 'is_premium' : {{ user.profile.is_premium|yesno:"true,false" }},
957dc7c @samuelclay Fixing up jammit branch for launch by adding socket.io, bookmarklet, …
authored
15 'is_admin' : {{ user.is_staff|yesno:"true,false" }},
ced49a4 @samuelclay Globals.is_staff on user, not profile. Make the stats referesh every …
authored
16 'is_staff' : {{ user.is_staff|yesno:"true,false" }},
4ab3904 @samuelclay Adding paging on recommendations. Also moved out of profile preferen…
authored
17 'secret_token' : "{{ user.profile.secret_token }}",
18 'username' : "{{ user.username|safe }}",
03d74d5 @samuelclay Cleaning up the send email dialog (as well as the add site dialog). E…
authored
19 'email' : "{{ user.email|safe }}",
4ab3904 @samuelclay Adding paging on recommendations. Also moved out of profile preferen…
authored
20 'google_favicon_url' : 'http://www.google.com/s2/favicons?domain_url=',
2ab37d2 @samuelclay Adding MongoDB logging for debug.
authored
21 'MEDIA_URL' : "{{ MEDIA_URL }}",
22 'debug' : {{ debug|yesno:"true,false" }}
1e81010 @samuelclay Big new feature: locking the mouse indicator keyline. This comes with…
authored
23 };
db3bdbc @samuelclay First half of the new Google Reader importer progress bar.
authored
24 NEWSBLUR.Flags = {
6dcb650 @samuelclay Fixing broken Google Reader import with a progress bar that was drawi…
authored
25 'start_import_from_google_reader': {{ start_import_from_google_reader|yesno:"true,false" }}
db3bdbc @samuelclay First half of the new Google Reader importer progress bar.
authored
26 };
1e81010 @samuelclay Big new feature: locking the mouse indicator keyline. This comes with…
authored
27 NEWSBLUR.Preferences = {
4ab3904 @samuelclay Adding paging on recommendations. Also moved out of profile preferen…
authored
28 'unread_view' : 0,
29 'lock_mouse_indicator' : 0,
ff50d85 @samuelclay Updating a bunch of defaults to make NewsBlur installable on anybody'…
authored
30 'feed_pane_size' : {% firstof user_profile.feed_pane_size 240 %},
5adf024 @samuelclay Finishing all boilerplate to the tutorial. This includes the preferen…
authored
31 'tutorial_finished' : {{ user_profile.tutorial_finished|yesno:"true,false" }},
d4dddf4 @samuelclay Adding iphone and android apps, along with necessary migration for hi…
authored
32 'hide_mobile' : {{ user_profile.hide_mobile|yesno:"true,false" }},
4ab3904 @samuelclay Adding paging on recommendations. Also moved out of profile preferen…
authored
33 'story_titles_pane_size' : 168,
3a52698 @samuelclay Preferences for story pane position.
authored
34 'story_pane_anchor' : 'south',
4ab3904 @samuelclay Adding paging on recommendations. Also moved out of profile preferen…
authored
35 'new_window' : 1,
36 'default_view' : 'page',
37 'hide_read_feeds' : 0,
f8583ad @samuelclay Django 1.3-izing everything. Moving logging back to counting everythi…
authored
38 'show_tooltips' : 1,
cc94f3f @samuelclay Double duty: Adding /rss_feeds/search_feed endpoint for discovering f…
authored
39 'feed_order' : 'ALPHABETICAL',
d318cd4 @samuelclay Adding preference for default SSL. Redirects user to https.
authored
40 'ssl' : 0,
94bac03 @samuelclay New preference: action to perform when opening a feed -- jump to eith…
authored
41 'open_feed_action' : 0,
da7e36d @samuelclay Sending html/text emails based on user input. Just need to add some v…
authored
42 'hide_story_changes' : 1,
4ab3904 @samuelclay Adding paging on recommendations. Also moved out of profile preferen…
authored
43 'feed_view_single_story' : 0,
a038d7d @samuelclay Adding pref for turning off animations. Still needs some love.
authored
44 'animations' : true,
78e7c07 @samuelclay Adding preference for always showing folder unread counts.
authored
45 'folder_counts' : false,
ed7d2bd @samuelclay Finishing up new account email. Adding migration to save email sendin…
authored
46 'send_emails' : {{ user_profile.send_emails|yesno:"true,false" }},
4ab3904 @samuelclay Adding paging on recommendations. Also moved out of profile preferen…
authored
47 'view_settings' : {},
48 'collapsed_folders' : [],
49 'story_styling' : 'sans-serif',
50 'timezone' : "{{ user_profile.timezone }}",
51 'story_share_twitter' : true,
52 'story_share_facebook' : true,
53 'story_share_readitlater' : false,
54 'story_share_instapaper' : true,
08bee1e @samuelclay Adding Send to Email button on stories.
authored
55 'story_share_readability' : false,
56 'story_share_email' : true
1e81010 @samuelclay Big new feature: locking the mouse indicator keyline. This comes with…
authored
57 };
ce932a9 @samuelclay Finishing off Google Reader OAuth synchronization. Also renamed opml_…
authored
58 NEWSBLUR.URLs = {
4ab3904 @samuelclay Adding paging on recommendations. Also moved out of profile preferen…
authored
59 'google-reader-authorize' : "{% url google-reader-authorize %}",
60 'opml-upload' : "{% url opml-upload %}",
61 'opml-export' : "{% url opml-export %}",
62 'domain' : "{% current_domain %}"
ce932a9 @samuelclay Finishing off Google Reader OAuth synchronization. Also renamed opml_…
authored
63 };
1e81010 @samuelclay Big new feature: locking the mouse indicator keyline. This comes with…
authored
64 </script>
65
d3804e3 @samuelclay JS is now complete. Need to fix css embeds.
authored
66 {% include_stylesheets "common" %}
48ba40e @samuelclay Initial
authored
67
39df085 @samuelclay Moving to asynchronous Google Analytics code. What haven't I done thi…
authored
68 {% if not debug %}
69 <script type="text/javascript">
70
71 var _gaq = _gaq || [];
72 _gaq.push(['_setAccount', 'UA-8371683-2']);
73 _gaq.push(['_trackPageview']);
74
75 (function() {
76 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
77 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
78 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
79 })();
80
81 </script>
82 {% endif %}
48ba40e @samuelclay Initial
authored
83 </head>
84
583e45f @samuelclay Adding API pages and Press pages. THe static template is now finished…
authored
85 <body class="{% block bodyclass %}{% endblock %}">
45b54a0 @samuelclay Adding Quantcast.
authored
86
1e81010 @samuelclay Big new feature: locking the mouse indicator keyline. This comes with…
authored
87 {% block header %}{% endblock %}
50a0cd9 @samuelclay Refactored dashboard to move logo and splash links out into base. Now…
authored
88
89
90 <div class="NB-splash-info NB-splash-top">
583e45f @samuelclay Adding API pages and Press pages. THe static template is now finished…
authored
91 <a href="{% url index %}"><img class="NB-splash-title" src="{{ MEDIA_URL }}/img/logo_newsblur_blur.png" /></a>
50a0cd9 @samuelclay Refactored dashboard to move logo and splash links out into base. Now…
authored
92 <ul class="NB-splash-links">
93 <li class="NB-splash-link NB-first NB-splash-link-twitter"><a href="http://twitter.com/samuelclay">@samuelclay</a></li>
94 <li class="NB-splash-link NB-first NB-splash-link-twitter"><a href="http://twitter.com/newsblur">@newsblur</a></li>
95 <li class="NB-splash-link NB-splash-link-blog"><a href="http://blog.newsblur.com">The Blog</a></li>
96 </ul>
97 </div>
98
99 <div class="NB-splash-info NB-splash-bottom">
583e45f @samuelclay Adding API pages and Press pages. THe static template is now finished…
authored
100 <a href="{% url index %}"><img class="NB-splash-title" src="{{ MEDIA_URL }}/img/logo_newsblur.png" /></a>
50a0cd9 @samuelclay Refactored dashboard to move logo and splash links out into base. Now…
authored
101 <ul class="NB-splash-links">
9f865e6 @samuelclay Adding FAQ and About pages. Privacy -> Publishers.
authored
102 <li class="NB-splash-link"><a href="{% url faq %}">FAQ</a></li>
103 <li class="NB-splash-link"><a href="{% url about %}">About</a></li>
50a0cd9 @samuelclay Refactored dashboard to move logo and splash links out into base. Now…
authored
104 <li class="NB-splash-link NB-first NB-splash-link-github"><a href="http://github.com/samuelclay">GitHub</a></li>
105 </ul>
106 <ul class="NB-splash-links NB-splash-links-2">
107 <li class="NB-splash-link"><a href="{% url api %}">API</a></li>
108 <li class="NB-splash-link"><a href="{% url press %}">Press</a></li>
b81d39d @samuelclay Using GetSatisfaction for feedback. Added authentication section to A…
authored
109 <li class="NB-splash-link NB-splash-link-getsatisfaction"><a href="https://getsatisfaction.com/newsblur">Feedback</a></li>
50a0cd9 @samuelclay Refactored dashboard to move logo and splash links out into base. Now…
authored
110 </ul>
111 </div>
112
1e81010 @samuelclay Big new feature: locking the mouse indicator keyline. This comes with…
authored
113 {% block content %}{% endblock %}
114
e2e0d1e @samuelclay Moving JS assets to bottom of the page for faster loadtimes.
authored
115 {% block head_js %}
116 {% include_javascripts "common" %}
117 {% endblock head_js %}
118 {% block extra_head_js %}
119 {% endblock extra_head_js %}
120
121 <script type="text/javascript" charset="utf-8">
122 $.extend(NEWSBLUR.Preferences, {% if user_profile.preferences %}{{ user_profile.preferences|safe }}{% else %}{}{% endif %});
123 $.extend(NEWSBLUR.Preferences['view_settings'], {% if user_profile.view_settings %}{{ user_profile.view_settings|safe }}{% else %}{}{% endif %});
124 $.extend(NEWSBLUR.Preferences['collapsed_folders'], {% if user_profile.collapsed_folders %}{{ user_profile.collapsed_folders|safe }}{% else %}[]{% endif %});
125 </script>
48ba40e @samuelclay Initial
authored
126 </body>
127 </html>
Something went wrong with that request. Please try again.