-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
146 lines (138 loc) · 6.38 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Feedqueue</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<link rel="stylesheet" href="styles/b510cf61.main.css">
<link rel="stylesheet" href="fontawesome/css/font-awesome.css">
<script src="scripts/vendor/0e15c528.modernizr.js"></script>
</head>
<body>
<div class="navbar">
<div class="navbar-inner">
<a class="brand" href="/">Feedqueue</a>
<ul class="nav pull-right">
<li>
<a href="#login" data-bind="click: login"><i class="icon-signin"></i> Login</a>
</li>
</ul>
</div>
</div>
<div class="container" data-bind="with: user, visible: user">
<div class="row">
<div class="span12">
<!--<ul class="breadcrumb">
<li>Inbox<span class="divider">/</span></li>
</ul>-->
<ul class="nav nav-tabs">
<li class="active">
<a href="#inbox" data-toggle="tab">
<i class="icon-inbox"></i>
<span class="badge" data-bind="text: inbox().count"></span>
</a>
</li>
<li>
<a href="#star" data-toggle="tab">
<i class="icon-star"></i>
</a>
</li>
<li>
<a href="#trash" data-toggle="tab">
<i class="icon-trash"></i>
</a>
</li>
<li>
<a href="#subscriptions" data-toggle="tab">
<i class="icon-rss"></i>
</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="inbox">
<ul class="nav nav-tabs nav-stacked" data-bind="foreach: inbox().items">
<li class="item" data-bind="visible: visible">
<a target="_blank" data-bind="attr:{href:article().link}, css:{linkOpened:linkOpened}, click: beforeOpenLink">
<input type="checkbox" data-bind="checked: linkOpened">
<span data-bind="text: article().title"></span>
<div class="btn-group">
<button class="btn btn-small" data-bind="click: star, clickBubble: false"><i class="icon-star"></i></button>
<button class="btn btn-small" data-bind="click: trash, clickBubble: false"><i class="icon-trash"></i></button>
<!-- <button class="btn btn-small" data-toggle="modal" data-bind="attr:{'data-target': '#item-' + firebase.name()}">read</button> -->
</div>
</a>
<!--<div class="modal hide" tabindex="-1" data-bind="attr:{id: 'item-' + firebase.name()}">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 data-bind="text: title"></h3>
</div>
<div class="modal-body" data-bind="text: content">
</div>
<div class="modal-footer">
<a href="#" class="btn">Close</a>
<a href="#" class="btn btn-primary">Save changes</a>
</div>
</div>-->
</li>
</ul>
</div>
<div class="tab-pane" id="star">
<ul class="nav nav-tabs nav-stacked" data-bind="foreach: star().items">
<li class="item">
<a target="_blank" data-bind="attr:{href:article().link}">
<span data-bind="text: article().title"></span>
<div class="btn-group">
<button class="btn btn-small" data-bind="click: trash, clickBubble: false"><i class="icon-trash"></i></button>
</div>
</a>
</li>
</ul>
</div>
<div class="tab-pane" id="trash">
<ul class="nav nav-tabs nav-stacked" data-bind="foreach: trash().items">
<li class="item">
<a target="_blank" data-bind="attr:{href:article().link}">
<span data-bind="text: article().title"></span>
<div class="btn-group">
<button class="btn btn-small" data-bind="click: inbox"><i class="icon-inbox"></i></button>
</div>
</a>
</li>
</ul>
</div>
<div class="tab-pane" id="subscriptions">
<!-- ko with: subscriptions.newItem -->
<form class="form-inline" data-bind="submit: create">
<input type="url" class="span8" data-bind="value: url">
<button type="submit" class="btn">Subscribe</button>
</form>
<!-- /ko -->
<ul class="nav nav-tabs nav-stacked" data-bind="foreach: subscriptions">
<li>
<a data-bind="text: url"></a>
</li>
</ul>
</div>
</div><!-- .tab-content -->
</div>
</div>
</div>
<!--[if lt IE 7]>
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
<![endif]-->
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<script>
var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
<script data-main="scripts/557cb6a5.main" src="components/requirejs/require.js"></script>
</body>
</html>