-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (43 loc) · 1.39 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
<!DOCTYPE html>
<html>
<head>
<title>Cincy Tweets</title>
<script src='javascript/jquery-1.5.js' type="text/javascript"></script>
<script src='javascript/underscore.js' type="text/javascript"></script>
<script src='javascript/backbone.js' type="text/javascript"></script>
<script src='javascript/application.js' type="text/javascript"></script>
<link type='text/css' rel='stylesheet' href='css/screen.css' />
</head>
<body>
<!-- tweet App Interface -->
<div id="tweetapp">
<div class="title">
<h1 id="tweet-stats">Cincy Tweets</h1>
</div>
<div class="content">
<div id="tweets">
<ul id="tweet-list"></ul>
</div>
<div id="map">
</div>
</div>
<p id="credits"><a href="http://documentcloud.github.com/backbone/examples/todos/index.html">todos.js</a> by <a href="http://jgn.me/">Jérôme Gravel-Niquet</a></div>
</div>
<!-- Templates -->
<script type="text/template" id="tweet-template">
<div class="tweet">
<div class="tweet-content"></div>
<span class="user"></span>
<span class="timestamp"></span>
</div>
</script>
<script type="text/template" id="stats-template">
<% if (total) { %>
<span class="tweet-count">
<span class="number"><%= total %></span>
<span class="word"><%= total == 1 ? 'tweet' : 'tweets' %></span>.
</span>
<% } %>
</script>
</body>
</html>