This repository has been archived by the owner on Nov 12, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
113 lines (107 loc) · 4.32 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html>
<head>
<title>Tinier Tiny RSS</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="css/bootstrap.css" rel="stylesheet" media="screen">
<link href="css/ttrss.css" rel="stylesheet" media="screen">
</head>
<body>
<div class="navbar navbar-fixed-top navbar-inverse">
<div class="navbar-inner">
<a class="brand" href="/tinier-tiny-rss">Tinier Tiny RSS</a>
<ul class="nav pull-right">
<li>
<a href="#logout" class="pull-right"><i class="icon-off"></i> Logout</a>
</li>
</ul>
</div>
</div>
<div id="app">
</div>
<script type="text/html" id="login-view-tpl">
<form class="form-signin">
<h2 class="form-signin-heading">Please sign in</h2>
<input type="text" name="login" class="input-block-level" placeholder="Email address">
<input type="password" name="password" class="input-block-level" placeholder="Password">
<label class="checkbox">
<input type="checkbox" value="remember" id="remember"> Remember me
</label>
<button class="btn btn-large btn-primary">Sign in</button>
</form>
</script>
<script type="text/html" id="categories-view-tpl">
<div class="row-fluid">
<div class="span2" id="categories">
<ul class="nav nav-tabs nav-stacked">
</ul>
</div>
<div class="span9 offset2" id="feeds"></div>
</div>
</script>
<script type="text/html" id="category-view-tpl">
<div>
<button class="btn btn-link expand-category" data-cat_id="<%= id %>">
<i class="icon-plus"></i>
<i class="icon-minus"></i>
</button>
<a href="#feed/cat/view/<%= id %>">
<i class="icon-folder-close"></i>
<%= title %>
</a>
<% if (unread) { %>
<span class="badge pull-right"><%= unread %></span>
<% } %>
</div>
</script>
<script type="text/html" id="feed-view-tpl">
<a href="#feed/view/<%= id %>">
<i class="icon-tasks"></i>
<%= title.substr(0, 16) %>
<%= (title.length > 16)?'...':'' %>
<% if (unread) { %>
<span class="badge pull-right"><%= unread %></span>
<% } %>
</a>
</script>
<script type="text/html" id="article-view-tpl">
<ul>
<% for (var i = 0; i < content.length; i++) { %>
<li>
<span class="title<% if (content[i].unread) { %> unread<% } %>">
<%= content[i].title.replace(/&#([0-9]+);/, function(match, p1) { return String.fromCharCode(p1); }) %>
<span class="feed-title">(<%= content[i].feed_title %>)</span>
<a href="<%= content[i].link %>" class="link pull-right btn" target="_blank"><i class="icon-globe"></i> link</a>
</span>
<div class="article-content">
<div class="content">
<%= content[i].content %>
</div>
</div>
<div class="article-iframe"></div>
</li>
<% } %>
</ul>
</script>
<script src="http://code.jquery.com/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/underscore-min.js"></script>
<script src="js/backbone-min.js"></script>
<!--<script src="js/ttrss.js"></script>-->
<script src="js/app/models/login.js"></script>
<script src="js/app/models/category.js"></script>
<script src="js/app/models/feed.js"></script>
<script src="js/app/models/articles.js"></script>
<script src="js/app/views/login.js"></script>
<script src="js/app/views/categories.js"></script>
<script src="js/app/views/feeds.js"></script>
<script src="js/app/views/category.js"></script>
<script src="js/app/views/feed.js"></script>
<script src="js/app/views/articles.js"></script>
<script src="js/app/collections/categories.js"></script>
<script src="js/app/collections/feeds.js"></script>
<script src="js/app/router.js"></script>
<script src="js/app/application.js"></script>
</body>
</html>