-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
304 lines (288 loc) · 14.8 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>News Control</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1"/>
<!-- Le styles -->
<link href="/bootstrap/css/bootstrap.css" rel="stylesheet">
<style>
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
</style>
<link href="/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<link href="/css/style.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Fav and touch icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
<link rel="shortcut icon" href="../assets/ico/favicon.png">
</head>
<body>
<!-- Login Modal -->
<div id="loginModal" class="modal hide fade" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-header">
<h3>You are not logged in</h3>
</div>
<div class="modal-body">
<div class="hero">
<a class="btn btn-primary btn-large pull-right" href="/login">Login</a>
</div>
</div>
</div>
<!-- Invite Modal -->
<div id="inviteModal" class="modal hide fade" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>Invite another user</h3>
</div>
<div class="modal-body">
<input type="text" name="email" />
</div>
<div class="modal-footer">
<button class="btn btn-primary" data-dismiss="modal">Send invitation email</button>
</div>
</div>
<!-- Error Modal -->
<div id="errorModal" class="modal hide fade" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">An error has occurred</h3>
<p>But don't worry, below are the error codes. Give this to the IT crowd.</p>
</div>
<div class="modal-body">
<p class="message"></p>
</div>
<div class="modal-footer">
<button class="btn btn-primary" data-dismiss="modal">Close</button>
</div>
</div>
<!-- Information Modal -->
<div id="infoModal" class="modal hide fade" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Information</h3>
</div>
<div class="modal-body">
<p class="message"></p>
</div>
<div class="modal-footer">
<button class="btn btn-primary" data-dismiss="modal">Close</button>
</div>
</div>
<!-- Unauthorized Modal -->
<div id="unauthorizedModal" class="modal hide fade" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-header">
<h3 id="myModalLabel">Information</h3>
</div>
<div class="modal-body">
<p class="message">You are not authorized.</p>
</div>
<div class="modal-footer">
<a class="btn btn-primary" href="/logout">Logout</a>
</div>
</div>
<!-- Nickname Modal -->
<div id="nicknameModal" class="modal hide fade" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Change nickname:</h3>
</div>
<div class="modal-body">
<p class="alert alert-block">
<strong>Warning:</strong><br />
Changing nickname will change the url to your published feed!
You can always see the urls for the different tags under <a href="#" class="tag-link" data-dismiss="modal">Tags</a>.
</p>
<input type="text" class="input input-medium nickname" placeholder="Nickname" />
</div>
<div class="modal-footer">
<button class="btn pull-left" data-dismiss="modal">Close</button>
<button class="btn btn-primary pull-right save" data-dismiss="modal">Save & Close</button>
</div>
</div>
<!-- Navbar -->
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<div class="nav-collapse collapse">
<ul class="nav tabs">
<li class="news"><a rel="news" href="#">News</a></li>
<li class="feeds"><a rel="feeds" href="#">Feeds</a></li>
<li class="tags"><a rel="tags" href="#">Tags</a></li>
<li class="all"><a rel="all" href="#">All</a></li>
</ul>
<ul class="nav pull-right">
<li class="divider-vertical"></li>
<li class="dropdown user">
<a href="#" data-toggle="dropdown" class="dropdown-toggle navbar-link">
<i class="icon-user"></i>
<span class="username">Username</span>
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="#" class="change-nickname">Change nickname</a></li>
<li class="invite"><a href="#" class="invite-user">Invite user</a></li>
<li class="divider"></li>
<li><a href="/logout">Log out</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="container">
<p class="status alert" style="display:none;"></p>
<!-- News -->
<div id="news">
<div class="well clearfix sort-filter">
<div class="pull-left filter">
<span class="filter-label">Filter:</span>
<select class="sorting-tags input-medium">
<option>All tags</option>
</select>
<select class="sorting-language input-medium">
<option value="all">All languages</option>
<option value="en">English</option>
<option value="dk">Danish</option>
</select>
</div>
<div class="pull-right sort">
<span class="sorting-label">Sorting:</span>
<select class="sorting input-medium">
<option value="date">Date</option>
<option value="title">Title</option>
</select>
<select class="sorting-order input-medium">
<option value="asc">Ascending</option>
<option value="desc" selected="selected">Descending</option>
</select>
</div>
<div class="input-append pull-right hidden">
<input class="input-large" type="search" placeholder="Search entries" />
<button class="btn" type="button"><i class="icon-search"></i></button>
</div>
</div>
<ul class="entry-list unstyled">
<li class="template entry media">
<img class="media-object feed-logo pull-left" src="http://lorempixel.com/64/64/cats" />
<div class="media-body span8">
<h4 class="media-heading title pointer">Title title title</h4>
<p class="media-subheader muted"><a class="muted url" href="http://blog.youtify.com/">blog.youtify.com</a></p>
<p class="content">Content content content content content content content</p>
<p class="tags">
<input class="input input-small input-low tag" type="text" placeholder="Enter tag" data-provide="typeahead" autocomplete="off" />
</p>
<p class="share">
<a href="#" class="facebook"><img src="/img/facebook.png"></a>
<a href="#" class="twitter"><img src="/img/twitter.png"></a>
<a href="#" class="mail"><img src="/img/mail.png"></a>
</p>
</div>
<a class="btn publish pull-right span2"><i class="icon-plus"></i> Publish</a>
<a class="btn unpublish pull-right span2"><i class="icon-minus"></i> Unpublish</a>
</li>
</ul>
</div>
<!-- Feeds -->
<div id="feeds">
<div class="add clearfix well">
<div class="input-append pull-right">
<input class="input-xlarge" placeholder="http://url-to-an-rss-feed.rss" type="text" name="url" />
<button class="inline btn add">Add</button>
</div>
</div>
<ul class="feeds-list unstyled">
<li class="template feed media">
<a class="pull-left" href="#">
<img class="media-object feed-logo" src="/img/rss-placeholder.png" />
</a>
<div class="media-body span8">
<h4 class="media-heading title">Feed heading</h4>
<a class="url" href="http://thefeedurl.com">http://thefeedurl.com</a>
<select class="language input-medium span2" style="display: block;">
<option value="none">Language</option>
<option value="en">English</option>
<option value="dk">Danish</option>
</select>
</div>
<a class="btn remove pull-right span2 btn-danger">Remove</a>
</li>
</ul>
</div>
<!-- Tags -->
<div id="tags">
<div class="add clearfix well">
<div class="input-append pull-right">
<input class="input-xlarge" placeholder="Tag name" type="text" name="title" />
<button class="inline btn add disabled" disabled="disabled">Add</button>
</div>
</div>
<ul class="tags-list unstyled">
<li class="template tag row">
<div class="title-container">
<h4 class="title pull-left">Title</h4>
<span class="badge badge-info pull-left">1</span>
<a href="#"class="pull-left feed-link">http://www.newscontrol.com/user/tag.rss</a>
</div>
<div class="title-edit pull-left input-append">
<input class="input-large" type="text" placeholder="Tag name" name="title" />
<button class="btn save btn-primary"><i class="icon-ok icon-white"></i></button>
</div>
<a class="btn delete pull-right span1 btn-danger">Delete</a>
<a class="btn edit pull-right span1 btn-info">Edit</a>
</li>
</ul>
</div>
<!-- All -->
<div id="all">
<ul>
</ul>
</div>
</div>
<!-- /container -->
<div class="loading-bar">
<div class="progress progress-striped">
<div class="bar" style="width: 20%;"></div>
</div>
</div>
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="/js/jquery-2.0.3.min.js"></script>
<script src="/bootstrap/js/bootstrap.min.js"></script>
<script src="/js/Utils.js"></script>
<script src="/js/LoadingBar.js"></script>
<script src="/js/Modal.js"></script>
<script src="/js/HTML.js"></script>
<script src="/js/User.js"></script>
<script src="/js/News.js"></script>
<script src="/js/Feeds.js"></script>
<script src="/js/Tags.js"></script>
<script src="/js/All.js"></script>
<script src="/js/TopBar.js"></script>
<script src="/js/ShareButtons.js"></script>
<script src="/js/NewsControl.js"></script>
<script>
window.newsControl = new NewsControl();
$(document).ready(function() {
newsControl.init();
});
</script>
</body>
</html>