aboutsummaryrefslogtreecommitdiffstats
path: root/static/public.html
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2017-01-23 20:04:03 -0800
committerAdam Mathes <adam@trenchant.org>2017-01-23 20:04:03 -0800
commit93d6d36eb697cd9452eb4aab446151a1a33ed245 (patch)
treec9cb88718d03a6964f6d3705066f11d356257d37 /static/public.html
downloadneko-93d6d36eb697cd9452eb4aab446151a1a33ed245.tar.gz
neko-93d6d36eb697cd9452eb4aab446151a1a33ed245.tar.bz2
neko-93d6d36eb697cd9452eb4aab446151a1a33ed245.zip
neko v2 initial commit
Diffstat (limited to 'static/public.html')
-rw-r--r--static/public.html77
1 files changed, 77 insertions, 0 deletions
diff --git a/static/public.html b/static/public.html
new file mode 100644
index 0000000..a4ba406
--- /dev/null
+++ b/static/public.html
@@ -0,0 +1,77 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>neko rss mode</title>
+ <link rel="stylesheet" href="/static/style.css" />
+ <script src="/static/jquery.min.js"></script>
+ <script src="/static/jquery.tmpl.min.js"></script>
+ <script src="/static/underscore.min.js"></script>
+ <script src="/static/backbone.min.js"></script>
+ <script>
+ PUBLIC_VERSION = true;
+ </script>
+ <script src="/static/ui.js"></script>
+ <meta name="viewport" content="width=device-width" />
+ <meta name="viewport" content="initial-scale=1.0" />
+ </head>
+ <body>
+
+ <div id="filters">
+ <h1 class="logo">neko</h1>
+ <p style="font-size: 10px;">this is an rss aggregator</p>
+ <a href="/login/">LOGIN</a>
+
+ <h4 onclick="$('#feeds').toggle();">Feeds</h4>
+ <ul id="feeds" style="display: none;">
+ </ul>
+
+ </div>
+
+ <div id="c">
+ <div id="items">
+ </div>
+ </div>
+
+ <script id="item_template" type="text/jqtmp">
+ <h3><a target="_blank" class="i" id="i_${item_id}" href="${item.url}">${item.title }</a></h3>
+ <p class="dateline" style="clear: both;">
+ ${ item.date } from <a href="${ item.feed.web_url }">${ item.feed.title }</a>
+ </p>
+ <div class="description">{{html item.description}}</div>
+ </script>
+
+ <script id="tag_template" type="text/jqtmp">
+ ${tag.name} ${tag.unread}
+ </script>
+
+ <script id="feed_template" type="text/jqtmp">
+ <span class="txt">
+ {{if feed.title}}
+ ${feed.title}
+ {{else}}
+ ${feed.url}
+ {{/if}}
+ </span>
+
+ </script>
+
+ <script id="controls_template" type="text/jqtmp">
+ <p>
+ <a {{if app.unreadFilter}}style="font-weight: bold;"{{/if}}
+ class="unread_filter">new</a>
+ &middot;
+ <a
+ {{if app.allFilter}}style="font-weight: bold;"{{/if}}
+ class="all_filter">everything</a>
+ &middot;
+
+
+ <a {{if app.starredFilter}}style="font-weight: bold;"{{/if}}
+ class="starred_filter">starred</a>
+ </p>
+ <button class="new_feed">+ Feed</button>
+
+ </script>
+
+</body>
+</html>